Operating System - HP-UX
1834753 Members
3014 Online
110070 Solutions
New Discussion

Re: Java plugin problem: what do I need?

 
SOLVED
Go to solution
Ed Lawrence_1
Frequent Advisor

Java plugin problem: what do I need?

System: B1000
OS: HP-UX 11.11
I have spent a few days putting on lots of patches, so I hope it is "up to snuff".

Browser: Mozilla 1.7

Problem: When I go to the HP IT Resource Center or to a Secure Web Console device, a message is displayed-----

"This page contains information of a type (application/x-Java-vm) that can only be viewed with the appropriate plugin."

I have the following already installed----

# swlist | grep Java
T1456AA 1.4.2.04.00 Java2 1.4 SDK for HP-UX
T1458AAventi 1.4.2.04.00 Java2 1.4 Netscape Plugin with JR E for HP-UX

I have seen the notices of required patches at the Java ITRC download page, and think I have installed the stated patches.Can anyone suggest what plugin/software/patch I might be missing? Can anyone suggest the next thing to check? I've been working on this for three days and have not been able to solve it.

Thanks.

Ed L.
8 REPLIES 8
Chris Saunderson
Frequent Advisor

Re: Java plugin problem: what do I need?

Have you checked the Helper application list to make sure that x-Java-vm is starting the JVM you've installed? It's in a Preferences sub-menu somewhere.
Ted Nugent called. He wants his shirt back.
D Block 2
Respected Contributor

Re: Java plugin problem: what do I need?

Ed-

have you seen this link:

http://www.hp.com/products1/unix/java/mozilla/mozilla_plugins.html

it also points out this note:

Also from the Java for HP-UX site located at www.hp.com/go/java, select "runtime plug-in" under the Java 2 PA-RISC solutions or Java 2 Itanium based solutions, as appropriate.
Golf is a Good Walk Spoiled, Mark Twain.
Ermin Borovac
Honored Contributor

Re: Java plugin problem: what do I need?

I'm guessing that mozilla can't find your java plugin. The following should help (assuming that mozilla is installed in /opt/mozilla).

# ln -s /opt/java1.4/jre/plugin/PA_RISC/ns600/libjavaplugin_oji.sl /opt/mozilla/plugins/libjavaplugin_oji.sl

If successful you should see java plugin in mozilla's Help->About Plug-ins menu.

Ed Lawrence_1
Frequent Advisor

Re: Java plugin problem: what do I need?

Hi folks, thanks for the things to check out.
Here is what I have found so far:

1) I tried the "ln -s" command, and the link already exists.

2) If I choose Help->About Plugins, there appears to be only one plugin, the default plugin, libnullplugin.sl.

3) Edit->Preferences->Helper Applications
lists the following file types: application/binary, application/tar, and application/x-gzip. x-java-vm is not listed, so it appears it must be added.

If I click the NEW TYPE button, I need to supply a MIME Type, description, and extension, then specify what to do when that type is encountered.

I followed the plugin links to wp.netscape.com/plugins/manager.html, and read "You are using Mozilla 5.0 for your OS";
followed by a list of "top plugins check". It says that Sun Java is not installed.
I don't understand that, given that I installed the Java 2 1.4 SDK and the plugin (dsee my original note above).

So, what should I try next?
Ed Lawrence_1
Frequent Advisor

Re: Java plugin problem: what do I need?

Another update for people who are assisting:

1) I installed Mozilla 1.4 and it works fine. The java plugins are found.

1b) By default, swinstall places the mozilla 1.4 binary in /opt/mozilla/bin.

1c) The Helper applications in 1.4 match the ones installed in 1.7.

2) Due to space limitations, I had to install mozilla 1.7 on another disk. The dir is: /ignite/Mozilla/mozilla.
It appears to be a self-contained directory. I did not have to use swinstall.

Ermin Borovac
Honored Contributor
Solution

Re: Java plugin problem: what do I need?

You can try running mozilla 1.7 with tusc (system call tracer) to see where it's looking for its plugins.

$ tusc -fv -o tusc.log /path/to/mozilla/1.7

Then examine tusc.log and search for libjavaplugin_oji.sl. It may give you some clues.

If you don't have tusc you can get it from

ftp://ftp.cup.hp.com/dist/networking/tools/tusc..shar

Other option is to install mozilla 1.6, provided by HP at http://www.hp.com/go/mozilla. It requires GTK which can be found on the same web page.
Ed Lawrence_1
Frequent Advisor

Re: Java plugin problem: what do I need?

I want to thank everyone for the assistance.
I finally decided to use Ermin's [last] suggestion, and downloaded 1.6.
It works with the java, so I don't need to worry about 1.7.
Ed Lawrence_1
Frequent Advisor

Re: Java plugin problem: what do I need?

Finally decided to use Ermin's [last] suggestion, and downloaded 1.6.
It works with the java, so I don't need to worry about 1.7.