This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi everyone. According to my list of "removable programs" in Win98, I've got both versions 1.3_1 and 1.4_5 of the JRE installed on my machine. When I type java -version from the command line, it tells me that I'm using version 1.3. Is there a way to switch between the two, or do I have to actually un-install version 1.3 in order to make version 1.4 "active"?? The reason I ask is because I'm trying to run a game that requires version 1.4. Thanks!!
Chances are you have a system PATH issue. if you type echo %path% at the command prompt, see which java/bin folder you have in there. I bet it is 1.3. For a quick fix, just run the "java" command with an absolute path: c:\pathtojava\bin\java classfile Or you can adjust your path to point to the 1.4 version. It's been too long for me and win98 so I don't remember how to change the path.
You simply need to adjust your path variables in your autobat startup file. Make sure you have the JRE 1.4 in the path instead of the current 1.3. Also note that windows comes with java in the system or the system32 directory. If you rename this file to java.old it will use your runtime in your path. I hope this helps you out. I believe you can access your startup files with either the sysedit command or type msconfig. Good luck.