Familiarity with the Java Experiment--java development environment

Source: Internet
Author: User

---restore content starts---

Familiarity with the Java development environment

Experiment with familiarity with a Java development environment

Experimental content

1. Compiling and running a simple Java program using the JDK

2. Edit, compile, run, and debug Java programs using Eclipse

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

10min 7%

Design

30min 20%

Code implementation

60min 60g

Test

30min 20%

Analysis Summary

20min 13%

4. Copying is strictly prohibited.

Experimental knowledge points

1. Installation location and difference of JVM, JRE, JDK;

2. command line run JAVAC,JAVA;JAVAC-CP; JAVA-CP;

3. Path,classpath,sourcepath setting method and application;

4. Package management: package;import;javac-d;

5. Eclipse (Netbeans) manages Java projects, debugging: breakpoints, stepping, etc.;

6. Java basic syntax: type and type conversion; variables; operators; Process control, etc.;

7. Use of JDK help documentation;

Experimental steps

(i) Java program Development under command line

(ii) Development and commissioning of Java programs under Eclipse

(c) Exercise (through the command line and Eclipse two ways to achieve, their number after the two and the total number of questions and the results of the remainder of the result plus 1 is the number of their own to complete the problem, Practice debugging under Eclipse)

4. Achieve student performance management function, and test.

Run results

(iv) Problems encountered in the experimental process and solutions

1. After entering the experimental building successively because the computer does not have the electricity, midway the network and so on the problem causes the experiment to repeat many times

2. In addition to the code design, the code edited with Gedit is saved, and the file is never found at compile time, as follows

Workaround: The first time is because of javac-d. The input format of the Stut1.java is incorrect. The second discovery is still wrong, finding that the file was not stored according to the intended folder.

3. About the problem because the virtual machine can only intercept 4 images, in order to better illustrate the experiment, I used other software.

Learning experience and Summary

As far as the code is concerned, since there is no further learning, it is now possible to write more simple results input and statistics. After looking for certain information, found that the complex student performance management needs to be linked to the database, so that the Java should be more efforts.

In the use of virtual machines, do not know whether it is not familiar with the interface and network reasons, the system is not sensitive to the response, the operation is not convenient. Also due to the "delay of 1 hours" when the failure to respond in a timely manner resulting in the re-entry system to do the problem arises.

But through the study of this experiment, I learned some commonly used software. Because it is customary to use editplus, it is difficult to use ecplise, but because the software is more convenient for debugging code, it is easier to use when writing your own code.

---restore content ends---

Familiarity with the Java Experiment--java development environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.