To run the tutorial example, please do the following in Eclipse:
Select package “com.tensegrity.firststeps.hellonode”
or “com.tensegrity.firststeps.swt.hellonode”
with the left mouse button.
Select the menu “Run”.
Select the child menu “run as”.
Select “Java Application”
The main method from the HelloNode.java compiled class will be executed.
Close the Java Application window when you have finished viewing the tutorial example.
When running the SWT-based example described above, you will most
likely encounter an error of this type: java.lang.UnsatisfiedLinkError:
no swt-win32-3062 in java.library.path. In order to successfully
run the exampe, file swt-win32-3062.dll
(which can be found beside SWT3_0.jar under
lib/swt) must be located on your classpath.
An easy way to achieve this is by doing the following:
Select the menu “Run”.
Select “Run ...”.
Ensure that the correct example is selected on the list on the left of the dialog.
Select the “Arguments” tab.
Enter the following on the “VW Arguments:” text area: “-Djava.library.path=XXX\workspace\Tensegrity_Graph_First_Steps\lib\swt” where “XXX” is the path to your eclipse installation folder.
Press “Run”.
Close the Java Application window when you have finished viewing the tutorial example.
© 2004, 2005 Tensegrity Software GmbH