JDK-8017078 : Java Crashes from Command Line with " java -jar - "
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 7u21
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • Submitted: 2013-06-19
  • Updated: 2013-06-19
  • Resolved: 2013-06-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Resolved 8Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version  " 1.7.0_21 " 
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Windows 7 Enterprise SP1, Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
Java crashes when run from CLI with  " java -jar - " .

REGRESSION.  Last worked in version 6u45

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Reproduction:
1) Run  " java -jar - "  from CLI


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Unrecognized option: -
Could not create the Java virtual machine.

ACTUAL -
Windows dialog pops up saying Java(TM) Platform SE binary has stopped working.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Problem signature:
  Problem Event Name:APPCRASH
  Application Name:java.exe
  Application Version:7.0.210.11
  Application Timestamp:515d999b
  Fault Module Name:java.exe
  Fault Module Version:7.0.210.11
  Fault Module Timestamp:515d999b
  Exception Code:c0000005
  Exception Offset:000000000000bf95
  OS Version:6.1.7601.2.1.0.256.4
  Locale ID:1035
  Additional Information 1:10f6
  Additional Information 2:10f654d4c33728153717762bfdcd444e
  Additional Information 3:0ce2
  Additional Information 4:0ce2062a922c4ea377a7dcc7bba93250

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


REPRODUCIBILITY :
This bug can be reproduced always.
Comments
Duplicate of JDK-7151434
19-06-2013