Hello,

Just for fun, I'd like to install a java runtime environment. I'm a
hobbyist rather than a technical user, but I run Debian Unstable. So
far I'm not having any luck.

I've downloaded the Sun self-extracing binary from:
http://www.java.com/en/download/help/linux_install.jsp

and unpacked it into: /usr/lib/j2re1.4.2_04/

Have I used the right directory? 

I'm following instructions from the Mozilla site. The Debian GNU/Linux
Java FAQ mentions unpacking "in /usr/local with links made in
/usr/local/bin". I know how to make a symbolic link, but I don't know
what to link.
http://www.debian.org/doc/manuals/debian-java-faq/ch7.html

I've added /usr/lib/j2re1.4.2_04/bin to my $PATH:

echo $PATH
/usr/lib/j2re1.4.2_04/bin:~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

Should I set that new path in ~/.bash_profile, or in /etc/profile?

I've also made a symbolic link from ~/firebird/plugins:

lrwxrwxrwx    1 mark           66 Jul  3 09:50 libjavaplugin_oji.so ->
/usr/lib/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*
-rwx--x--x    1 mark          19K Jun 15 18:21 libnullplugin.so*

When I open Firefox and type about:plugins, firefox tells me that the
java plugin is in place.

Alas, when I visit the java plugin test page, 
http://www.java.com/en/download/help/testvm.jsp
Firefox crashes immediately.

Is this a Firefox bug, or do I need to do more to configure the JRE?

When I try to run a .jar file, I get the following error:

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

This suggests that I have some more configuring to do! Thanks in
advance, all advice gratefully received.

- mark




                
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to