This article will take my own practical actions as an example.
1, the One_1.5.0-rc1.zip decompression to the specified directory, the default folder name is One_1.5.0-rc1, in order to operate conveniently, can be modified to one (this can be arbitrarily modified, just for the following and MyEclipse project name corresponding)
2. New Java Project
File->new->java Project->project Name:one->finish
3. Join One Source
Click Project One->import->gneral->file system->next->form directory to select this one source path file->finish
4. Build Path
Click Project One->build path->configure build Path->java Build Path
In the Source submenu, select excluded, click the Edit button, click the Add button under exclusion patterns to add the "test" folder in the project, and then finish.
In the Libraries submenu, click Add Jars to add Dntconsoleconnection.jar and Ecla.jar in the Lib file under the one file.
Click Add Library to join the JRE system library and JUnit
5, run the project, and configure the appropriate. txt files such as Test.txt
Run as->run Configurations->java appliction->name (input name such as test)->main->project-> Add Project One
-Main class->search->dtnsim-core
->arguments->program->test.txt
->run
One emulation tool imported to MyEclipse