This error can occur if the user opens the CORE Generator tool from a directory inside the $XILINX directory structure.
The following circumstances might result in an error:
- You double-click on the "coregen.exe" executable from Windows Explorer.
- The Start -> CORE Generator -> Properties "Start in" setting is set to the XILINX install directory. For example, "coregen.exe" is located at C:\xilinx\11.1\ISE\bin\nt\wincoregen.exe and "Start in" is set to C:\Xilinx\11.1\ISE.
- You move to the Xilinx directory in a command shell using the cd command before invoking "coregen.exe".
If starting the CORE Generator tool outside the $XILINX install directory does not resolve the issue, the following changes have resolved the issue in specific cases:
- Try setting the following environment variable: JAVA_TOOL_OPTIONS="-Xss16m"
For instructions on how to set an environment variable, see (Xilinx Answer 11630). - Change the JAVA memory allocation; see (Xilinx Answer 20708).