JVM question
+ 
|-+  Community» Chill Out» JVM question
Username:
Password:
Pages: [1]   Go Down
  Print  
Author Topic: JVM question  (Read 607 times)
godlovesmaggots
Writer
Hero Member
****
Posts: 2968


I should write something witty here....


WWW
« on: January 27, 2007, 02:29:45 PM »

I'm essentially clueless when it comes to Java. Can anyone tell me how to install a more recent version of the JVM? (I'm apparently at version 1.3.1_01 currently.)

I went to here and downloaded and installed (after removing my existing JRE) the file listed under "J2SE v 1.4.2_13 JRE includes the JVM technology" (j2re-1_4_2_13-windows-i586-p.exe). But I seem to still be at v1.3 of the JVM.

Can anybody more knowledgeable than me (which includes most everybody) tell me how to do this? Huh
Logged

Two people drift in a lifeboat. One says, "I see an island. Our best chance is to go ashore, build a shelter, and await rescue." The others says, "No, we must go farther out to sea and hope to find the shipping lanes." Unable to agree, the two fight, the lifeboat capsizes, and they drown.
HELDbyWILL
Sr. Member
****
Posts: 987


« Reply #1 on: January 27, 2007, 06:56:16 PM »

Hey man - Im a java developer by trade, have been for about 8 years now.  I can help you out. 

What you want is to go here:  http://java.sun.com/javase/downloads/index_jdk5.jsp

Download the third one down - JDK 5.0 Update 10

Uninstall the other one, install this one.  Drop to dos prompt and type java -version .  You should see 1.5.0_10.

let me know if that helps you.

- - Dan

Logged
godlovesmaggots
Writer
Hero Member
****
Posts: 2968


I should write something witty here....


WWW
« Reply #2 on: January 27, 2007, 09:00:39 PM »

Dan,

Thanks for your reply. I went to "Add/Remove Programs" and removed the following two entries:

J2SE Runtime Environment 5.0 Update 10
J2SE Runtime Environment 5.0 Update 7

I installed the 5.0 Update 7 as part of the "launcher" program for Rapid Evolution. After I rebooted, I was prompted about loading Update 10.

After I uninstalled both of these and rebooted, I did the "java -version" thing and still got this:

C:\Documents and Settings\jcbaker>java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

I went ahead and installed the file that you mentioned in your reply. (I thought maybe the JDK might do what the JRE didn't seem to be doing for me.) I still get the same thing when I look at the version.

Is there something else that I need to uninstall? Once I uninstalled the two J2SE entries, I would've thought that the "java -version" wouldn't have worked.
Logged

Two people drift in a lifeboat. One says, "I see an island. Our best chance is to go ashore, build a shelter, and await rescue." The others says, "No, we must go farther out to sea and hope to find the shipping lanes." Unable to agree, the two fight, the lifeboat capsizes, and they drown.
HELDbyWILL
Sr. Member
****
Posts: 987


« Reply #3 on: January 27, 2007, 11:17:22 PM »

Ok - this should be pretty easy to track down then. Something you have run in the past must have either installed a shortcut or installed a custom java executeable somewhere.  Here is how we track it down and get rid of it.

1)  Open a DOS prompt and type:

echo %PATH%

This will list out a bunch of directories that are in your path and can be run.  Can you paste that here?  Youll either see one of two things here.  1)  Youll see a path to an old JDK in your path.  or .. 2)  You wont see anything except a few standard directories.

What we do next depends on what you see :0  Let me know!

- - Dan
Logged
godlovesmaggots
Writer
Hero Member
****
Posts: 2968


I should write something witty here....


WWW
« Reply #4 on: January 28, 2007, 08:18:48 AM »

That found it! I have the client software for Oracle on this laptop. That installation includes JRE 1.3.1. The installed products window for Oracle lists JREs 1.1.8 and 1.3.1. I'll try de-installing those. If I breaks Oracle, I'll just rip everything out tomorrow and re-install Oracle.

Thanks for your help, Dan! I'll let you know how things work out. Grin
Logged

Two people drift in a lifeboat. One says, "I see an island. Our best chance is to go ashore, build a shelter, and await rescue." The others says, "No, we must go farther out to sea and hope to find the shipping lanes." Unable to agree, the two fight, the lifeboat capsizes, and they drown.
godlovesmaggots
Writer
Hero Member
****
Posts: 2968


I should write something witty here....


WWW
« Reply #5 on: January 28, 2007, 09:01:17 AM »

After I posted, I had a less invasive idea: I simply changed the JRE entry in the PATH to point to the new version. So far, that seems to be working. If it turns out that it broke anything with Oracle, I can always change the PATH back.

Thanks, Dan! I would not have thought to look at the PATH.
Logged

Two people drift in a lifeboat. One says, "I see an island. Our best chance is to go ashore, build a shelter, and await rescue." The others says, "No, we must go farther out to sea and hope to find the shipping lanes." Unable to agree, the two fight, the lifeboat capsizes, and they drown.
HELDbyWILL
Sr. Member
****
Posts: 987


« Reply #6 on: January 28, 2007, 06:42:49 PM »

No problem, I was just going to suggest adding the new JDK to the path depending on what was in it, but ... I wanted to actually fix it right for you so it didnt bite you in the rear later on.

Glad you got it working Smiley
Logged
Pages: [1]   Go Up
  Print  

 
Jump to: