Help with CLASSPATH variable please
Please, help to set up my classpath variable. I know I know I have guidelines in API but I don't achieve it, I'm so clumsy.
I've formated my hard disk and installed everything again, but the classpath is wrong because I can't compile my java files.
I've tried with this:
C:\Program Files\Java\jdk1.5.0_06\scr.zip;C:\Program Files\Java\jdk1.5.0_06\javac.exe;C:\Program Files\Java\jdk1.5.0_06\java.exe
I've also tried with the same lines but unnaming files (finishing with '\')
What am I doing wrong?
Thank you very much for your attention and help.
Merry Christmas and Happy New Year!!
And I hope the Three Wise Men bring you everythin!!
The CLASSPATH variable is asking where to look for your compiled programs. It will be a directory name.
Try this one :
C:\Program Files\Java\jdk1.5.0_06\bin;C:\Program Files\Java\jdk1.5.0_06\lib;
You don't need the bin directory in the classpath and you should not have a semicolon at the end (it gives some problems).
Originally Posted by sandeepkk2005
Try setting classpath to C:\Program Files\Java\jdk1.5.0_06\lib;.
Happiness is good health and a bad memory.
First of all, THANK YOU VERY MUCH for answering.
The thing is that none of the suggestions worked and I don't know why. This is becoming in the typical annoying fly...
Any other suggestion? Maybe I have to install something else?
How are you trying to invoke the compiler? Are you using a DOS window?
I think the best way is to use jcreator LE(free),Yon can config the classpath from GUI.
java email verify
Last Post: 06-15-2002, 10:03 AM
By Lymarie in forum Database
Last Post: 04-02-2001, 11:16 AM
By Larry Hunter in forum Database
Last Post: 03-18-2001, 11:31 PM
Last Post: 02-10-2001, 09:24 AM
By mrfelis in forum VB Classic
Last Post: 04-25-2000, 11:08 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL