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?
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.
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.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Is J2SDK 1.4.2_08 the same as JDK 5.0 Update 2?