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

unix: ControlPanel script in $JDKHOME/bin does not work

XMLWordPrintable

    • linux-rc1
    • x86, sparc
    • linux, solaris_8
    • Verified

      ControlPanel shell script in $JDKHOME/bin has incorrect path to $JREHOME.
      It's being set to $JDKHOME so the classpath to the jar files of ControlPanel
      cannot be found.

      $JDKHOME/bin/ControlPanel;
      --------------------------
      #!/bin/sh
      # Shell Script to run the Java(tm) Plug-in control panel.

      jre=`dirname $0`/..
                       ^^
      **************** should be '../jre'

      $jre/bin/java -classpath $jre/lib/javaplugin.jar:$jre/lib/javaplugin_l10n.jar sun.plugin.panel.ControlPanel
      --------------------------

      ControlPanel in $JREHOME has no problem.

      kenichi.kurosaki@Japan 2000-08-23

            jmelvin James Melvin (Inactive)
            kurosaki Kenichi Kurosaki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: