Until now, I only wrote Java on Progate, so I didn't build a development environment on my own PC. I will need to create it myself from now on, so I finally decided to build a development environment.
For the time being, "Pleiades All in One" introduced in this article ([A must-see for Java beginners!] Explaining how to build a Java development environment!) I downloaded it and installed Eclipse. Since I was able to start it, I decided to write a simple code and execute it.
"New"-> "Java Project" Created by entering an appropriate project name from. "New" → "Package" Also created here with an appropriate package name. "Package"-> "New"-> "Class" Created by inputting appropriately here as well.
Write a program that displays only one sentence as a trial and "execute". However, it throws an error and is not executed.
To find a solution in various ways.
What went wrong was ** The JDK wasn't included in the first place. (Absurd) **
Originally, I'd just try to wear it sideways with "Pleia des All in One"! It was because I did it.
Immediately download and install JDK 12.0.1 I added JDK 12.0.1 to "Installed JRE" from the Eclipse settings and got nothing.
At the time of writing the article, it seems that I was thinking about jdk and jre in a mess.
There is no JRE installed in a workspace that is strictly compatible with this environment.
The warning was still issued. After that, when I searched for jre in "Pleiades All in One" from "Installed JRE" and reset the settings, I was able to execute it without any warning. (I got a different error this time, but that's another story)
――I thought you shouldn't try to wear it sideways to the habits of beginners (a feeling of smallness).
Anyway, now that the development environment is ready, I will do various things.
Recommended Posts