Specific environment:
Ubuntu10.10 + jdk-6u24-linux-i586 + eclipse-java-helios-SR2-linux-gtk + one_1.4.0
JDK has been installed and environment variables have been set. The working directory of eclipse is/home/Ming/workspace.
Decompress one_1.4.0.zip and copy the decompressed folder to the eclipse working directory. Rename the folder to the project name. Here it is one_c2ra.
Open eclipse, "file" => "new" => "Java Project", enter the project name, which is consistent with the name of the folder you just renamed, for example:
Switch to the "Source" tab, find "test" from the file list, and right-click and select "eclude ".
Switch to the "Libraries" tab, click "add jars", and select the two jar files under the "lib" Directory (both selected ). Click "OK" and then "finish ".
In the "project" window, right-click the project name "one_c2ra", select "Run as", and then select "Java application". The following page is displayed:
Select "dtnsim-core" and click "OK ". The followingProgramRunning interface: