• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is J2SDK 1.4.2_08 the same as JDK 5.0 Update 2?

 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed J2SDK 1.4.2_08 into my brand new laptop and tried to install JDK 5.0 Update 2 that was recently available. I downloaded both of them yesterday. But when I tried to install JDK 5.0 Update 2, it says that the exact version has been installed before and the JDK 5.0 Update 2 cannot be installed.

I just would like to know why J2SDK 1.4.2_08 got the same version as JDK 5.0 Update 2. Could anyone explain about this? Or is Sun trying to let people download the JDK 5.0 only?
 
Jeff Bosch
Ranch Hand
Posts: 805
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was it the JDK or the JVM that was the exact same version? If you bought a brand-new laptop, it may have JVM 1.5.x installed.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeff Bosch:
Was it the JDK or the JVM that was the exact same version?

It is the JDK. After I installed that j2sdk1.4.2_08, I can't install JDK 5.0 anymore.

If you bought a brand-new laptop, it may have JVM 1.5.x installed.

I didn't notice that before.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Might be there are some overlapping on some of the library, and thus, you can make the updates.

Simply uninstall JDK 1.4.2_08, check whether the registry is empty, and reinstall JDK Tiger Update 2.

Nick
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nicholas Cheung:
Might be there are some overlapping on some of the library, and thus, you can make the updates.

Simply uninstall JDK 1.4.2_08, check whether the registry is empty, and reinstall JDK Tiger Update 2.

Nick


No Nick. I want both of them to be in my machine. Both 1.4 and 5.0.
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have both JDK 1.4.2_08 and 1.5.0_01 installed on my system. I also note that in Program Files I have JRE 1.4.2_08 and JRE 1.5.0, _01, and _02 installed. The JREs I assume are the result of installing the Java Plugin while the first two I mentioned are from installing the full JDKs.

So, first make note of exactly what you're trying to install: JDK or JRE. Then, double-check where they're being installed. The error message makes it sound like you already have JRE 1.5.0_02 installed, and it's refusing to write over it.

Looking further, all of these show up in Add/Remove Programs control panel but under differing naming schemes. The 1.5 (aka 5.0) ones show up as "J2SE Development Kit 5.0" and "J2SE Runtime Environment 5.0" while the 1.4 ones are "Java 2 SDK, SE v1.4.2_08" and "Java 2 Runtime Environment, SE v1.4.2_08".

To verify, you can execute "javac -version" and "java -version" with a fully-specified path to the javac/java executable.Strangely enough, the updates (1 and 2) seem to be full installations and not updates at all. I'm not so daring as to try uninstalling the prior versions, however.
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ko Ko,

I've just managed to successfully install both JDK 1.4.2_08 & JDK 5.0_02 on my machine. I'm running on Windows 2000 Professional, SP 4. Intel P4 machine. Didn't encounter any of the issues you mentioned.

I seriously doubt Sun would go to the extend that you were thinking of - forcing people to use Tiger. But I quite dislike the fact that I've to download an application server just to get my J2EE 1.4 jar files.

BTW, I have installed 1.4 prior to 5.0. Both JDK & JRE.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm, maybe the Windows XP Professional, SP2 that is coming along with the laptop originally installed J2SDK 1.5.0_02 for me. The thing is that I didn't know whether there was already a J2SDK installed in my laptop.

I think I should uninstall both and try to install 1.4.2_08 again to see if the case is still the same or not.

Thanks a lot guys, for your great suggestions and opinions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic