I have compiled an article about building a development environment for Java in Eclipse as a memorandum.
As of August 2020.
OS: Windows10
Prepare the Java execution environment required to run the Eclipse installer (obtain the JDK).
https://openjdk.java.net ・ Install → jdk.java.net → Ready for use: JDK 14 → Windows 64bit Download JDK </ font> from. -Unzip it and check that " jdk-14.0.2 </ font>" is created. -Move " jdk-14.0.2 </ font>" directly under the C: \ drive (Although it can be done in other places, if the path is too long or Japanese is included, it may cause an error. Become). -The path will be " C: \ jdk-14.0.2 </ font>". (14.0.2 is the version at the time of article creation)
Java SE Development kit Kit required for programming development in Java JRE </ font>, Java SE, etc. are included.
Java Runtime Environment Java runtime environment Eclipse itself runs on Java. Without it, even the Eclipse installer won't work (you'll be asked exactly where java1.8.0 (java.exe)?). </ font>
Java Standart Edition A summary of the minimum functionality required for Java programming System.out.println is also included here
Windows key → enter "environment variable" → "Edit system environment variables" → "Environment variables"
"New" in the lower "System Variables" → Variable name "JAVA_HOME", variable value " C: \ jdk-14.0.2 </ font>"
Find "Path" in the lower "System Variables" and click W → The "Edit Environment Variable Name" screen opens. Enter "New"-> " C: \ jdk-14.0.2 \ bin </ font>"
Open console and if you can check the version with "java -version", it's done
To simplify the command when running java from console. If you set the path, you can use the "java -version" command. If you do not set the path, up to "C: \ jdk-14.0.2 \ bin \ java.exe -version" You have to type a command.
If you do not set Path, you will be asked "Where is java1.8.0 (java.exe)?" When running the Eclipse installer. If Path is set, the Eclipse installer will be executed in one shot.
http://www.eclipse.org/ 「Download」→「Download 64bit」 Download the Eclipse installer at
-Right-click the installer → run as administrator
-Select "Eclipse IDE for Java Developers" "Eclipse IDE for Enterprise Java Developers" for enterprises -The installation folder should be easy to understand, such as " C: \ eclipse \ jee-2020-06 </ font>". -The workspace setting specifies the save location of the Java project to be created. Make an easy-to-understand place such as " C: \ work </ font>". Note that if the path is too long or contains Japanese, it will cause an error.
There is nothing special to mention about other items. If you continue to execute it, the installation will be completed.
Recommended Posts