20182333 2019-2020-1 "Object-oriented programming and data structures" Experiment report
Course: "Programming and Data Structures"
Class: 1823
Name: Jia Yu Qian
Student ID: 20182333
Experiment Teacher: Wang Zhiqiang
Experiment Date: September 9, 2019
Compulsory / Elective: Compulsory
1. Experimental content
- Based on the command line and IDE (Intellj IDEA Easy Tutorial Java program simple editing, compiling, running and debugging. (The experiment uses the command line)
- Exercise Linux basic commands;
- JDB to debug Java learning skills program
- Write simple Java programs.
2. Experimental procedure and results
process
1, using vim compiler to write a small program.
2, with the javac -g -d bin src / program name compiler (with extension).
3, using jdb -calsspath:. ./ bin program name (no extension).
4, with the git command to upload the program code to the cloud.
result
Although eventually completed, and also the acceptance by the assistant, but the process is really very difficult and tortuous, and very painful.
3. Experimental problems encountered in the process and settlement process
- Question 1: JDB debugger is not installed, no package.
- Question 1 solution: by modifying the source image blog, and after watching his source after modification, you can download.
Question 2: git push Push target is not configured.
Problem 2 Solution: Although he looked at the use of open-source Chinese (code cloud) managed code in the blog, but still did not understand, and finally the establishment of a warehouse with the help of a personal assistant, and personal cloud warehouse and code link to complete the upload.
Other (perception, thinking, etc.)
- Experiments must be a good preview, blog is also necessary to carefully look at. Not miss any of the steps, or are likely to cause the failure, but he did not know what went wrong.
Linux and java must be more practice, Practice makes perfect, only more practice to know how to use the command and the correct syntax.