UPGRADE YOUR BROWSER

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# 35824

CORE Generator - An error occurred while running Java (due to a different language OS)

Description

When I attempt to generate a CORE Generator core, the following error occurs:

"Error occurred during initialization of VM
java.lang.Error: java.io.UnsupportedEncodingException: GBK
ERROR:coreutil:576 - An error occurred while running Java. Please examine the console or coregen log file for a specific IP related error.
For more information please search the Xilinx Answers Database for this error: http://www.xilinx.com/support
ERROR:coreutil - An Error occurred during Customization.
ERROR:coreutil:308 - If the error occurred during generation, the problem may be due to a failure occurring in xst. Please check the xst log file - available in the working directory.
Error found during generation."

The following error also occurs:

"ERROR:coreutil - Error occurred during initialization of VM java.lang.Error: java.io.UnsupportedEncodingException: Cp1255
ERROR:sim - Failed to generate 'FIFO'."

Solution

To solve this problem, you need to add the following environment variable:

JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF8

You can do this by right-clicking "My Computer" -> "Properties", select "the Advanced" tab and click "Environment Variable". Click "New" for either System or User (it only matters if multiple people use the machine).

Enter JAVA_TOOL_OPTIONS for the name and "-Dfile.encoding=UTF8" for the value.

Alternatively, from the DOS prompt:

set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

AR# 35824
Date Created 07/27/2010
Last Updated 12/15/2012
Status Active
Type General Article
Tools
  • ISE Design Suite - 12.1