I downloaded and installed the Sun Java Toolkit 1.0 for CDC. I can build and run the examples with no problem.
When I create my own project -- either by using the Create from Example option or the Create a New Project from Scratch option, I consistently receive this error message:
C:\CDCTK10\apps\JillianGolfHandset\nbproject\build-impl.xml:295: The following error occurred while executing this line:
C:\CDCTK10\apps\JillianGolfHandset\nbproject\build-impl.xml:148: 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
BUILD FAILED (total time: 0 seconds)
Unfortunately, I'm not an Ant jock.
I'd like to go fiddling with the JAVA_HOME environmental variable on my system, but something tells me I shouldn't have to touch it; why would the examples work if JAVA_HOME weren't set properly?
Thanks for the rapid reply, MRaj! Hope you're having a sunny day over there in Bangalore!
I tried doing what you suggested, but I see a few problems with it:
1. I have no jdk at the location you listed.
2. I can't a jdk ANYWHERE!! What's my Eclipse using? How can I find out what it's using? How could it compile a program if it has no jdk?
3. The next thing I'm going to try doing is downloading and installing the jdk, but in the meantime, I'd love to have an answer to #2 if you know it.
Welcome to the forum. Please don't post in threads that are long dead and don't hijack other threads. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.