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

System preferences directory created in wrong place

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.1
    • install
    • sparc
    • solaris_8



      Name: gm110360 Date: 08/23/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 :
      SunOS tiffany 5.8 Generic sun4u sparc SUNW,Ultra-5_10

      ADDITIONAL OPERATING SYSTEMS :
      Linux omnibook 2.4.19-omnibook-1 #1 Mon Aug 5 20:45:53 BST
      2002 i586 unknown


      A DESCRIPTION OF THE PROBLEM :
      I've used the binary scripts to install the 1.4.1rc SDK on
      both Solaris and Linux. In each case the system preferences
      directory is created as ./j2sdk1.4.1/.systemPrefs. This
      results in error messages when running applications (SDK was
      installed as root, app was run as non-root user):

      Aug 23, 2002 11:22:00 AM
      java.util.prefs.FileSystemPreferences$3 run
      WARNING: Could not create system preferences directory.
      System preferences are unusable.

      It seems that the directory should be created as
      ./j2sdk1.4.1/jre/.systemPrefs.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install using binary script file.
      2. cd j2sdk1.4.1
      3. ls -ld .systemPrefs

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      cd j2sdk1.4.1
      mv .systemPrefs jre
      (Review ID: 163542)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: