Hi, there
When I try to compile from the source with java 9 or above, it will give me the following errors, do I have to compile with java 8 or below? thanks in advance
Nov 11, 2019 10:56:01 AM mpi.eudico.client.annotator.ELAN main
INFO:
Nov 11, 2019 10:56:01 AM mpi.eudico.client.annotator.ELAN main
INFO: ELAN 5.8
Java home: /usr/lib/jvm/java-9-openjdk-amd64
Java version: 9.0.4
Runtime: 9.0.4+12-Ubuntu-4ubuntu216.04.4
OS name: Linux
OS version: 4.15.0-66-generic
OS arch.: amd64
User language: en
User home: /home/seamanj
User dir: /home/seamanj/Workspace/elan-5.8/target/classes
Classpath: /home/seamanj/Workspace/elan-5.8/target/classes:/home/seamanj/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/home/seamanj/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/home/seamanj/.m2/repository/xalan/xalan/2.4.1/xalan-2.4.1.jar:/home/seamanj/.m2/repository/javax/help/javahelp/2.0.05/javahelp-2.0.05.jar:/home/seamanj/.m2/repository/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar:/home/seamanj/.m2/repository/javax/graphics/jlfgr/1.0/jlfgr-1.0.jar:/home/seamanj/.m2/repository/uk/gate/guk/0.7/guk-0.7.jar:/home/seamanj/.m2/repository/com/apple/AppleJavaExtensions/1.0/AppleJavaExtensions-1.0.jar:/home/seamanj/.m2/repository/nl/mpi/annot/search/mfsearch/1.5.7/mfsearch-1.5.7.jar:/home/seamanj/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/home/seamanj/.m2/repository/nl/mpi/annot/annot-tools/1.1.12/annot-tools-1.1.12.jar:/home/seamanj/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/seamanj/.m2/repository/nl/mpi/annot/search/annot-search-lib/1.4.11/annot-search-lib-1.4.11.jar:/home/seamanj/.m2/repository/nl/mpi/lexan/lexan-api/0.9/lexan-api-0.9.jar:/home/seamanj/.m2/repository/nl/mpi/lexiconcomponent/1.6/lexiconcomponent-1.6.jar:/home/seamanj/.m2/repository/uk/co/caprica/vlcj/4.2.0/vlcj-4.2.0.jar:/home/seamanj/.m2/repository/uk/co/caprica/vlcj-natives/4.1.0/vlcj-natives-4.1.0.jar:/home/seamanj/.m2/repository/net/java/dev/jna/jna/5.4.0/jna-5.4.0.jar:/home/seamanj/.m2/repository/net/java/dev/jna/jna-platform/5.4.0/jna-platform-5.4.0.jar:/home/seamanj/.m2/repository/nl/mpi/metadata-api/1.5.0/metadata-api-1.5.0.jar:/home/seamanj/.m2/repository/org/apache/xmlbeans/xmlbeans/2.6.0/xmlbeans-2.6.0.jar:/home/seamanj/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar:/home/seamanj/.m2/repository/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar:/home/seamanj/.m2/repository/org/apache/httpcomponents/httpclient/4.4.1/httpclient-4.4.1.jar:/home/seamanj/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/home/seamanj/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/seamanj/.m2/repository/de/saga/staccato/1.0.0/staccato-1.0.0.jar:/home/seamanj/.m2/repository/eu/dasish/annotation-schema/1.0/annotation-schema-1.0.jar:/home/seamanj/.m2/repository/com/atlascopco/hunspell-bridj/1.0.4/hunspell-bridj-1.0.4.jar:/home/seamanj/.m2/repository/com/nativelibs4java/bridj/0.7.0/bridj-0.7.0.jar:/home/seamanj/.m2/repository/com/google/android/tools/dx/1.7/dx-1.7.jar:/home/seamanj/.m2/repository/org/json/json/20160212/json-20160212.jar:/home/seamanj/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/seamanj/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar:/home/seamanj/.m2/repository/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar:/home/seamanj/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-controls/11/javafx-controls-11.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-controls/11/javafx-controls-11-linux.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-graphics/11/javafx-graphics-11.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-graphics/11/javafx-graphics-11-linux.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-base/11/javafx-base-11.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-base/11/javafx-base-11-linux.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-media/11/javafx-media-11.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-media/11/javafx-media-11-linux.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-swing/11/javafx-swing-11.jar:/home/seamanj/.m2/repository/org/openjfx/javafx-swing/11/javafx-swing-11-linux.jar
Library path: /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib;/home/seamanj/Workspace/elan-5.8/target/nativelib
Display info:
Screen 1 - isDefault:true, w:1920, h:1080, bitDepth:-1
Screen 2 - isDefault:false, w:1920, h:1200, bitDepth:-1
Main screen resolution:96 (w:1920, h:1080)
Nov 11, 2019 10:56:01 AM mpi.eudico.client.annotator.ELAN initPlatformPreferences
WARNING: Could not create the application’s data directory or apply some preferences: Unresolved compilation problems:
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax is accessible from more than one module: <unnamed>, java.xml
The package org.xml.sax.helpers is accessible from more than one module: <unnamed>, java.xml
ContentHandler cannot be resolved to a type
XMLReader cannot be resolved to a type
XMLReader cannot be resolved to a type
XMLReaderFactory cannot be resolved
XMLReader cannot be resolved to a type
XMLReader cannot be resolved to a type
XMLReader cannot be resolved to a type
XMLReader cannot be resolved to a type
XMLReader cannot be resolved to a type
XMLReader cannot be resolved to a type
SAXException cannot be resolved to a type
XMLReader cannot be resolved to a type
InputSource cannot be resolved to a type
InputSource cannot be resolved to a type
XMLReader cannot be resolved to a type
Attributes cannot be resolved to a type
SAXException cannot be resolved to a type
The method endElement(String, String, String) of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
The method characters(char[], int, int) of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
The method endDocument() of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
The method endPrefixMapping(String) of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
The method ignorableWhitespace(char[], int, int) of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
The method processingInstruction(String, String) of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
Locator cannot be resolved to a type
The method skippedEntity(String) of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
The method startDocument() of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
The method startPrefixMapping(String, String) of type PreferencesReader must override or implement a supertype method
SAXException cannot be resolved to a type
ErrorHandler cannot be resolved to a type
SAXParseException cannot be resolved to a type
SAXException cannot be resolved to a type
SAXParseException cannot be resolved to a type
SAXException cannot be resolved to a type
SAXParseException cannot be resolved to a type
SAXException cannot be resolved to a type
Exception in thread “main” java.lang.NoClassDefFoundError: Could not initialize class mpi.eudico.client.annotator.Preferences
at mpi.eudico.client.annotator.ELAN.updateUIDefaults(ELAN.java:343)
at mpi.eudico.client.annotator.ELAN.main(ELAN.java:81)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------