Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » Default jre
icon5.gif  Default jre [message #735179] Tue, 11 October 2011 07:30
tweetysat  is currently offline tweetysat Friend
Messages: 1
Registered: July 2009
Junior Member

I'm working with eclipse indigo 3.7.
I also installed m2e plugin version
There is only one installed jre : jdk1.6.0_23 (c:\....\jdk1.6.0_23)

If I do new maven project ... create a simple project (or any other archetype), the project is created with jre system library : J2SE-1.5 containing some jars from c:\....\jdk1.6.0_23\jre\lib. And a warning message :
Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment. JRE System Library Problem.

The pom.xml is only containing

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">

And I have to add manually, for each project,


So my question is why trying to use java 1.5 while only 1.6 is installed ?
How to fix the problem ?


Previous Topic:null pointer exception when using custom archetype
Next Topic:Unable to install m2 plugin on ganymede 3.4
Goto Forum:

Current Time: Fri Oct 09 23:48:39 GMT 2015

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

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