Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » replcae default jre
replcae default jre [message #919832] Sat, 22 September 2012 07:50 Go to next message
Eclipse UserFriend

Can anyone give me some points on how to programmatically add a new JRE to
the Workspace and how to query the available ones?
Re: replcae default jre [message #920809 is a reply to message #919832] Sun, 23 September 2012 09:21 Go to previous message
Eclipse UserFriend
I see two paths for finding the desired API:
- open the "Installed JREs" preference page and ask the plug-in spy (Alt-Shift-F1) for the implementing classes. This will let you inspect how the UI access the set of installed JREs
- browse the code starting from class JavaRuntime (inside plug-in org.eclipse.jdt.launching), it should have references to all relevant API:
Quote:
The central access point for launching support. This class manages the registered VM types contributed through the <code>"org.eclipse.jdt.launching.vmType"</code> extension point..


HTH,
Stephan
Previous Topic:1.4.2 JDK on Mac?
Next Topic:Trying to convert from IMethod to MethodDeclaration: findDeclaringNode always returns null
Goto Forum:
  


Current Time: Sat Jul 12 06:54:55 EDT 2025

Powered by FUDForum. Page generated in 0.03163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top