[fedora-java] Problem with CLASSPATH

Mary Ellen Foster mefoster at gmail.com
Wed Nov 26 16:20:39 UTC 2008


2008/11/26 Ismael Olea <ismael at olea.org>:
> [olea at lisergia ~]$ /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java  -cp
> /usr/share/java/vldocking-2.1.4.jar  -jar /usr/share/java/OmegaT.jar

If you're executing a jar file (as above) then the "-cp" argument is
ignored entirely. You should put the OmegaT jar on the classpath as
well and give the name of the main class in the script instead. I
think executing jars is actually officially discouraged in Fedora even
...

MEF

-- 
Mary Ellen Foster  --  http://homepages.inf.ed.ac.uk/mef/
Informatik 6: Robotics and Embedded Systems, Technische Universität München
and ICCS, School of Informatics, University of Edinburgh




More information about the fedora-devel-java-list mailing list