--Java is a type of programming language, and object-oriented programming has been introduced as a major paradigm. --The Java language was developed with the aim of solving the portability problems of conventional software and realizing an ideal cross-platform program that does not depend on a specific environment.
The preparation required to learn Java is
--Java environment
→ JDK (Java SE Development Kit), system environment variables, command prompt, etc.
--Editor
→ Notepad, TextEdit, Sakura Editor, Atom, etc.
After preparing the above, write Java code in the editor, compile it at the command prompt, and develop it.
jdk-14.0.1_windows-x64_bin.exe
.
jdk-14.0.1_windows-x64_bin.exe
.
Next
.
Next
.
Close
after the installation is complete.
Settings
.
system environment variable
and click Edit system environment variable
.
Environment Variables
.
New
in thesystem environment variable
.
JAVA_HOME
in variable name
.
C: \ Program Files \ Java \ jdk-14.0.1
exists.
C: \ Program Files \ Java \ jdk-14.0.1
as the variable value.
JAVA_HOME
has been created.
Path
of thesystem environment variable
and click Edit
.
New
in Edit Environment Variable Name
.
% JAVA_HOME% \ bin
.
% JAVA_HOME% \ bin
and click ʻOK`.
cmd
in the search box to launch Command Prompt
.
javac -version
and if javac 14.0.1
is displayed, it is successful.-[Latest] How to build Java environment on Ubuntu
Recommended Posts