Skip to content Skip to sidebar Skip to footer

Codenameone :"path To Javac Not Found" Error

I start working with CodenameOne tool for multiplatform mobile dev. When I created 'hello world' app and tried to build an .apk android file, I received [echo] Error! Path

Solution 1:

Codename One needs to use the actual javac compiler and not ADT since some of our server code has some issues with ADT.

The JRE doesn't contain javac, you need to install a JDK (if you don't have one already) then make sure your OS defines the JAVA_HOME environment variable so it points at the root of the JDK dir (not the bin directory).

If this doesn't work (you might need to restart Eclipse to update environment within the process), then just double click the build.xml file and look for jdk. Update the path to the proper JDK path.

Post a Comment for "Codenameone :"path To Javac Not Found" Error"