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

jar.exe and jarsigner.exe access denied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 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 64

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Just a standard installation of WIndows 7 Ultimate 64.

      Used the downloadable installed of JDK from the oracle site and set the installation directory to "D:\Program Files\Java\jdk1.8.0_31"


      A DESCRIPTION OF THE PROBLEM :
      Never had a problem with using jar.exe or jarsigner.exe before.

      Infact my livelyhood depends on my ability to use these programs to delopy my signed jars.

      javac.exe continues to work fine and I am able to compile my projects.

      However, when I attempt to pack the classes into a jar and sign it, I get "Access Denied" for both jar.exe and jarsigner.exe



      REGRESSION. Last worked in version 8u25

      ADDITIONAL REGRESSION INFORMATION:
      I have never had this issue before.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      type jar on the command prompt in the bin directory of the jdk installation.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      expecting to see the jar help information.

      ACTUAL -
      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>


      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: