[Java] Build Java environment and output helloworld [Beginner]

1 minute read

I will leave little by little what I learned by joining the company with no Java experience. The output is important. Since it was made by a super beginner, I have a lot of terminology. I would appreciate it if you could point out anything strange.

1. JDK installation

You can download it from here. There are many articles that describe the download procedure and operation check, so I will omit them here.

What is JDK?

Abbreviation for Java Development Kit, a Java development environment. You’ll need all that and all that you need to build and run Java, but it’s a set of development kits.

2. Eclipse installation

You can download it from here. The procedure is omitted here as well.

What is eclipse?

An integrated development environment for efficient development, also known as an IDE. It’s like a workspace where you actually write your code.

3. Anyway try out the hello world

Now that Java is available, let’s write it anyway.

Open eclipse and there is a file in the upper left, so create a new project from it. Click file -> new -> Java Project, select a name, and finish. This time, we will use the helloworld project.


Place the cursor on src and right-click to create a HelloWord class from new -> class. I will write the code here. (Because it is a class, please use Hello Word with the first letter capitalized. The image is a mistake) image.png

Write the code to output to the console.


package helloworld;

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

run with run image.png

I was able to output safely.

I have omitted the environment construction, but I will post a reference site. https://techacademy.jp/magazine/9039

Next let’s put gradle and spring Next => Add spring boot and gradle to eclipse