I downloaded the software off the site, but am unable to get it to run
(command line, web service or API).
From the command line, I found some issues with the cypher.bat file -
it was calling com.monrai.cypher.start.Main which did not exist -
howeve I found in the cypher.sh that it calls
com.monrai.cypher.start.Cypher instead - this at least started - but I
get the error
C:\Cypher>set CYPHER_HOME
CYPHER_HOME=C:\Cypher
C:\Cypher>cypher
Apr 1, 2009 12:39:04 PM info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class
org.openrdf.query.resultio.binary.BinaryQueryResu
ltParserFactory
Apr 1, 2009 12:39:04 PM info.aduna.lang.service.ServiceRegistry <init>
INFO: Registered service class
org.openrdf.query.resultio.sparqlxml.SPARQLResult
sXMLParserFactory
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version n
umber in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.monrai.cypher.start.CypherHelper.init(CypherHelper.java:
314)
at com.monrai.cypher.start.Cypher.main(Cypher.java:219)
after which the program just hangs.
I tried the web service instead. First, it is not looking at
CYPHER_HOME. When I try to hit
http://localhost:8080/cypher-ws/api
I get a lot of errors from tomcat showing
java.io.FileNotFoundException: \usr\apps\cypher\data\configuratin
\config.ini
If I moved my installation to C:\usr\apps\cypher then - and now get a
NullPointerException
java.lang.NullPointerException
at com.monrai.cypher.start.CypherHelper.loadSyntax
(CypherHelper.java:150
2)
at com.monrai.cypher.start.CypherHelper.init(CypherHelper.java:
239)
at com.monrai.cypher.start.Cypher.main(Cypher.java:177)
at com.monrai.servlet.API$1.run(API.java:165)
The page comes up, but when I try any of the examples, I get no
output, and nothing in my out directories.
I then attempted to try your API example - copying the code directly
from the manual. However where are the API documents? The example is
only a code fragment - and does not compile.
So far this has been an extremely frustrating few days.
Thanks
Mike