Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDK1.4 and JDK 1.5 in one system

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have JDK 1.4 in my system for development purposes.But i wish to have 1.5 also in the system so that i can learn the latest features of Tiger.

But what settings should i change and will there be any conflict with these 2 versions during my development.

Tx & Regards
Kumar
 
Vivek Nidhi
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can use some IDE like Eclipse and install the two versions. After this you select the kit you want from the preferences.

Hope this helps

Vivek Nidhi
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vivek,

Thanks..but what about the JAVA_HOME..classpath...

Regards
 
Sri Ram
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vivek Nidhi:
You can use some IDE like Eclipse and install the two versions. After this you select the kit you want from the preferences.

This is not necessary. while compiling file give source and target JDK.
Say when u compile files for 1.4 give javac -target <release>
[ December 26, 2005: Message edited by: Sri Ram ]
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ThankQ...

but what about JAVA_HOME....currently it is pointing to 1.4

can i let it be that way..

Regards
 
Sri Ram
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That can be the same. As long as u are not using jDK1.5 for ur Application, its no problem.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First read this post in the "Mac OS" forum: Java 5.0 - The Missing Installation Instructions

In your '/Users/<someuser>' folder you should have a '.bash_profile' file - if not create one.

In this file you type:


Now your java is setup - just like on a window PC.

Rene
[ December 26, 2005: Message edited by: Rene Larsen ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic