From: Jan Conrads on
Hello,
Mumia W. schrieb:
> On 02/21/2010 02:08 PM, Mark Hobley wrote:
>> [...]
>> jamvm metis.jar
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError: metis/jar
>> <<No stacktrace available>>
>> Caused by: java.lang.ClassNotFoundException: metis.jar not found in
>> java.lang.ClassLoader$1{urls=[file:/volumes/vol3a/build/metis/./],
>> parent=null}
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:531)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
>> at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
>>
>> What did I do wrong?
>>
>> Mark.
>>
>
> Try "jamvm -jar metis.jar"
>

I know that you have to run a test.class as java test, perhaps you need
to run javavm -jar test oder java -jar test for ja test.jar file..


Jan
From: Bill Marcum on
On 2010-02-26, Mark Hobley <markhobley(a)hotpop.donottypethisbit.com> wrote:
> #!/bin/sh
> if [ -z $MOZILLA_FIVE_HOME ]; then
> echo "You may need to set the environment variable
> MOZILLA_FIVE_HOME first!"
> echo "Please read the README file for details."
> fi
>
> java -Djava.library.path=lib -jar metis.jar
>
> Here I guess that MOZILLA_FIVE_HOME is something to do with a web browser.
> Does anyone know what purpose that serves? I don't want to run a browser for
> that application.
>
It's an environment variable telling the browser where to find .jar
files. Maybe some other applications expect that variable to be set, on
the assumption that most folks who have java, use it with their
browsers.

From: Mark Hobley on
Bill Marcum <marcumbill(a)bellsouth.net> wrote:
> It's an environment variable telling the browser where to find .jar
> files. Maybe some other applications expect that variable to be set, on
> the assumption that most folks who have java, use it with their
> browsers.

Yeah. I have found quite a few applications that are written in Java. It would
great to be able to utilize these as stand alone programs.

Mark.

--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/