Help sought trying to add java to mozilla 1.5  
Author Message
lvirden





PostPosted: 2003-11-27 14:39:00 Top

java-programmer, 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:email***@***.com > <URL: http://www.purl.org/NET/lvirden/ >
 
Keith Bowes





PostPosted: 2003-11-27 14:59:00 Top

java-programmer >> Help sought trying to add java to mozilla 1.5 email***@***.com wrote:
> 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.
>

Don't copy. Create a symbolic link.

 
Michael Laajanen





PostPosted: 2003-11-27 17:00:00 Top

java-programmer >> Help sought trying to add java to mozilla 1.5 HI,

email***@***.com wrote:
> 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?
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

 
 
Michael Laajanen





PostPosted: 2003-11-27 17:01:00 Top

java-programmer >> Help sought trying to add java to mozilla 1.5 HI,
Keith Bowes wrote:
> email***@***.com wrote:
>
>> 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.
>>
>
> Don't copy. Create a symbolic link.
!! why is that the reason?

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


/michael



 
 
Juergen Keil





PostPosted: 2003-11-27 19:02:00 Top

java-programmer >> Help sought trying to add java to mozilla 1.5 Michael Laajanen <email***@***.com> writes:

> Keith Bowes wrote:

> > Don't copy. Create a symbolic link.
>
> !! why is that the reason?

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

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

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
 
 
Juergen Keil





PostPosted: 2003-11-27 19:24:00 Top

java-programmer >> Help sought trying to add java to mozilla 1.5 email***@***.com writes:

> I've downloaded and gotten mozilla 1.5 to work on my desktop machine.

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


> 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.

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)


> 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.

That's the typical crash that you'll get when you mix code
produced by different C++ compilers for mozilla <-> plugin.
 
 
Michael Laajanen





PostPosted: 2003-11-27 19:31:00 Top

java-programmer >> Help sought trying to add java to mozilla 1.5 Hi,
Juergen Keil wrote:
> Michael Laajanen <email***@***.com> writes:
>
>
>>Keith Bowes wrote:
>
>
>>>Don't copy. Create a symbolic link.
>>
>>!! why is that the reason?
>
>
> Probably some clever trick to derive the java home directory from
> the symbolic link target.
>
>
>>And then do you know why there is no java plugin in java 1.4.2 ?
>
>
> 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
Yoy have the sdk, why in 1.4.1 jre was enough?

In j2re1.4.2_01 there is nothing.

/michael



 
 
Phil Brown





PostPosted: 2003-12-22 7:06:00 Top

java-programmer >> Help sought trying to add java to mozilla 1.5 On Thu, 27 Nov 2003 06:38:45 +0000, lvirde wrote:

>
> 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.

have you verified that you actually have java enabled in your preferences?
sometimes, it's the silly things that get you :-)