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 to Javac not found!
[echo] Make sure the JAVA_HOME enviroment variable is pointing to the JDK
[echo] or define javac path in build.xml manually!
I added JRE reference to the project, but this didn't solve the issue. How can I solve it?