This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes JDK1.5 on 64 bit windows XP machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JDK1.5 on 64 bit windows XP machine" Watch "JDK1.5 on 64 bit windows XP machine" New topic
Author

JDK1.5 on 64 bit windows XP machine

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
Hi
Has anyone installed JDK 1.5 on windows XP 64 bit Intel machine?
I see a download for AMD but not for Intel, i tried to download and install AMD installer and it did not work, gives error System cannot open device or file specified

I get the same error if i try to install 32 bit jdk 1.5 installer,
Any ideas?


A$HI$H
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19654
    
  18

Why do you still need JDK 1.5? Java 6 has been out for quite a long time, and there's even Java 7 now.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
I know we java 7.0, but our application works with java 1.5, using websphere 6.1 which is java 1.5 only, so i dont want to write code in java 1.6 to find it is not working with java 1.5

fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11161
    
  16

ashish kulkarni wrote: I know we java 7.0, but our application works with java 1.5, using websphere 6.1 which is java 1.5 only, so i dont want to write code in java 1.6 to find it is not working with java 1.5


Can't you use the -source flag and tell it to consider your code as 1.5?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
So basically in eclipse set Source Compatibility to be 1.5 or Compiler Compliance settings to be 1.5 under java Compiler?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38033
    
  22
ashish kulkarni wrote:So basically in eclipse set Source Compatibility to be 1.5 or Compiler Compliance settings to be 1.5 under java Compiler?
You would have to do both. Also make sure you are not using any methods introduced in Java6 or Java7. I can’t remember whether Eclipse will do that automatically.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

The AMD version should work on Intel processors too. It's probably called "AMD" because AMD was the first comapny that added 64-bit instructions to their Intel-compatible processors. But current Intel CPUs implement the same 64-bit instructions.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

I certainly had 32-bit JDK 1.5 installed on Windows XP x64. However, I've moved to Windows 7 since then and it's been some time since I installed that box. I don't recall having any problems installing either JDK 1.5 or JDK 6. I strongly believe I installed it using the file jdk-1_5_0_22-windows-i586-p.exe - the one I used to install it on Windows 7 x64 too.
 
wood burning stoves
 
subject: JDK1.5 on 64 bit windows XP machine
 
Similar Threads
Can't load IA 32-bit .dll on a AMD 64-bit platform
Error 1723 when trying to uninstall jdk java 1.6 update 24 and unable to install again.
32 Bit to 64 Bit
JRE 6 Runtime Parameters
downloading JDK SE 6