Skip Headers

Create an Eclipse Project

Previous
Previous
 
Next
Next

Use this procedure to create a new Java project in Eclipse.

Show Me...

  1. Start Eclipse.

  2. Select File > New > Project. The New Project dialog appears.

  3. On the New Project dialog, select Java > Java Project and click Next. The New Java Project wizard appears.

  4. On the New Java Project page, enter the following information and click Finish.

    • In the Project name field enter Advanced_Tutorial.

    • In the Contents area, select Create project from existing source. Click Browse and select the <ADVANCED_TUTORIAL_HOME> directory.

Eclipse adds the project to the workbench and opens the Java perspective.

Add the Required Library JARs

  1. Right-click the Advanced_Tutorial project in the Explorer and select Properties.

  2. Click Java Build Path and select the Libraries tab.

  3. Click Add External JARs and select the following files to add to the project:

    • <TOPLINK_HOME>/jlib/toplink.jar

    • <ORACLE_XE_HOME>/server/jdbc/lib/ojdbc14.jar

    • <ORACLE_HOME>/lib/xmlparserv2.jar

  4. Click Add Variable and select JUNIT_HOME. Click Extend and select junit.jar.

  5. Click OK.

The Tutorial Project

The Intro_Tutorial project in the Package Explorer.