This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

JDK1.4 and JDK 1.5 in one system  RSS feed

 
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
 
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
 
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.
 
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
Boost this thread!