Newbie Java Help

crzdgns1 at starpower.net crzdgns1 at starpower.net
Wed Mar 23 18:43:56 PST 2005


Hello,

I am having trouble installing Java on my computer.  I am
primarily interested in the virtual machine.  I tried
following the instructions in the handbook, to no success. 
Most recently I tried installing Blackdown.  Here is what I
did.  I went to the Ports collection as root and found
linux-blackdown-jdk1.4.2 and performed make install clean. 
There were no error messages.  That sequence created a
directory (/usr/local/linux-blackdown-jdk1.4.2).  Next, I
changed directories (/usr/X11R6/lib/mozilla/plugins) and
created a symbolic link to libjavaplugins_oji.so (ln -s
/usr/local/linux-blackdown-jdk1.4.2/jre/plugins/
i386/mozilla/libjavaplugins_oji.so).  Next, I exited root and
became user. Then I typed 
%export PATH=/usr/local/linux-blackdown-jdk1.4.2/bin:$PATH

Then I exited all open terminals and restarted Mozilla with
mozilla, and the following error messages were reported.

>Error: No running window found.
>LoadPlugin: failed to initialize shared library
>/usr/X11R6/lib/browser_plugins/ShockwaveFlash_linux.so
>[/usr/X11R6/lib/browser_plugins/ShockwaveFlash_linux
>.so: invalid file format]
>LoadPlugin: failed to initialize shared library
>/usr/local/linux-blackdown-jd
>k1.4.2/jre/plugin/i386/mozilla/libjavaplugin_oji.so [Shared
>object "libdl.so.2" not found, required by
>"libjavaplugin_oji.so"]

I am a newbie to UNIX and FreeBSD.  I am running FreBSD
5.3-RELEASE on an old pentium II celeron.  I use Blackbox as
my window manager.  I have Mozilla 1.7.2.  Most of the other
technical issues I have had while learning about UNIX and
FreeBSD have been about my failure to read something
thoroughly, but this time I think I have done everything I was
supposed to do and am still lost.  Please help.

Thank you

Mark 


More information about the freebsd-questions mailing list