We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 50152

Vivado HLS - Java 2 Platform Standard Edition binary has stopped working


When invoking the Vivado HLS GUI, an error pops upwith the following error:

"Java(TM) 2 Platform Standard Edition binary has stopped working
A problem caused the program to stop working correctly.
Windows will close the program and notify you if a solution is available."

From the Windows event viewer, the following details are provided:

"Faulting application name: java.exe, version:, time stamp: 0x4638586b
Faulting module name: PGHook.dll, version:, time stamp: 0x4ed65a24
Exception code: 0xc0000417
Fault offset: 0x000083d1
Faulting process id: 0x1a5c
Faulting application start time: 0x01cd384447205e16
Faulting application path: C:\Xilinx\2012.1\AutoESL\Win_x86\tools\jre\bin\java.exe
Faulting module path: C:\WINDOWS\system32\PGHook.dll
Report Id: 857bfd46-a437-11e1-8982-0021cc719ec4"


There are a few things that can result in this error. Please complete the following checklist and open a WebCase with Xilinx Technical Support if the problem persists:

  1. If Avecto product such as "Avecto Privilege Guard" is installed, PGHook.dll from the Avecto may cause the JAVA error. Try to update to the latest Privilege Guard version.
  2. Download and install the latest version of Vivado HLS.
  3. Ensure the download is not corrupted.
  4. Perform the following steps:
    • Disable the CLASSPATH definition:
      Change: CLASSPATH: .;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
      To: CLASSPATHTEMP: .;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
    • Try to start the Vivado HLS GUI.
    • Make sure C:\Temp exists. If not, set environment variable TEMP and TMP pointing to an existed directory.
      Change: TEMP: C:\Temp
      To: %USERPROFILE%\AppData\Local\Temp
      And change: TMP: C:\Temp
      To: TMP:%USERPROFILE%\AppData\Local\Temp
  5. A potential workaround is to first start JAVA within VHLS command prompt before starting the GUI. Download the .bat.txt file provided with this answer record, rename the .bat.txt file to .bat; and update the .bat file with the appropriate directory.


Associated Attachments

Name File Size File Type
AR50152_JAVA2_Error_Workaround.bat.txt 341 Bytes TXT

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
47429 Xilinx Vivado HLS Solution Center - Top Issues N/A N/A
AR# 50152
Date Created 06/04/2012
Last Updated 03/02/2013
Status Active
Type Known Issues
  • AutoESL - 2011.4.2
  • AutoESL - 2011.4
  • AutoESL - 2012.1
  • Vivado - 2012.2