1836634 Members
2074 Online
110102 Solutions
New Discussion

newbie java question

 
SOLVED
Go to solution
Deborah Hsieh
New Member

newbie java question

I just installed java for HPUX 11. And my question is... now what? I downloaded it for the sole purpose ot being able to have java for Netscape and Mozilla. Do I need to invoke it somehow, or change the path in Mozilla/Netscape?

Thanks!!!
7 REPLIES 7
KCS_1
Respected Contributor
Solution

Re: newbie java question

Hi,

Nothing to do, I think

After Netscape or Mozilla daemon started at the background mode on the GUI,you may see them.

#netscape or mozilla &





Easy going at all.
Jeff Schussele
Honored Contributor

Re: newbie java question

Hi Deborah,

Depending on the version you installed, typically you need to set a java home env variable- for EX:

JAVA2_HOME=/opt/java1.2
JAVA3_HOME=/opt/java1.3
JAVA4_HOME=/opt/java1.4

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Steven E. Protter
Exalted Contributor

Re: newbie java question

My experience is once installed, the browser install figures out that java is there at install time.

You need the java plugin to make sites that require java work right.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Deborah Hsieh
New Member

Re: newbie java question

Thanks everyone! It looks like everything works ok in Mozilla, but on Netscape 4.73 I'm getting a weird error:
Java reported the following error on startup:
java.lang.SecurityException: system classes were not signed.
And then I get this error:
# Error: The certificate issuer for this server is not recognized by Netscape. The security certificate may or may not be valid.
Netscape refuses to connect to this server. (-8179)
#jar file: /usr/local/apps/netscape/netscape-4.73/java/classes/java40.jar
#path: /usr/local/apps/netscape/netscape-4.73/java/classes/java40.jar

Any ideas?
Thanks so much!
Paddy_1
Valued Contributor

Re: newbie java question

Check your classpath and make sure that java40.jar comes before classes12.zip
The sufficiency of my merit is to know that my merit is NOT sufficient
Deborah Hsieh
New Member

Re: newbie java question

I'm sorry, I don't know how to check/change my classpath... I'm a total newbie at all of this.
Paddy_1
Valued Contributor

Re: newbie java question

CLASSPATH is a shell variable thats exported before java invocation.

It is like MANPATH and LIBPATH.

see if the variable is set or else you can manually include it in the command-line.See java -help for further options on this.

The sufficiency of my merit is to know that my merit is NOT sufficient