| Author |
Set multiple CLASSPATH?
|
Gary kwlai
Greenhorn
Joined: Dec 24, 2008
Posts: 12
|
|
what are the syntax to set multiple classpath?
I need to use the java ones and weka.jar
thanks
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26168
|
|
Gary,
At the command line, you separate them with a delimiter. Semicolon on Windiows; colon on other OS.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Gary kwlai
Greenhorn
Joined: Dec 24, 2008
Posts: 12
|
|
|
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
Joined: Oct 13, 2005
Posts: 32611
|
|
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.
|
 |
 |
|
|
subject: Set multiple CLASSPATH?
|
|
|