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

slight error in installation documentation for java plugin in linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.1
    • 1.4.1
    • deploy
    • fcs
    • x86
    • linux



      Name: gm110360 Date: 09/05/2002


      FULL PRODUCT VERSION :
      java version "1.4.1-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-rc-b19)
      Java HotSpot (TM) Client VM (build 1.4.1-rc-b19, mixed mode)

      FULL OPERATING SYSTEM VERSION : glibc-2.2.5-34
      Linux localhost.localdomain 2.4.18-3 #1 Thu Apr 18 07:37:53
      EDT 2002 i686 unknown
      distribution Red Hat Linux 7.3 valhalla-i386-disc(1-3).iso


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      im installing the plug-in for j2sdk1.4.1-rc for mozilla
      browser 0.9.9 version

      A DESCRIPTION OF THE PROBLEM :
      on the page where you indicate the installation of the java
      plugin for linux:
      http://java.sun.com/j2se/1.4.1/control_panel_script.html

      you indicate for the -j switch that people should type in
      the path to the installation location of java. (i.e. "-j
      path: As indicated by path, specifies where ControlPanel
      script can find the installation location of Java.") but if
      you do this then you will get the error message:

         "ControlPanel: Error: Invalid JRE location:
      /usr/java/j2sdk1.4.1"

      Inorder for it to work you must append "/jre" to the end of
      the path to indicate where the java runtime is. I think the
      ControlPanel is looking for this path instead of the path of
      the main installation of Java.

      so instead of typing for example:

      "-j /usr/java/j2sdk1.4.1"

      I typed

      "-j /usr/java/j2sdk1.4.1/jre"

      and I managed to get the plug in installed properly and the
      applets seem to work fine.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      please read explanation in Description above.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      please read explanation in Description above.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      ControlPanel: Error: Invalid JRE location: /usr/java/j2sdk1.4.1

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      you need to include the directory of the java runtime at the
      end of the path indicated by the -j switch
      (Review ID: 164066)
      ======================================================================

            lmartinsunw Louis Martin (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: