Operating System - Linux
1755702 Members
3237 Online
108837 Solutions
New Discussion юеВ

Re: Regarding sunpkcs11.jar file in Java1.5.0_02

 
sarram
Occasional Advisor

Regarding sunpkcs11.jar file in Java1.5.0_02

Hi,

I am working on HP-UX11.11.
I am compiling with Java1.5.0_02.
I am getting following error.
"[javac] /export1/src/com/sun/web/admin/security/SecurityUtil.java:98: cannot find symbol
[javac] symbol : class SunPKCS11
[javac] location: class com.sun.web.admin.security.SecurityUtil
[javac] SunPKCS11 pkcs11Provider = new SunPKCS11("internal", configStream);
[javac] "

When i analysed i found that sunpkcs11.jar file is not present in java1.5.0_02.

But same jar file i could find in solaris and Linux under /jre/lib/ext and i am not getting above compilation error in solaris and linux.

Anyone please help me. Is sunpkcs11.jar is bundled with Java1.5.0_02 of HPUX, if so which is the location. If not any equivalent jar file for HP?

Looking forward on your help

Thanks


4 REPLIES 4
baiju_3
Esteemed Contributor

Re: Regarding sunpkcs11.jar file in Java1.5.0_02

Hi ,
SDK 1.4 is available at HP site for down load .

http://www.hp.com/products1/unix/java/java2/sdkrte14/downloads/license_sdk_1.4.2.05.html

This can be installed using swinstall and you can avaid extra steps for compiling etc etc..

Regards ..BL.




Good things Just Got better (Plz,not stolen from advertisement -:) )
sarram
Occasional Advisor

Re: Regarding sunpkcs11.jar file in Java1.5.0_02

Hi Baiju,

Thanks for your reply.

But i am supposed to compile with java1.5.0_02
only.
Arunvijai_4
Honored Contributor

Re: Regarding sunpkcs11.jar file in Java1.5.0_02

Hello,

Just find out by, # find /opt/java1.5 -name "sunpkcs11.jar"

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
sarram
Occasional Advisor

Re: Regarding sunpkcs11.jar file in Java1.5.0_02

I have executed find command as above, but that jar file is not present