Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid path, HELP

Status
Not open for further replies.

samirjan

Programmer
Joined
Sep 25, 2004
Messages
6
Location
NL
Hi,

I am not so good at programming and and that is why i encountered a problem while compiling my JAVA program.

I use JCreator and i set the path as following: PATH= C:\j2sdk1.4.2_06\bin.
the ERROR is :
Error : Invalid path, \bin\javac.exe -classpath "C:\Documents and Settings\bla\Desktop" -d "C:\Documents and Settings\bla\Desktop" "C:\Documents and Settings\bla\Desktop\BubbleSort.java"

Can anyone help me with this,What am doing wrong?

Thank you in advance.
 
Well, It didnt help putting a quote around it.

I get the same error.

What do you mean it shouldnt be blank?

I have PATH= "C:\j2sdk1.4.2_06\bin" and i get the same error as earlier.

Can anyone help me, please.

thanx in advance
 
As stefan says, you have a space between the '=' and the path name.

Change :

PATH= "C:\j2sdk1.4.2_06\bin"

to

PATH="C:\j2sdk1.4.2_06\bin";

--------------------------------------------------
Free Database Connection Pooling Software
 
If you set that classpath, you don't need \bin to call javac, just use javac. Furthermore, \bin means c:\bin

Cheers.

Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top