[PLUG] launching java programs

Eric Wilhelm scratchcomputing at gmail.com
Sat Jun 3 07:53:10 UTC 2006


# from John Jason Jordan
# on Friday 02 June 2006 11:16 pm:

>Exception in thread "main" java.lang.NoClassDefFoundError:
> sun.misc.Launcher not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:TreeForm.jar,file:./],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at
> userInterface.Start.<clinit>() (Unknown Source)
>   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
>   at java.lang.Class.forName(java.lang.String, boolean,
> java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0) at
> gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
>
>It's incomprehensible to me. Maybe someone else can figure out what
> went wrong.

Roughly translated:  The main thread of your program took exception to 
not finding a defined class named "sun.misc.Launcher".

Given the gnu.java messages about missing "sun.java" something, I would 
guess that the app may not be compatible with GNU's java (or at least 
that the version you have doesn't have everything it needs yet.)  It's 
possible that you can install that class and be done -- this assumes 
that sun's java classes will run on gnu's java (might work if it's 
turtles all the way down.)

You might have to get sun's Java, but check with the app's faq about jvm 
compatibility.

--Eric
-- 
"Those who cannot remember the past are condemned to repeat it."
--George Santayana
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------



More information about the PLUG mailing list