Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Help with CLASSPATH variable please

Hi everyone!! :WAVE:

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!! :D
[779 byte] By [Atreo] at [2007-11-11 7:38:09]
# 1 Re: Help with CLASSPATH variable please
The CLASSPATH variable is asking where to look for your compiled programs. It will be a directory name.
srekcus at 2007-11-11 22:37:44 >
# 2 Re: Help with CLASSPATH variable please
Try this one :

C:\Program Files\Java\jdk1.5.0_06\bin;C:\Program Files\Java\jdk1.5.0_06\lib;
sandeepkk2005 at 2007-11-11 22:38:44 >
# 3 Re: Help with CLASSPATH variable please
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).

Try setting classpath to C:\Program Files\Java\jdk1.5.0_06\lib;.
aniseed at 2007-11-11 22:39:48 >
# 4 Re: Help with CLASSPATH variable please
Hi there!!

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?
Atreo at 2007-11-11 22:40:54 >
# 5 Re: Help with CLASSPATH variable please
How are you trying to invoke the compiler? Are you using a DOS window?
nspils at 2007-11-11 22:41:47 >
# 6 Re: Help with CLASSPATH variable please
I think the best way is to use jcreator LE(free),Yon can config the classpath from GUI.

java email verify
jetbrains at 2007-11-11 22:42:57 >