NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans Wizard thinks I'm using < 1.5 jdk when creating entity class

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
duggram



Joined: 25 Mar 2009
Posts: 17

PostPosted: Wed Jul 15, 2009 3:44 pm    Post subject: Netbeans Wizard thinks I'm using < 1.5 jdk when creating entity class Reply with quote

I'm on Mac OS X 10.5.7, NB 6.7, JDK 1.6 EE, with Maven.

When I try to create a Persistence, Entity class, in the second screeen I get this error msg (in red):

Java source level must be at least 1.5 to create entity classes in this p...

In the project properties under compile the default JDK is 1.6.

Any idea what I have set wrong? Do I need to setup Maven somewhere?

Thank you, Doug
Back to top
duggram



Joined: 25 Mar 2009
Posts: 17

PostPosted: Wed Jul 15, 2009 4:03 pm    Post subject: Reply with quote

I found a solution with further searching. My apologies for posting here.

In the properties window, under Sources the sources selection was set to 1.3. Why not the default 1.6?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo