Astrostack

Matthew Cline matthew.cline at gmail.com
Tue Aug 22 19:23:37 UTC 2006


On 8/22/06, Norman Silverstone <norman at littletank.org> wrote:
> I am trying to run a piece of software called Astrostack. To do that I
> entered java -Xms256m -jar AstroStack3le.jar and got the following
> message:-
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/innostack/astrostack/AS
>    at gnu.java.lang.MainThread.run(libgcj.so.7)
> Caused by: java.lang.ClassNotFoundException: com/innostack/astrostack/AS
>    at java.lang.Class.forName(libgcj.so.7)
>    at gnu.java.lang.MainThread.run(libgcj.so.7)
> norman at gruber:~/Desktop/AstroStack3LE $
>
> What do I need to do to make things work please?

>From the error message, it looks like you are using gcj instead of the
VM provided by Sun. The first thing I would try is to install the sun
JVM, then try to run the program with that. This guide:

https://help.ubuntu.com/community/Java

will help with the process. Just make sure that, after you install the
sun JVM, run:

$ sudo update-alternatives --config java

to set the sun JVM as the system default JVM.

If the program still doesn't work with the sun JVM, then something
deeper is amiss.

HTH,

Matt




More information about the ubuntu-users mailing list