Basic knowledge of Java development Note writing

Development flow

Java development It is done in 3 steps: (1) source code creation, (2) compilation, and (3) execution. I will follow each step in detail.

① Creation of source code

Write instructions to the computer according to the grammar defined by Java.

public class Lesson {
    public static void main(String[] args) {
    }
}

A program that can be read by humans is called a source code.

② Compile The computer works as instructed by the CPU interpreting the programming. However, the CPU cannot directly read the source code written by a person and run it. It needs to be converted into a program called a machine language so that it can be interpreted by the CPU. The process of converting is compilation. By compiling, it is converted to a state called bytecode. During this process, the source code is also checked, and if there is an error, the compilation will fail and the error will be displayed. This process is performed by conversion software called a compiler.

③ Execution When the compilation is completed successfully, the software called the interpreter is instructed to execute the bytecode. The interpreter has a mechanism called JVM (Java Virtual Machine) inside, and while reading the bytecode, it converts it to the machine language and sends it to the CPU. This causes the computer to operate as instructed by the source code.

References

"Introduction to Java for a refreshing look] Second Edition Author: Kiyotaka Nakayama and Daigo Kunimoto Publisher: Impress Corporation

Please refer to the link below for the procedure of development with eclipse https://www.javadrive.jp/eclipse3/step/

Recommended Posts

Basic knowledge of Java development Note writing
[Basic knowledge of Java] Scope of variables
Java basic knowledge 1
[Basic knowledge of Java] About type conversion
Basic knowledge of SQL statements
Introduction to Java for beginners Basic knowledge of Java language ①
Basic knowledge of Ruby on Rails
Basic usage of java Optional Part 1
Reading and writing Java basic files
[Note] Handling of Java decimal point
Basic processing flow of java Stream
Basic structure of Java source code
Basic knowledge
[Processing x Java] Construction of development environment
[Java] Personal summary of conditional statements (basic)
[Note] Cooperation between Java and DB (basic)
The story of writing Java in Emacs
Java development training
Way of thinking when studying basic program knowledge
Java knowledge summary
[For beginners] Introduction to Java Basic knowledge of Java language ③ Array, selection structure, iteration structure
Things to be aware of when writing Java
[Ruby] Basic knowledge of class instance variables, etc.
[Java development] Java memory
Java basic grammar
Java basic grammar
[Note] Java: Measures the speed of string concatenation
Java development environment
[Java] Basic structure
[Java] [Basic] Glossary
[Note] Java: Speed of List processing by purpose
Java basic grammar
Java basic grammar
[Java] Overview of Java
Java exercises [Basic]
Java review ③ (Basic usage of arrays / reference type)
[Java] Basic summary of Java not covered by Progate ~ Part 1 ~
Please note the division (division) of java kotlin Int and Int
[Beginner] Create a competitive game with basic Java knowledge
Java review ① (development steps, basic grammar, variables, data types)
Summary of knowledge required to pass Java SE8 Silver
[Java] When writing the source ... A memorandum of understanding ①
Java abstract modifier [Note]
Predicted Features of Java
[Java] Internal Iterator Note
[Java] Significance of serialVersionUID
Java development environment memo
Review of java Shilber
[Java] Data type ①-Basic type
java --Unification of comments
Java JUnit brief note
Java basic date manipulation
Java basic naming conventions
Basic format of Dockefile
History of Java annotation
[Note] Java: String search
Development of factor level
[Note] Java: String survey
java (merits of polymorphism)
Java learning memo (basic)
My Study Note (Java)