Creating lib file from java jar using mingw/gcj

Posted by Xinus on Stack Overflow See other posts from Stack Overflow or by Xinus
Published on 2010-06-13T14:23:34Z Indexed on 2010/06/13 14:32 UTC
Read the original article Hit count: 245

Filed under:
|

I am trying to convert jar file to native lib file using mingw-gcj under windows platform it is thrown me the error as

 C:\testDir\libs>gcj -o glassfish-embedded-all-3.1-SNAPSHOT.lib glassfish-embedde
d-all-3.1-SNAPSHOT.jar
com/sun/codemodel/JAnonymousClass.java: In class 'com.sun.codemodel.JAnonymousCl
ass':
com/sun/codemodel/JAnonymousClass.java: In constructor '(com.sun.codemodel.JClas
s,com.sun.codemodel.JCodeModel)':
In file included from com/sun/codemodel/CodeWriter.java:15,
                 from <built-in>:3:
com/sun/codemodel/JAnonymousClass.java:21: error: verification failed at PC=3: c
onstant pool index out of range
com/sun/codemodel/JAnonymousClass.java:21: confused by earlier errors, bailing o
ut

Is it related to some java 1.6 issue or bug in gcj /

© Stack Overflow or respective owner

Related posts about mingw

Related posts about gcj