Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4414152

java_wrapper Error: can't find libjava.so with Pentium 4 machines running Linux

    Details

    • Subcomponent:
    • Resolved In Build:
      07
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Not verified

      Backports

        Description



        Name: krC82822 Date: 02/10/2001


        java version "1.3.0"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
        Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)

        After an "out-of-the-box" install of the Java 2 SDK version 1.3 on my Linux
        machine I couldn't run any binaries from the jdk1.3/bin or jdk1.3/jre/bin
        directories. The machine is an Intel Pentium 4 and here is the uname output:
        Linux 2.2.16 #5 Wed Feb 7 15:49:36 PST 2001 i?86 unknown

        The error I got when trying to invoke any of the binaries was:
        Error: can't find libjava.so.

        This was the case for any command issued in the java environment.

        The problem is in the .java_wrapper script. In order to find the lib directory
        in the jre directory it sets up the $proc variable with proc="`uname -m`" if
        i[3-6]86 (and others) aren't found. So for my machine it sets up $proc as "i?86"
        and therefore it can't find libjava.so because the directory it is searching
        does not exist.
        (Review ID: 116733)
        ======================================================================

        Name: yyT116575 Date: 10/24/2001


        java -version
        Error: could not find libjava.so
        Error: could not find Java 2 Runtime Environment.


        tried both the rpm and gnuzip installations, both did this. Never had a
        problem with 1.4 beta1. Fresh linux install, beat 1 was not available.1.3
        works fine.
        (Review ID: 134321)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pcashman Pat Cashman
                  Reporter:
                  kryansunw Kevin Ryan (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: