Solaris 8, Patch Manager 2.0 and JAVA_HOME
Hi,
Is there any way to use a different version of java for smpatch running on Solaris 8 (Patch_Manager 2.0)?
The application that I happen to have installed on the server is configured to use the system version of java (/usr/bin/java) and must be kept at a version of 1.2.2 for their application to work (!)
I've installed the version that comes with the Patch_Manager_2.0 software - 1.4.1_03 and have set my JAVA_HOME variable, but still get errors when trying to use the smpatch command:
# echo $JAVA_HOME
/opt/local/java/usr/java
# ls -saF $JAVA_HOME
total 20780 34 LICENSE 2 include/20672 src.zip
2 ./ 18 README2 jre/
2 ../ 32 README.html2 lib/
10 COPYRIGHT2 bin/ 2 man/
# smpatch get
Exception in thread"main" java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider
at com.sun.patchpro.model.PatchProAccessor.<init>(PatchProAccessor.java:33)
at com.sun.patchpro.cli.PatchProSetup.<init>(PatchProSetup.java:157)
at com.sun.patchpro.cli.PatchProSetup.main(PatchProSetup.java:514)
#
I need a way of running smpatch using a different location for java. I've looked through the /usr/lib/patch/com/sun/patchpro/conf/Config.properties file but haven't found any way of overriding java. The man page says that the JAVA_HOME variable is honoured, but I still can't make it work - even when changing my path to have my updated version of java come before /usr/bin.
Any ideas?

