What is your PATH environment variable set to? Are you sure you do not have Java 1.3 installed somewhere?
Do you have Oracle database client software installed? Older versions of the Oracle client software installed a Java 1.3 JDK along. Make sure the bin directory of your Java 6 JDK is in the PATH before any other Java installations on your system.
Rob: In my experience that doesn't always work correctly, in some versions of Windows (?) it might set PATH before it sets JAVA_HOME, and then you'd have a literal "%JAVA_HOME%" in your path instead of the real path.
I've used this on several versions, including 32-bit Windows XP SP3 and both 32-bit and 64-bit Windows Server 2003 R2 SP2, and it has worked on all so far.
Arun raghvan
Ranch Hand
Joined: Aug 22, 2010
Posts: 75
posted
0
So why do we use classpath?? ...i'm am able to run the program ! but some specify to use class path can i know . why?
The classpath is what Java uses to determine where to look for classes.
Arun raghvan
Ranch Hand
Joined: Aug 22, 2010
Posts: 75
posted
0
But i never assigned value for classpath but ...i can execute in different directory.How is that so?
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32712
4
posted
0
If there is no system or user classpath, the JVM looks in the current directory. It is like having a default classpath of . which would be overwritten by a system classpath.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.