We provide sample .launch files that you can load in eclipse to run the projects.
-
Click on Run/Open Run Dialog (or 'Run...' in some versions of Eclipse)
-
The launch configurations should be recognized automatically. You can choose one from
the list, let's choose 'URBIPing'.
-
In the right panel, select 'Environment', depending whether you are under Windows, Linux
or MacOs, you will see the variable 'path', 'LD_LIBRARY_PATH' or 'DYLD_LIBRARY_PATH' defined.
-
Edit the value of the variable. Set the absolute path of the liburbi java directory 'lib'
(the one that contains the (lib)urbijava.{so,dll,dylib}). This is needed by the examples, in order
to load the liburbijava library.
-
Then click on the 'Arguments' tab, and enter the address of the urbi server you want to ping in the
'program arguments' field. For example if you want to ping the server running in Webots, set 'localhost'
as address (without the quotes).
-
Click 'Apply'. Click 'Run'.