Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Build path specifies execution environment J2SE-1.5.
Build path specifies execution environment J2SE-1.5. [message #1046728] Mon, 22 April 2013 09:31 Go to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 257
Registered: July 2009
Senior Member
Hi

I am using JDK 1.7. After creating Xtext projects I get this warning:

"Build path specifies execution environment J2SE-1.5. There are no JREs
installed in the workspace that are strictly compatible with this
environment."

Is it possible to set the default to 1.7 when creating projects?

-H
Re: Build path specifies execution environment J2SE-1.5. [message #1046780 is a reply to message #1046728] Mon, 22 April 2013 11:01 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 360
Registered: July 2009
Location: Dortmund
Senior Member

Eclipse does not know by default that your JDK 1.7 is a match for J2SE-1.5 environment. This can be set as workspace setting. Open setting Java/Installed JREs/Execution Environments/J2SE-1.5.
On the right side of the dialog your JDK should appear. Check the option there.

Regards,
~Karsten


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
Previous Topic:Is it possible to export the behaviors in the .dmodel file into diagram like UML's activity diagram?
Next Topic:Can I use Xtext for a DSL containing javascript?
Goto Forum:
  


Current Time: Sat Dec 20 17:20:05 GMT 2014

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

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