Register / Login
Win a copy of
Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Java Micro Edition
J2ME Polish - Pb while trying to test polish samples
posted 11 years ago
I m trying to launch the sample included with j2me polish, but i don't manage to run it.
I have that pb:
init: j2mepolish: [j2mepolish] J2ME Polish 1.2.4 [j2mepolish] Processing  devices... [j2mepolish] Building application for [Generic/midp1] (1/5): [j2mepolish] Using locale [de_DE]... [j2mepolish] preprocessing for device [Generic/midp1]. [j2mepolish] compiling for device [Generic/midp1]. [j2mepolish-javac-Generic/midp1] Compiling 72 source files to C:\local\workspace\samples\build\real\Generic\midp1\de_DE\classes [j2mepolish] An internal class of J2ME Polish could not be compiled. Please try a clean rebuild by either calling "ant clean j2mepolish" or by removing the working directory "C:\local\workspace\samples\build\real". [j2mepolish] When an API-class was not found, you might need to define where to find the device-APIs. Following classpath has been used: . BUILD FAILED C:\local\workspace\samples\build.xml:85: Unable to compile source code for device [Generic/midp1]: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK
First I checked the classpath and it seems that the jdk is welldefined.
So i don't see why it doesnt find the javac compiler.
I use Eclipse 3.0
Could you help me cause I allready checked my classpath and folder and don't find what could be wrong
[ April 25, 2006: Message edited by: Kim Prescott ]
posted 11 years ago
my pb is solved.
i had forgot to define the tools.jar in the
Boost this thread!
For j2me polish Urgent Help
J2me Polish error: internal classes could not be compiled.
Warning: unable to start the emulator
J2ME Polish - Problems with CLDC 1.1 Libraries
Polish and importing