Experiment with familiarity with a Java development environment
First, the contents of the experiment
1. Compiling and running a simple Java program using the JDK
2. Edit, compile, run, and debug Java programs using Eclipse
Second, the experimental requirements
1. Students who do not have a Linux base are advised to start with the Linux basics (new version) Vim Editor course
2. Complete the experiment, write the experiment Report, the experiment Report template see QQ Group, pay attention to the experiment report focus is the running result , encountered the problem (tool find, install, use, program editing, debugging, running, etc.), solution (empty method such as " Check network "," Ask classmates "," reading "and so on all get 0 points) and analysis (from which can get what revelation, what harvest, lessons, etc.).
3. Report the time of your PSP (Personal software Process)
|
Steps |
Take |
Percentage |
|
Demand analysis |
40min |
20% |
|
Design |
40min |
20% |
|
Code implementation |
60min |
30% |
|
Test |
30min |
15% |
|
Analysis Summary |
30min |
15% |
4. Copying is strictly prohibited.
Third, the experimental steps
(i) Java program Development under command line
Because the experimental building resources are limited, so the experiment has not been done
(ii) Development and commissioning of Java programs under Eclipse
Breakpoint Settings:
(iii) Exercise (through the command line and Eclipse two ways to achieve, their number after the two and the total number of questions and the result of the remainder of the results plus 1 is the number of their own to complete the title, Under Eclipse Practice debugging Program)
5. Realize the function of all prime numbers between the 1-n integers and test them.
Iv. problems encountered and solutions
When setting a breakpoint, because the Chinese version of Eclipse and the English version of the difference is not very similar, so set to step-by-step debugging to succeed
The experiment was in and out of the experimental building, but it was limited resources, so I didn't do it.
Use the tool first with QQ but many times can not paste on the blog, and later with the tool to solve the problem
V. Laboratory Receipts
Through this experiment, I am more proficient in the basic application of eclipse, mastered a very useful Java learning software, for the future study laid the foundation;
By learning to break point operation, so that later run Java more convenient and faster, improve the efficiency;
Unlike other software, the Eclipse runtime must have a package name prefix to run;
In general, the experiment is still receiving a large, for the future study has laid a solid foundation.
A lab report on Java experiments