how to use Classpath project with gcj?

Andrew.Ferguson@arm.com Andrew.Ferguson@arm.com
Thu Nov 27 15:23:00 GMT 2003


>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






More information about the Java mailing list