Results 1 to 3 of 3
  1. #1
    haythame78 is offline Member
    Join Date
    Aug 2011
    Posts
    2
    Rep Power
    0

    Default jarsiner Error (Error: could not find libjava.so)

    Hi All

    i am 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 keystoreAlias

    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

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

  3. #3
    haythame78 is offline Member
    Join Date
    Aug 2011
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Cannot find symbol error?
    By Josep_16 in forum New To Java
    Replies: 2
    Last Post: 06-19-2011, 07:14 PM
  2. can any one plz find the error.
    By shalini_cmc in forum AWT / Swing
    Replies: 1
    Last Post: 03-23-2011, 09:34 AM
  3. cant find the error , please help.
    By TheBreadCat in forum New To Java
    Replies: 13
    Last Post: 02-12-2011, 07:17 PM
  4. Find the error in this and why this can't be ?
    By ron2794 in forum New To Java
    Replies: 11
    Last Post: 12-14-2010, 03:23 PM
  5. I need help with an error! Cannot find symbol error!
    By ambria1975 in forum New To Java
    Replies: 2
    Last Post: 07-07-2010, 01:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •