Skip to main content



      Home
Home » Newcomers » Newcomers » Link errors running VTK java pplication with Eclipse
Link errors running VTK java pplication with Eclipse [message #93544] Tue, 09 August 2005 12:19
Eclipse UserFriend
Originally posted by: skslimjim.aol.com

Hoping to find someone with experience using the Visualization
Toolkit(VTK)and Eclipse. Program works with another IDE with no change to
envi variables listed below.

Been struggling with this error when executing the test
program--simplevtk.java

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
RenderCreate
at vtkPanel.RenderCreate(Native Method)
at vtkPanel.Render(vtkPanel.java:139)
at vtkPanel.paint(vtkPanel.java:159)
at sun.awt.RepaintArea.paintComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknow n Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Tried:
CLASSPATH = .;%JAVA_HOME%\lib\classes.zip;C:\Program
Files\vtk42\bin\;C:\Program Files\vtk42\bin\vtk.jar;C:\Program
Files\vtk42\lib\vtk;C:\Program Files\vtk42\lib

Path = ...;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;c:\GLF;C:\Program
Files\vtk42\bin\;C:\Program Files\vtk42\bin\vtk.jar;C:\Program
Files\vtk42\lib\vtk;C:\Program Files\vtk42\lib

In the Ecllipse Run window Selected the Arguments tab. In the VM Arguments
area created variable -Djava.library.path set to C:\Program
Files\vtk42\bin\ Then tried setting to C:\Program
Files\vtk42\bin\;C:\Program Files\vtk42\bin\vtk.jar;C:\Program
Files\vtk42\lib\vtk;C:\Program
Files\vtk42\lib;;C:\j2sdk1.4.2_08\lib;C:\j2sdk1.4.2_08\lib\j awt.lib
This causes Java VM Launcher to crash--
Message window--" Can't find Main Class"
Console reports--java.lang.NoClassDefFoundError: C:\Program Exception in
thread "main"

Later, tried adding to CLASSPATH and Path----
C:\j2sdk1.4.2_08\lib;C:\j2sdk1.4.2_08\lib\jawt.lib



What else can I do?
Previous Topic:looking for editable format of images that used in eclipse
Next Topic:Profiling Remote java application
Goto Forum:
  


Current Time: Sat Jul 12 15:13:37 EDT 2025

Powered by FUDForum. Page generated in 0.08561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top