Hi, You have to put the absolute path of the bin directory (in my case "C:\Archivos de programa\Java\jdk1.5.0\bin") in an environment varible called "path"; In windows have to check the system32 directory, if there are java.exe and javac.exe you have to move out them.
Joined: Apr 04, 2006
Hi Mike / Satou ,
I tried doing as told by you... But it didnt work out.
I moved java.exe , javaw.exe , javaws.exe from system32 folder and added an entry for PATH variable as C:\Program Files\Java\jdk1.5\bin
and then i went to cmd again and tried. Still its 1.4
You most likely need to put the new path pointing to the Java 1.5 JDK at the front of your PATH variable. I've seen a similar problem before when another program I've installed has modified my PATH for me and over-ridden the JDK that I had specified.
In short, your system will use the first JDK it finds in your PATH. So if you have