Open main menu

CDOT Wiki β

Changes

User:Qinzhi

552 bytes added, 16:15, 2 February 2011
no edit summary
1. Preparing Eclipse
1)Goto Eclipse from http://www.eclipse.org.
2)Choose Classic 3.6.0 Eclipse IDE for java Developers and download it. 3)Unzip eclipse to c:\eclipse\ide_java Basics folder 4)Doubleclick eclipse.exe in c:\eclipse\ide_javaBasics\eclipse 5)Workspace type ./wksp/Basicslab 6)Download and install SVN according the instruction at http://zenit.senecac.on.ca/wiki/index.php/Basics_:_Install_Eclipse_Plugins 7)Download JUnit from https://github.com/KentBeck/junit/labdownloads and unzip it to c:\junit4.9b2. 8)Add junit-4.9b2 to the CLASSPATH, for example: classpath=.;c:\junit4.9b2\junit-4.9b2.jar;c:\junit4.9b2 9)Test if junit is installed correct or not by typing: java org.junit.runner.JUnitCore org.junit.tests.AllTests If it display ok (508 tests), it means junit is installed correctly.
2. Creating your first Java project
1)In menu, click file->new->Java project.
1
edit