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

PIT: VISTA: FileNotFoundException thrown during jar file creation on VISTA

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_vista

      Description

      JDK info: PIT 6.0 b86

      OS: Windows VISTA 32 bit (5381)

      Steps to Reproduce:
      1) Install JDK
      2) Change directory to jdk1.6.0\bin
      3) Create a jar file (jar cvf c:\test.jar c:\autoexec.bat)
      FileNotFoundException is thrown


      C:\jdk1.6.0\bin>java -version
      java version "1.6.0"
      Java(TM) SE Runtime Environment (build 1.6.0-b99)
      Java HotSpot(TM) Client VM (build 20060519121135.et151817.baseline, mixed mode,
      sharing)

      C:\jdk1.6.0\bin>jar cvf c:\test.jar c:\autoexec.bat
      java.io.FileNotFoundException: c:\test.jar (Access is denied)
              at java.io.FileOutputStream.open(Native Method)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
              at sun.tools.jar.Main.run(Main.java:150)
              at sun.tools.jar.Main.main(Main.java:1014)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rkumarsunw Ram Kumar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: