Home arrow static arrow Java Programming [Archive] - Invalid path error
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Invalid path error
This topic has 3 replies on 1 page.

Posts:13
Registered: 5/3/04
Invalid path error  
Aug 3, 2004 4:41 AM



 
Error : Invalid path, \bin\javac.exe -classpath "C:\Documents and Settings\Sean Flynn\Desktop" -d "C:\Documents and Settings\Sean Flynn\Desktop" "C:\Documents and Settings\Sean Flynn\Desktop\MD5.java"

Process completed.

I cannot execute the MD5 algorithm program as i am getting the above error, any suggestions?
 

Posts:19,725
Registered: 9/26/01
Re: Invalid path error  
Aug 3, 2004 4:52 AM (reply 1 of 3)



 
\bin\javac.exe
I bet you don't have javac.exe in your \bin directory (off the root of your hard drive), for one thing.
 

Posts:13
Registered: 5/3/04
Re: Invalid path error  
Aug 3, 2004 6:00 AM (reply 2 of 3)



 
where can i find the bin directory on my root hard drive?
 

Posts:19,725
Registered: 9/26/01
Re: Invalid path error  
Aug 3, 2004 6:04 AM (reply 3 of 3)



 
where can i find the bin directory on my root hard
drive?

javac.exe is in whatever folder you installed it to (assuming you did indeed install it), of course. So why are you asking "us"? Likely you installed it into something like \j2sdk1.4.2, so it would be in \j2sdk1.4.2\bin, not just plain ol' "\bin". However, you should have also added that directory to your PATH, so you shouldn't have to explicitly reference a directory at all.
Start here, if you didn't already:
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/
 
This topic has 3 replies on 1 page.