UnsatisfiedLinkError when running RapidMiner 5 in Eclipse

xypher
xypher New Altair Community Member
edited November 5 in Community Q&A
Hi all,

I checked out the latest version of Rapidminer and imported it into an Eclipse project but when I try to run it within Eclipse I get the following error message:
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at javax.swing.SwingPaintEventDispatcher.queueSurfaceDataReplacing(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceDataLater(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at javax.swing.SwingPaintEventDispatcher.createPaintEvent(Unknown Source)
at sun.awt.windows.WComponentPeer.postPaintIfNecessary(Unknown Source)
at sun.awt.windows.WComponentPeer.handlePaint(Unknown Source)
at sun.java2d.d3d.D3DScreenUpdateManager.repaintPeerTarget(Unknown Source)
at sun.java2d.d3d.D3DScreenUpdateManager.createScreenSurface(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.setBounds(Unknown Source)
at sun.awt.windows.WWindowPeer.setBounds(Unknown Source)
at sun.awt.windows.WComponentPeer.initialize(Unknown Source)
at sun.awt.windows.WCanvasPeer.initialize(Unknown Source)
at sun.awt.windows.WPanelPeer.initialize(Unknown Source)
at sun.awt.windows.WWindowPeer.initialize(Unknown Source)
at sun.awt.windows.WFramePeer.initialize(Unknown Source)
at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
at sun.awt.windows.WFramePeer.<init>(Unknown Source)
at sun.awt.windows.WToolkit.createFrame(Unknown Source)
at java.awt.Frame.addNotify(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at com.rapidminer.gui.tools.SplashScreen.showSplashScreen(SplashScreen.java:134)
at com.rapidminer.RapidMiner.showSplash(RapidMiner.java:442)
at com.rapidminer.RapidMiner.showSplash(RapidMiner.java:437)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:201)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:527)
Exception in thread "AWT-Windows" Exception in thread "AWT-Windows" Exception in thread "AWT-Windows"

I am running Eclipse 3.4.2 and JDK 1.6.0_13. I can compile the project and it builds fine, I can also start the app from the command line using the RapidMinerGUI.bat script. I just can't start the app from Eclipse. Does anyone have an idea of why I'm getting this error?

Thanks

Answers

  • fischer
    fischer New Altair Community Member
    Hi,

    this seems to be an Eclipse Problem. Try googling the exception plus "Eclipse", I got some useful hits.

    Cheers,
    Simon
  • xypher
    xypher New Altair Community Member
    Reinstalled JDK and Eclipse. Seems to be working now.

    Thanks