Import one simulator in eclipse

Source: Internet
Author: User

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:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.