0
votes

I´m trying to start developing with Codename One, I´ve already download the Codename One plugin for eclipse and it was successfuly installed. The problem is that I can´t compile, I create a basic Codename One project (like the hello world one) and when I run test, the Build failes. It says something about the version of the CLDC.jar and the jre version, but I tried with java 1.5, 1.6 and 1.7 and the same build error appears. Should I change something in the build.xml ?

Thanks in advance

2

2 Answers

1
votes

1)Make sure your plugin is up to date. 2)Make sure you have jdk installed not jre.

-1
votes

This is already solved by copying C:\Program Files\Java\jdk1.6.0_24\lib\tools.jar to C:\Program Files\Java\jre6\lib\ext