This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I think it does have to do with registry settings, but I'm rusty with the issues. Do you really need both versions on your computer? If no one else gives you better advice, I'd recommend uninstalling both. Then installing 1.4 first, and 1.3 second (only if needed). --Mark
Check your PATH (not CLASSPATH) environment variable with echo %PATH%. See if the 1.3.0 compiler bin directory is before the c:\j2sdk1.4.1_02\bin directory. If it is, then remove it. It's a good idea to have a JAVA_HOME variable set to C:\j2sdk1.4.1_02 and use it in both your PATH and CLASSPATH.
Thanks for the replies. I needed j2sdk1.4.1 for testing purpose and since my version of Netbeans IDE doesn't run without jdk1.3 I had to retain the older version too. My Classpath and Path env.variables do not contain any reference to the old JDK. Anyway, I do agree it's not logical to have both the versions on my machine. I was just curious to know why such result should come (see my first post in this thread). And how the versions were being judged..I am still sure this must be the registry thing.
Joined: Aug 03, 2002
You could search for all the java.exe files and see whether their directories are on the PATH. If you put the %JAVA_HOME%\bin (JAVA_HOME = c:\j2sdk1.4.1_02) in the front of your PATH that should at least enable the correct executables to be used. -Cheers Barry [ March 31, 2003: Message edited by: Barry Gaunt ]