Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > Help sought trying to add java to mozilla 1.5
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 16th October 17:55
External User
 
Posts: 1
Default Help sought trying to add java to mozilla 1.5



I've downloaded and gotten mozilla 1.5 to work on my desktop machine.
However, when I visit Java enabled sites, I get a popup that tells
me I am missing the plugin for the java-vm applet type. When I say
"download it", the only links are for windows and linux, and I'm
not using either of these.

In the java 1.4.2_01 directory I have on my machine is a rje/plugin/sparc/ns610
directory in which there is a .so file. But I don't see any instructions
on what all I need to connect things together.

When I try to copy that .so file into my $HOME/.mozilla/plugins directory,
mozilla 1.5 crashes attempting to access the java applets. If I
remove the .so, then I get a popup telling me I need a plugin.

Can anyone provide additional ideas on what might be missing?
--
<URL: http://wiki.tcl.tk/ > In God we trust.
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvirden@yahoo.com > <URL: http://www.purl.org/NET/lvirden/ >
  Reply With Quote


 


2 16th October 17:55
keith bowes
External User
 
Posts: 1
Default Help sought trying to add java to mozilla 1.5



Don't copy. Create a symbolic link.
  Reply With Quote
3 16th October 17:55
michael laajanen
External User
 
Posts: 1
Default Help sought trying to add java to mozilla 1.5


HI,

Yes look a bit up on comp.unix.solaris under "mozilla 1.5" subject!

I think you need to get mozilla 1.2.1 first and get that plugin, the
latest java 1.4.2 is missing the plugin for some reason, but check the
thread up, then let us know the outcome.


Try Opera 7.23 works very very snappy, get it at www.opera.com it takes
a day or two top get used to Opera from Mozilla then you are quite happy
I promise you )

I use Mozilla for mail now and Opera for browsing due to speed and function.


/michael
  Reply With Quote
4 16th October 17:55
michael laajanen
External User
 
Posts: 1
Default Help sought trying to add java to mozilla 1.5


HI,

!! why is that the reason?

And then do you know why there is no java plugin in java 1.4.2 ?


/michael
  Reply With Quote
5 21st October 07:18
juergen keil
External User
 
Posts: 1
Default Help sought trying to add java to mozilla 1.5


Michael Laajanen <michael.laajanen.no-spam.@telia.com> writes:

Probably some clever trick to derive the java home directory from
the symbolic link target.


Huh?


% ls -l /usr/j2sdk1.4.2/jre/plugin/sparc/ns610/libjavaplugin_oji.so
-rwxrwxr-x 1 root other 229228 Jun 20 04:08
/usr/j2sdk1.4.2/jre/plugin/sparc/ns610/libjavaplugin_oji.so

% ls -l /usr/j2sdk1.4.2_02/jre/plugin/i386/ns610/libjavaplugin_oji.so
-rwxrwxr-x 1 root other 212856 Sep 17 04:01
/usr/j2sdk1.4.2_02/jre/plugin/i386/ns610/libjavaplugin_oji.so
  Reply With Quote
6 21st October 07:18
juergen keil
External User
 
Posts: 1
Default Help sought trying to add java to mozilla 1.5


lvirden@yahoo.com writes:

Check the download site, and try to find out which compiler was used to
compile mozilla 1.5. (Sun's compiler, or GCC ?)

Install a symbolic link(!!) libjavaplugin_oji.so in the
$MOZILLA_HOME/plugins directory.

The link target depends on the compiler that was used to compile
mozilla.


If Sun CC was used to compile mozilla, the link target is:

$JAVA_HOME/jre/plugin/`uname -p`/ns610/libjavaplugin_oji.so
(the "ns610" java plugin shared library is compiled with Sun CC)


If gcc 2.95.x was used to compile mozilla, the link target is:

$JAVA_HOME/jre/plugin/`uname -p`/ns600/libjavaplugin_oji.so
(the "ns600" java plugin shared library is gcc 2.95 compiled,
note that the "ns600" subdirectory is missing in the latest
j2sdk 1.4.2)


That's the typical crash that you'll get when you mix code
produced by different C++ compilers for mozilla <-> plugin.
  Reply With Quote
7 21st October 07:18
michael laajanen
External User
 
Posts: 1
Default Help sought trying to add java to mozilla 1.5


Hi,

Yoy have the sdk, why in 1.4.1 jre was enough?

In j2re1.4.2_01 there is nothing.

/michael
  Reply With Quote
Reply


Thread Tools
Display Modes




666