Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Dynamic compiler level
Dynamic compiler level [message #1748385] Tue, 22 November 2016 16:17 Go to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi all,
we have an Oomph setup where the user selects the installed JRE: the user can choose a JRE7+ vm.
Then we would like to set the Java Compiler level to 1.7, 1.8, .. accordingly, so to avoid a fixed value like this
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance" value="1.7"/>
is there a variable that is set to the JRE level of the installed IDE?
I.e. something to allow a thing similar to
/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.compiler.compliance" value="${jre.level}"/>
?
Re: Dynamic compiler level [message #1748437 is a reply to message #1748385] Wed, 23 November 2016 08:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Is it really the version of the JRE of the running IDE that's important rather than the version of the default JRE configured in JDT?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Dynamic compiler level [message #1748450 is a reply to message #1748437] Wed, 23 November 2016 09:45 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi Ed,
you are right: it's the version/level of the default JRE configured in JDT that should be referred.
Is there a variable for this?
Thank you
Re: Dynamic compiler level [message #1748456 is a reply to message #1748450] Wed, 23 November 2016 10:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
No, nothing supports that directly at this point.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Server configuration update
Next Topic:[Closed] Prevent Installer from Update
Goto Forum:
  


Current Time: Fri Dec 27 01:31:46 GMT 2024

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

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

Back to the top