Setting Up Jbooktrader in Eclipse
Setting Up Jbooktrader in Eclipse
These instructions refer to setting up JBookTrader in Eclipse version 3.3.0 under Windows.
1. Download the latest version of JBookTrader from http://code.google.com/p/JBookTrader/downloads/list and unzip the contents of the downloaded
archive to any destination directory, such as C:\
2. In Eclipse, click File | New | Java Project, specify Project name and the Contents options as shown, and click Next:
3. The New Java Project dialog will appear. Change Default output folder to JBookTrader/classes, and click the Libraries tab.
4. On the Libraries page, make sure that all JAR files are listed as follows, and click Finish
5. Click Window | Preferences from the main menu. The Preferences dialog will appear. On the left navigation pane, select Java | Compiler |
Errors/Warnings. On the right navigation pane, select Potential Programming Problems | Serializable class without serialVersionUID, set
the selection in the corresponding combo box to Ignore as shown, and click OK:
7. Eclipse will build the project and report 0 errors, 0 warnings, 0 infos
8. Click Run | Open Run Dialog from the main menu. The Run dialog will appear. On the left navigation pane, select Java Application and click
the New launch configuration button (the top leftmost button on the left navigation pane). Specify the Name, Project, and Main class as
shown:
9. Click the Arguments tab. In the Program arguments edit box, specify the directory where JBookTrader archive was unzipped. In the VM
arguments edit box, specify the maximum Java heap (70% of the total physical memory is recommended)
10. Click the Classpath tab, select User Entries, and click Advanced button
11. Advanced Options dialog will appear. Select Add Folders and click OK
12. Folder Selection dialog will appear. Select resources folder and click OK
13. The Run dialog will list User Entries as shown. Select Apply and Run.