Drücken Sie die Eingabetaste, um die Vorgabe[*] beizubehalten,
oder geben Sie die Auswahlnummer ein: 5
Verwende »/usr/lib/jvm/java-6-sun/jre/bin/java«, um »java« bereitzustellen.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Haven't really tried Aperture on gcj, nor on any other JVM apart from SUN, so I can't really tell what went wrong. Maybe if you could post the exact stack trace we could isolate the cause.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.90)
at org.openrdf.sail.memory.model.MemValueFactory.createMemLiteral(MemValueFactory.java:293)
at org.openrdf.sail.memory.model.MemValueFactory.createLiteral(MemValueFactory.java:406)
at org.openrdf.rdf2go.ConversionUtil.toOpenRDF(ConversionUtil.java:98)
at org.openrdf.rdf2go.ConversionUtil.toOpenRDF(ConversionUtil.java:68)
at org.openrdf.rdf2go.RepositoryModel.addStatement(RepositoryModel.java:218)
at org.semanticdesktop.aperture.rdf.impl.RDFContainerImpl.replaceInternal(RDFContainerImpl.java:468)
at org.semanticdesktop.aperture.rdf.impl.RDFContainerImpl.put(RDFContainerImpl.java:177)
at org.semanticdesktop.aperture.datasource.filesystem.FileSystemDataSource.setSuppressParentChildLinks(FileSystemDataSource.java:179)
at org.semanticdesktop.aperture.examples.ExampleFileCrawler.crawl(ExampleFileCrawler.java:46)
at org.semanticdesktop.aperture.examples.ExampleFileCrawler.main(ExampleFileCrawler.java:109)
Caused by: java.lang.RuntimeException: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException:gnu.xml.datatype.JAXPDatatypeFactory
at org.openrdf.model.datatypes.XMLDatatypeUtil.<clinit>(XMLDatatypeUtil.java:35)
at java.lang.Class.initializeClass(libgcj.so.90)
...10 more
Caused by: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
at org.openrdf.model.datatypes.XMLDatatypeUtil.<clinit>(XMLDatatypeUtil.java:32)
...11 more
Caused by: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
at java.lang.Class.forName(libgcj.so.90)
at java.lang.Class.forName(libgcj.so.90)
at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
...12 more
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to run the filecrawler.sh on Ubuntu and got the following Error:
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
I was using the default ubuntu java-gcj. After having switched to java-6-sun I got it running:
$ sudo update-alternatives --config java
Es gibt 5 Alternativen, die »java« bereitstellen.
Auswahl Alternative
-----------------------------------------------
1 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
2 /usr/bin/gij-4.2
3 /usr/bin/gij-4.3
*+ 4 /usr/lib/jvm/java-gcj/jre/bin/java
5 /usr/lib/jvm/java-6-sun/jre/bin/java
Drücken Sie die Eingabetaste, um die Vorgabe[*] beizubehalten,
oder geben Sie die Auswahlnummer ein: 5
Verwende »/usr/lib/jvm/java-6-sun/jre/bin/java«, um »java« bereitzustellen.
Haven't really tried Aperture on gcj, nor on any other JVM apart from SUN, so I can't really tell what went wrong. Maybe if you could post the exact stack trace we could isolate the cause.
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.90)
at org.openrdf.sail.memory.model.MemValueFactory.createMemLiteral(MemValueFactory.java:293)
at org.openrdf.sail.memory.model.MemValueFactory.createLiteral(MemValueFactory.java:406)
at org.openrdf.rdf2go.ConversionUtil.toOpenRDF(ConversionUtil.java:98)
at org.openrdf.rdf2go.ConversionUtil.toOpenRDF(ConversionUtil.java:68)
at org.openrdf.rdf2go.RepositoryModel.addStatement(RepositoryModel.java:218)
at org.semanticdesktop.aperture.rdf.impl.RDFContainerImpl.replaceInternal(RDFContainerImpl.java:468)
at org.semanticdesktop.aperture.rdf.impl.RDFContainerImpl.put(RDFContainerImpl.java:177)
at org.semanticdesktop.aperture.datasource.filesystem.FileSystemDataSource.setSuppressParentChildLinks(FileSystemDataSource.java:179)
at org.semanticdesktop.aperture.examples.ExampleFileCrawler.crawl(ExampleFileCrawler.java:46)
at org.semanticdesktop.aperture.examples.ExampleFileCrawler.main(ExampleFileCrawler.java:109)
Caused by: java.lang.RuntimeException: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException:gnu.xml.datatype.JAXPDatatypeFactory
at org.openrdf.model.datatypes.XMLDatatypeUtil.<clinit>(XMLDatatypeUtil.java:35)
at java.lang.Class.initializeClass(libgcj.so.90)
...10 more
Caused by: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
at org.openrdf.model.datatypes.XMLDatatypeUtil.<clinit>(XMLDatatypeUtil.java:32)
...11 more
Caused by: java.lang.ClassNotFoundException: gnu.xml.datatype.JAXPDatatypeFactory
at java.lang.Class.forName(libgcj.so.90)
at java.lang.Class.forName(libgcj.so.90)
at javax.xml.datatype.DatatypeFactory.newInstance(libgcj.so.90)
...12 more