Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2005 21:43:55 -0500
From:      <crzdgns1@starpower.net>
To:        freebsd-questions@freebsd.org
Subject:   Newbie Java Help
Message-ID:  <c4fc7b2.e1d82ca4.81d1800@ms07.mrf.mail.rcn.net>

next in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c4fc7b2.e1d82ca4.81d1800>