Greeting,
I'm a Linux administrator trying to install a provided Java program that has no installation documentation. I run this and get an error.
I think my classpath is correct.
Running this way get's me a bit further but now I have a license error.
Any help will be appreciated.
I'm a Linux administrator trying to install a provided Java program that has no installation documentation. I run this and get an error.
Code:
[n463345@cfdev1 xmls]$ java com.saxonica.validate -xsd:gti_BundleSet.xsd -s:gti_bundles.xml
Exception in thread "main" java.lang.NoClassDefFoundError: com/saxonica/validate
Caused by: java.lang.ClassNotFoundException: com.saxonica.validate
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: com.saxonica.validate. Program will exit.
I think my classpath is correct.
Code:
[n463345@cfdev1 xmls]$ echo $CLASSPATH
/home/n463345/java/saxon9ee.jar:/home/n463345/java/:/home/n463345/java/saxon-license_lic
Running this way get's me a bit further but now I have a license error.
Code:
[n463345@cfdev1 xmls]$ java -jar ~/java/saxon9ee.jar com.saxonica.validate -xsd:gti_BundleSet.xsd -s:gti_bundles.xml
java.lang.RuntimeException: Configuration is not licensed for schema-aware XSLT processing
at net.sf.saxon.Transform.setFactoryConfiguration(Transform.java:86)
at net.sf.saxon.Transform.doTransform(Transform.java:153)
at net.sf.saxon.Transform.main(Transform.java:70)
Configuration is not licensed for schema-aware XSLT processing
Any help will be appreciated.