File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Is J2SDK 1.4.2_08 the same as JDK 5.0 Update 2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is J2SDK 1.4.2_08 the same as JDK 5.0 Update 2?" Watch "Is J2SDK 1.4.2_08 the same as JDK 5.0 Update 2?" New topic
Author

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

Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
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?


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
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.


Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
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

Joined: Nov 07, 2003
Posts: 4982
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


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
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

Joined: Aug 07, 2003
Posts: 1646
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

Joined: Apr 02, 2004
Posts: 884
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.


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is J2SDK 1.4.2_08 the same as JDK 5.0 Update 2?