Java application installation problem

Shu Hung (Koala) koalay at gmail.com
Wed Aug 9 08:50:27 UTC 2006


On 8/9/06, Peter Garrett <peter.garrett at optusnet.com.au> wrote:
>
> On Wed, 9 Aug 2006 15:16:45 +0800
> "Shu Hung (Koala)" <koalay at gmail.com> wrote:
>
> > at java.lang.Class.forName(libgcj.so.7)
> >    at java.lang.Class.forName(libgcj.so.7)
> >    at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
> >    ...6 more
> >
> > What did I got wrong?
>
> Notice that all the errors refer to "libgcj"
>
> I suspect that after installing sun java you did not run
>
> sudo update-alternatives --config java
>
> I suggest you try that, and choose the sun java version, as the gcj
> default
> that comes with Ubuntu might not support jedit. Currently on your system
> by default any java apps will be looking at the default - which is why you
> need to choose the sun version as above.
>
> I'm not familiar with jedit, but I think my suggestion is worth trying, as
> sun java won't work without this setting.
>
> Peter
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


Thanks Peter. The installer works like a charm.
Thanks a lot.

The only problem now  is I could not find any Chinese font in jedit.
What should I look for? Any idea?
Thanks again


Koala Yeung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060809/e4f18b80/attachment.html>


More information about the ubuntu-users mailing list