Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set multiple CLASSPATH?

 
Gary kwlai
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are the syntax to set multiple classpath?

I need to use the java ones and weka.jar

thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gary,
At the command line, you separate them with a delimiter. Semicolon on Windiows; colon on other OS.
 
Gary kwlai
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forgot to mention, what is the path I need to type in to set the classpath under Vista if I want to use java or javac ? I am using the latest version of JDK
 
Campbell Ritchie
Sheriff
Pie
Posts: 50225
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to explore your C: drive. Try C->Program Files->Java->jdk1.6.0_something->bin, and you shoudl find about 30 programs including javac.exe, java.exe, appletviewer.exe, etc. Then you write down all the names of the folders starting with C and ending with bin, something like
C:\Program Files\java\jdk1.6.0_12\bin

And that is the path element you need.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic