This content has been marked as final. Show 6 replies
use this path to set environment variable in user variable for administrator.
Let me know the error if it doesn`t workout.
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.
Thanks for the help!
I had the JDK installed and the JAVA_HOME set correctly to point to the JDK but it still gave the same error.
As I'm using Windows, I thought the problem may have been the spaces in the JAVA_HOME path, so I changed it to the old DOS style path e.g with the ~1. But that didn't work
Someone else suggested adding the JDK bin to the PATH, so I did that, but it didn't fix the problem.
Doing a search on the web, someone else using ANT had a similar problem, though not with the CDC, and added the tools.jar to the classpath
So I tried adding tool.jar to the classpath, and it worked !!
There is probably a better solution, but I couldn't find it, so I'll stick with this one until someone comes up with a better fix
Thanks for the help, SeventhSynergy!
Tell me one thing please, where did you found a good tutorial to develop in CDC and if you can tell me where I can get it with AGUI suport?
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.
I'm locking this thread now.