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

jar.exe and jarsigner.exe access denied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 8u31
    • install
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      Microsoft Windows [Version 6.1.7601]
      Copyright (c) 2009 Microsoft Corporation. All rights reserved.

      D:\>java -version
      java version "1.8.0_31"
      Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

      D:\>

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Ultimate 64bit


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Standard Windows 7 install. Boots on SSD (C:) so I tend to install programs on to the Terra HD set as D:
      JDK installed to D:\Program Files\Java\jdk1.8.0_31
      Never had issues before.



      A DESCRIPTION OF THE PROBLEM :
      This is a resend of an earlier bug report of the same bug because I typed my email address incorrectly on the first attempt.

      When I try to pack my classes into a jar file and sign it I get Access Denied.

      I have always used jar.exe and jarsigner.exe to pack and sign my jar files.


      REGRESSION. Last worked in version 8u25

      ADDITIONAL REGRESSION INFORMATION:
      Microsoft Windows [Version 6.1.7601]
      Copyright (c) 2009 Microsoft Corporation. All rights reserved.

      D:\>java -version
      java version "1.8.0_31"
      Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

      D:\>

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Microsoft Windows [Version 6.1.7601]
      Copyright (c) 2009 Microsoft Corporation. All rights reserved.

      D:\>cd \program files\java

      D:\Program Files\Java>cd jdk1.8.0_31

      D:\Program Files\Java\jdk1.8.0_31>cd bin

      D:\Program Files\Java\jdk1.8.0_31\bin>jar
      Access is denied.

      D:\Program Files\Java\jdk1.8.0_31\bin>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      jar.exe help information.

      ACTUAL -
      Access Denied.


      REPRODUCIBILITY :
      This bug can be reproduced always.

            avshastr Avani Shastri (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: