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
Hugo A. Garcia is currently offline Hugo A. GarciaFriend
Messages: 258
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: 454
Registered: July 2009
Location: Dortmund, Germany
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
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: Sun Sep 25 02:18:04 GMT 2016

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

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