This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to use Classpath project with gcj?


>You can just download GNU Jaxp from
>http://www.gnu.org/software/classpathx/jaxp/.
>
>This is used in classpath too and the recommended way to get javax.xml
>with libgcj.

thanks, its getting further now but saying

      com/sun/xml/bind/marshaller/SingleByteEncoder.java: In class
`com.sun.xml.bind.marshaller.SingleByteEncoder':
      com/sun/xml/bind/marshaller/SingleByteEncoder.java: In constructor
`(java.nio.charset.Charset,short[],java.lang.String,int,int,int)':
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: error: cannot
find file for class sun.nio.cs.Surrogate$Parser
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: error: cannot
find file for class sun.nio.cs.Surrogate$Parser
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: error: cannot
find file for class sun.nio.cs.Surrogate$Parser
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: error: cannot
find file for class sun.nio.cs.Surrogate$Parser
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: error: class
'sun.nio.cs.Surrogate$Parser' has no method named '<init>' matching
signature '()V'
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: error:
expected type 'sun.nio.cs.Surrogate$Parser' but stack contains 'void'
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: error: cannot
find file for class sun.nio.cs.Surrogate$Parser
      com/sun/xml/bind/marshaller/SingleByteEncoder.java:31: internal
compiler error: Segmentation fault
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <URL:http://gcc.gnu.org/bugs.html> for instructions.

could this be because I'm trying to compile jars distributed as part of the
official JAXB distribution?

thanks,
Andrew





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]