Jarsigner Error
Hi All
i am no programmer, i am a mere systems admin and iam new to JAVA so bear with me
I have been trying to solve this problem all day yesterday but with no luck , so your help is greatly appreciated
the JAVA APPLET certificate is due to expire on our webserver, we bought the certificate and applied it fine until the last step in which we need to sign the JAR file with the new certificate using the Jarsigner
when typing the following command
$sudo jarsigner jarfile keystore Alias
i get the following error
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
for some reason the jarsigner can not find the the JRE, or that is what i think. However, i am not sure how to solve this problem i tried setting up the environment but with no luck, can you pelase help
below are my system info:
REDHAT 5.5
Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
java version "1.4.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02)
Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode)
$ which java
/usr/java/j2sdk1.4.0_02/bin/java
$ which javac
/usr/java/j2sdk1.4.0_02/bin/javac
The /home/<user>/.bash_profile file is as follows
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/usr/X11R6/bin:/usr/java/j2sdk1.4.0_02/bin
export PATH
Thanks
|