2062326 Qi Li Feng Experimental report of "Familiar with Java development environment"

Source: Internet
Author: User

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

    1. 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?

...

    1. 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"

Related Article

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.