• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Path error (Invalid Path)

 
Alex Lemberg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After I changed the "initial folder" entry in the textpad configuration options for the "compile java" operation, I recieved the following error.

-d . -classpath "c:\program files\java\jdk1.6.0_03\;.;c:\program files\java\jdk1.6.0_03\karel\KarelJRobot.jar"
G:\AlexGridWorld\projects\KingCrab\KingCrab.java contains an invalid path

what does this mean, and how can I fix it?

Thanks,
-Alex
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means that one of these is wrong:

From the view of the operating system.

See if you can figure out which one it is.
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The quotes are incorrect. You don't need to quote the entire classpath, only individual paths that contain spaces:

-d . -classpath "c:\program files\java\jdk1.6.0_03\";.;"c:\program files\java\jdk1.6.0_03\karel\KarelJRobot.jar"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic