Difference between revisions of "Team1/Creating your first Java project"
Line 2: | Line 2: | ||
1.1. Select from the Menu: ''File -> New -> Java Project'' <br/> | 1.1. Select from the Menu: ''File -> New -> Java Project'' <br/> | ||
− | [[Image: Java_Project.jpg | | + | [[Image: Java_Project.jpg | 600px]] |
<br/>1.2. In the ''Create the Java Project window'' specify the project name (follow the Java convention) and leave ''"Use default location"'' checked. Press Finish to create the project<br /> | <br/>1.2. In the ''Create the Java Project window'' specify the project name (follow the Java convention) and leave ''"Use default location"'' checked. Press Finish to create the project<br /> | ||
− | [[Image: Java_Project2.jpg | | + | [[Image: Java_Project2.jpg | 500px ]] |
<br/>1.3. Now create a package. Select folder ''src'', right click on it and select ''New -> Packege''<br/> | <br/>1.3. Now create a package. Select folder ''src'', right click on it and select ''New -> Packege''<br/> | ||
− | [[Image: Java_Package.jpg | | + | [[Image: Java_Package.jpg |500px]] |
<br/>1.4. Specify the package name (Java convention is to use the same name as project). Press ''Finish''<br/> | <br/>1.4. Specify the package name (Java convention is to use the same name as project). Press ''Finish''<br/> | ||
− | [[Image: Java_Package2.jpg | | + | [[Image: Java_Package2.jpg | 500px]] |
<br/>1.5. Create Java class. Right click on the newly created package and select ''New -> Class''<br/> | <br/>1.5. Create Java class. Right click on the newly created package and select ''New -> Class''<br/> | ||
− | [[Image: Java_Class.jpg | | + | [[Image: Java_Class.jpg | 500px]] |
<br/>1.6. Specify the name and check ''"public static voin main"'' in the ''method stubs'' section.<br /> | <br/>1.6. Specify the name and check ''"public static voin main"'' in the ''method stubs'' section.<br /> | ||
− | [[Image: Java_Class2.jpg | | + | [[Image: Java_Class2.jpg | 600px]] |
Revision as of 09:00, 25 January 2011
Creating your first Java project
1.1. Select from the Menu: File -> New -> Java Project
1.2. In the Create the Java Project window specify the project name (follow the Java convention) and leave "Use default location" checked. Press Finish to create the project
1.3. Now create a package. Select folder src, right click on it and select New -> Packege
1.4. Specify the package name (Java convention is to use the same name as project). Press Finish
1.5. Create Java class. Right click on the newly created package and select New -> Class
1.6. Specify the name and check "public static voin main" in the method stubs section.