[fedora-java] Problem with CLASSPATH

Ismael Olea ismael at olea.org
Wed Nov 26 17:49:45 UTC 2008


Thanks very much!

After reading your email I've mimic the bsh launch script and now the thing
is working as expected.

Thans!

2008/11/26 Mary Ellen Foster <mefoster at gmail.com>

> 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
>
> --
> fedora-devel-java-list mailing list
> fedora-devel-java-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-devel-java-list
>



-- 

Ismael Olea

http://olea.org/diario/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-java-list/attachments/20081126/d13b1baa/attachment.htm>


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