Your classpath is wrong. It should point to the tools.jar file in your jdk directory. When you do this MAKE SURE that you add a period to the end of tools.jar like so:
tools.jar.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
tools.jar doesn't need to be (in fact shouldn't be) on the classpath.
What is missing from the classpath is the current directory ('.'). On older machines running Windows 9x that's no problem, on NT based and Unix based operating systems it's required.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
tools.jar doesn't need to be (in fact shouldn't be) on the classpath.
Really? I've never been tought different, nor known different...Could you explain?
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
tools.jar is used internally by the JVM (like rt.jar). It knows where to find it as it knows where to find itself.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
But what should the classpath be pointing to then?
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
to the current directory (.) and any OPTIONAL libraries (so anything not included in the JVM installation itself).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
There is an error in the classpath you have specified. You have a '\' after QTJava.zip, you need a ';' (semi colon) there.
Like this:
C:\WINDOWS\System32\QTJava.zip;C:\j2sdk1.4.0\bin\;%CLASSPATH%;
Kate Albany
Junior Poster in Training
71 posts since Jun 2005
Reputation Points: 10
Solved Threads: 1