JOGL 2.0.2 requires Java 7?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

JOGL 2.0.2 requires Java 7?

martinezmj
This post was updated on .
Is JOGL 2.0.2 now targeting Java 7?  I upgraded my JOGL libs from 2.0 to 2.0.2 and am now seeing this error when building with a Java 6 JDK.

error: Exception thrown while constructing Processor object: com/jogamp/gluegen/structgen/CStructAnnotationProcessor : Unsupported major.minor version 51.0
Reply | Threaded
Open this post in threaded view
|

Re: com/jogamp/gluegen/structgen/CStructAnnotationProcessor : Unsupported major.minor version 51.0

gouessej
Administrator
Your analysis seems to be logical as "major.minor version 51.0" matches with Java 1.7. I don't know why it was built with Java 1.7 but OpenJDK 1.6 became unusable a few weeks ago because of a major regression and some security changes were necessary for Java 1.7. I'm not sure supporting Java 1.6 is a good idea even though I understand that it can be annoying for end users.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: com/jogamp/gluegen/structgen/CStructAnnotationProcessor : Unsupported major.minor version 51.0

Sven Gothel
Administrator
On 09/11/2013 11:45 PM, gouessej [via jogamp] wrote:
> Your analysis seems to be logical as "major.minor version 51.0" matches with
> Java 1.7. I don't know why it was built with Java 1.7 but OpenJDK 1.6 became
> unusable a few weeks ago because of a major regression and some security
> changes were necessary for Java 1.7. I'm not sure supporting Java 1.6 is a
> good idea even though I understand that it can be annoying for end users.

That is correct, however, the class should have been compiled w/ Java6,
so it is a bug.

@Martinez: Pls file a bug.

~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: com/jogamp/gluegen/structgen/CStructAnnotationProcessor : Unsupported major.minor version 51.0

martinezmj
Bug report: https://jogamp.org/bugzilla/show_bug.cgi?id=835

Thanks again for the quick response.