my dog learned polymorphism*
The moose likes Java in General and the fly likes can we keep two jdk versions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "can we keep two jdk versions" Watch "can we keep two jdk versions" New topic
Author

can we keep two jdk versions

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1070
Currently i have installed jdk 1.6.I need to install jdk 1.7.Can i install 1.7 while keeping jdk 1.6 or i have to unstall jdk 1.6?
can't we keep two versions of jdk at same machine ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
Yes, it's possible.


Ping & DNS - my free Android networking tools app
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1070
I am using eclips.So when eclips running which version of java use by eclips?
As i am usin Google App engine plugin i need to be select 1.7 JDK.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37902
    
  22
Right‑click the project and look through its properties, in Eclipse. You can set the version of Java used like that.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
I would imagine that there is a setting somewhere in Eclipse to select which JDK to use. Searching for "selecting JDK eclipse" would seem to bear that out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we keep two jdk versions
 
Similar Threads
depolying servlet on weblogic server domain
Switch between Java plugin versions?
JDK version vs JRE version
Java installation
Using Generics in HashMap