Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 12 votes, 3.92 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-20-2007, 04:23 AM   PM User | #1
bubbles19518
Regular Coder

 
Join Date: Sep 2006
Location: Colorado
Posts: 132
Thanks: 7
Thanked 1 Time in 1 Post
bubbles19518 is an unknown quantity at this point
JDK 1.5 Download

So for my AP Computer Science test this year we have a simulation that only runs on JDK 1.5. I have the latest version installed on my computer. I uninstalled it, and went looking for 1.5, with no results. I was hoping someone could point me to a link where I could download JDK 1.5, thanks.
__________________
-bubbles
bubbles19518 is offline   Reply With Quote
Old 03-20-2007, 05:29 AM   PM User | #2
david_kw
Senior Coder

 
Join Date: Nov 2006
Posts: 1,000
Thanks: 0
Thanked 0 Times in 0 Posts
david_kw will become famous soon enough
Check this out. I think JDK 1.5 is the same as JDK 5.0 (but I'm not positive).

http://java.sun.com/products/archive/

david_kw
david_kw is offline   Reply With Quote
Old 03-20-2007, 09:05 AM   PM User | #3
KeZZeR
Regular Coder

 
Join Date: Oct 2004
Location: England
Posts: 282
Thanks: 0
Thanked 0 Times in 0 Posts
KeZZeR is an unknown quantity at this point
Quote:
Originally Posted by david_kw View Post
Check this out. I think JDK 1.5 is the same as JDK 5.0 (but I'm not positive).

http://java.sun.com/products/archive/

david_kw
Yes, JDK 5 is the same as 1.5, and how that helps his question whatsoever I don't know. The latest version of Java is 1.6.

You'll probably have to uninstall Java, delete any entries in the registry as well as deleting any related folders and then installing JDK 1.5.
KeZZeR is offline   Reply With Quote
Old 03-20-2007, 11:03 AM   PM User | #4
ess
Regular Coder

 
Join Date: Oct 2006
Location: United Kingdom
Posts: 865
Thanks: 7
Thanked 29 Times in 28 Posts
ess will become famous soon enough
You can have more than one installation of JDK on your system. For example, I have JDK 1.4, and JDK 1.5 installed on my Linux Fedora box. It all comes down to setting the PATH ENVIRONMENT.

On my machine, I have two user accounts, each using a different JDK on their path. So, when I want to test something on JDK1.4, or JDK1.5...I just switch accounts.

I believe that you can do the same thing on Windows XP as well. Just add the jdk path on "User Variables for user_account" for the account that you wish to have jdk1.4 for example, and set jdk1.5 for the second account similarly.

Cheers,
Ess
ess is offline   Reply With Quote
Old 03-20-2007, 02:36 PM   PM User | #5
bubbles19518
Regular Coder

 
Join Date: Sep 2006
Location: Colorado
Posts: 132
Thanks: 7
Thanked 1 Time in 1 Post
bubbles19518 is an unknown quantity at this point
Thank you so much everyone, this was really a huge help! I've got everything up and running fine now!
__________________
-bubbles
bubbles19518 is offline   Reply With Quote
Old 03-22-2007, 05:21 PM   PM User | #6
ghell
Senior Coder

 
Join Date: Apr 2003
Location: England
Posts: 1,192
Thanks: 5
Thanked 13 Times in 13 Posts
ghell is on a distinguished road
you can use the -source and -target flags of javac to compile 1.5 source to work on 1.5 JREs even if you are using the JDK 1.6 compiler too. It is probably best to install the latest compilers and then specify your source and target for the minimum JRE you want it to run on.
__________________
My tech/code blog
ghell is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:47 PM.


Advertisement
Log in to turn off these ads.