Beijing Institute of Electronic Technology (BESTI)
Real Inspection report
Course: Program Design and data structure class: 1623 Name: Qili No.: 20162326
Score: Instructor: Lou Jia Peng/Wang Zhiqiang experimental date: March 17, 2017
Experimental classification: Non-classified preview degree: Excellent experimental time: 2 Hours
Instrument Group: Compulsory/Elective: compulsory test number: 01
Experiment Name:
familiarity with the Java development environment (Linux + idea)
Experimental purposes and requirements:
- Use JDK to compile and run simple Java programs;
- Use idea to edit, compile, run, and debug Java programs.
experiment contents, steps and Experience:
First, compile and run under the root directory
1. Use javac-d bin Src/filesname.java-g
-d means to put the. class file generated by the. Java compilation in the src/directory into the/bin directory
The meaning of-G is to produce files that can be debugged
2. Use JAVA-CP bin Filesname.java
3. Use idea for debugging
4. Learn to find the Help document JDK
When we learned to use the JDK, we learned to use a dictionary as we learned English.
5. Use JDB to debug
(1) Open debug with Jdb
(2) Use stop at Filesname.class ' line ' or stop in class ' line '
(3) Run
(4) Continue or Next
Experience: Do high school, more practice more thinking
- The understanding of the experiment process, the understanding of the knowledge point in the experiment instruction book. (Below is just an example, you can write less, you can add other points of knowledge you learned, do not need to copy the contents of the guide book)
(1) Why cross-compiling is required? How do I install a cross-compilation environment?
(2) What relationship does the IP between the lab box, virtual machine redhat, and WinXP need to meet? How to configure? Why?
(3) What does each option in the Mount command mean in the experiment?
...
- The problems encountered during the experiment and the solutions. (Below is just an example, you can write less, you can add other problems and workarounds you encountered)
(1) Super terminal problem and solution
(2) Vim problems and solutions
(3) Linux command problems and solutions
(4) Cross-compiling problems and solutions
2062326 Qi Li Feng Experimental report of "Familiar with Java development environment"