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 Other Application Frameworks and the fly likes Getting the default JRE version of Eclipse 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 » Frameworks » Other Application Frameworks
Bookmark "Getting the default JRE version of Eclipse" Watch "Getting the default JRE version of Eclipse" New topic
Author

Getting the default JRE version of Eclipse

Michael So
Greenhorn

Joined: Feb 24, 2011
Posts: 2
Dear All,
I have a plugin and I want to be able to access the default JRE version of the Eclipse.

With code below i am building a project on the workspace, but i would like to make a check before running the code below. If possible it would be lovely to change the default JRE but being able to access its version is also very welcomed.




Thanks a lot
Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 199
    
    1

I think using the following command to check for the version used by eclipse to compile your code should be a good way to go

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting the default JRE version of Eclipse
 
Similar Threads
Unsupported major.minor version 51.0
A question about JRE, and JDK
Eclipse 3 Book
Iam not able to connect to database using applets
Getting Class cast exception while Lookup EJB2.1 session bean using JNDI name in WAS6.1