Answers Database


V1.5i, V1.5, V1.4 COREGEN : Unsatisfied link error on startup


Record #6002

Product Family: Software

Product Line: Coregen

Product Part: Coregen

Product Version: c1_5

Problem Title:
V1.5i, V1.5, V1.4 COREGEN : Unsatisfied link error on startup


Problem Description:
Urgency: standard

General Description:

CoreGen gives the following error when invoked:

java.lang.UnsatisfiedLinkError: setBackground
      at sun.awt.motif.MComponentPeer.initialize(Compiled Code)
      at sun.awt.motif.MComponentPeer.<init>(Compiled Code)
      at sun.awt.motif.MCanvasPeer.<init>(Compiled Code)
      at sun.awt.motif.MPanelPeer.<init>(Compiled Code)
      at sun.awt.motif.MFramePeer.<init>(Compiled Code)
      at sun.awt.motif.MToolkit.createFrame(Compiled Code)
      at java.awt.Frame.addNotify(Compiled Code)
      at java.awt.Window.show(Compiled Code)
      at xilinx.xworks.gui.MainFrame.<init>(Compiled Code)
      at xilinx.xworks.builder.Xworks.init(Compiled Code)
      at xilinx.xworks.builder.Xworks.main(Compiled Code)

COREGEN ultimately fails to start up.


Solution 1:

The problem has been seen when the location of another Java installation
is specified in the user's LD_LIBRARY_PATH environment variable.

To correct this situation, set the LD_LIBRARY_PATH environment variable
to <install_dir>/java1.1.3/lib before invoking COREGEN on workstation
platforms.

  On Workstations:

       setenv LD_LIBRARY_PATH <install_dir>/java1.1.3/lib


  On PC's:

Add the following line to the beginning of <install_dir>/coregen/bin/win/coregen.bat:

       set LD_LIBRARY_PATH = <install_dir>/java1.1.3/lib




End of Record #6002 - Last Modified: 03/24/99 20:00

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!