Reputation: 16512
I have to install object store for a school project and it doesn't work with the 1.6 jdk. So I have this error:
Error: The format of class 'inventairePackage/Joueur' is of type JDK 1.6.
Classes of this format cannot be currently annotated.
I use Netbeans and I don't know how to change the Java Platform because when I try to install the 1.5 jdk, it says that I can't because I use a higher version and in Netbeans I just have the option for the 1.6 jdk.
Thank you
Upvotes: 1
Views: 1159
Reputation: 16512
Finally I downloaded from talnicolas' link to oracle downloads and everything works now.
Thank you.
Upvotes: 2
Reputation: 7344
Try switching the Source Binary Format to JDK 5 in your project properties. (You don't need to have JDK 5 installed for this)
Upvotes: 2