I've just returned to this and I'm having bother trying out the -check param in 
jena.eyeball class.

I have java installed as follows
lewis@lewis-desktop:~/trunk$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~10.04.1)
OpenJDK Server VM (build 19.0-b09, mixed mode)

I tried to add all of the jars in /lib to my classpath as follows

lewis@lewis-desktop:~/trunk$ export 
CLASSPATH=$CLASSPATH:/home/lewis/trunk/lib/*.jar
like this
lewis@lewis-desktop:~/trunk$ export CLASSPATH=$CLASSPATH:/home/lewis/trunk/lib/
and like this
lewis@lewis-desktop:~/trunk$ export CLASSPATH=$PATH:/home/lewis/trunk/lib/

Exception in thread "main" java.lang.NoClassDefFoundError: jena/eyeball
Caused by: java.lang.ClassNotFoundException: jena.eyeball
        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:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: jena.eyeball. Program will exit.

I apologise that this is obviously a trivial problem but it is starting to 
drive me crazy.
________________________________________
From: Ian Dickinson [[email protected]]
Sent: 23 May 2011 16:10
To: [email protected]
Subject: Re: Setting classpath in Eyeball

On 23/05/11 15:52, McGibbney, Lewis John wrote:
> This is latest available version. Is it possible that a recent ant
> branch rev will test with JUnit4?
Ant has supported Junit4 since (I believe) 1.6.5. You just need to
ensure that Ant can see the appropriate junit jars, as per:

http://ant.apache.org/manual/Tasks/junit.html

My guess is that your Ant installation is seeing the JUnit 3.x jars first.

Ian

Email has been scanned for viruses by Altman Technologies' email management 
service - www.altman.co.uk/emailsystems

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 
2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career 
Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

Reply via email to