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

java control panel write back to deployment.properties with wrong format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • deploy
    • None
    • b81
    • generic, x86
    • generic, windows_xp
    • Verified

      JRE Build:
      ---------
      build 1.6.0-rc-b65

      Steps to reproduce:
      -------------------
      1. Uninstall all jre/jdk
      2. Install jre1.6.0 build 65
      3. If the file "deployment.properties" exsit in user.home/Application Data\Sun\Java\Deployment , delete it .
      Then launch Java Control Panel , Enable click OK to exit.
      Now there will be a new generated deployment.properties.
      4. Edit the new generated deployment.properties , add following lines and save file
      deployment.javaws.traceFileName=C\:\\unit_test\\protest\\trace.log
      deployment.javaws.logFileName=C\:\\unit_test\\protest\\trace.log
      5 . Launch Java Control Panel , switch to "Java" tag, click "View" of "Java Application Runtime Settings"

      No dialog popup ( there should popup JNLP Runtime Settings ).
      Click "Cancel" on Java Control Panel , notice that the deployment.properties file be updated as :
      deployment.javaws.traceFileName=C:\unit_test\\protest\\trace.log
      deployment.javaws.logFileName=C:\unit_test\\protest\\trace.log

      Launch Java Control Panel again , popup "Java Virtual Machine Launcher" error dialog

            herrick Andy Herrick (Inactive)
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: