Build Java environment and output hello world [Beginner]

I will leave little by little what I learned after joining the company with no java experience. The output is important, isn't it? Since it was made by a super beginner, there are a lot of glossary. I would appreciate it if you could point out any strange points.

1. 1. JDK installation

You can download it from here. Since there are many articles that describe download procedures and operation checks, I will omit them here.

What is the JDK?

Java Development Kit, an abbreviation for Java Development Kit. It's a development kit that includes all the things you need to create and run Java.

2. Eclipse installation

You can download it from here. I will omit the procedure 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 code here.

3. 3. Let's put out hello world anyway

Now that you can use Java, let's write it anyway.

Open eclipse and there is a file in the upper left, so create a new project from there. Click file-> new-> Java Project, decide on a name, and finish with finish. This time, let's call it the helloworld project.

image.png

Place the cursor on src, right-click and select new-> class to create a HelloWord class. Let's write the code here. (Because it is a class, please capitalize the first letter and use Hello Word. The image is a mistake.) image.png

Write the code to output to the console.

HelloWorld.java


package helloworld;

public class HelloWorld {
	public static void main(String args[]){
		System.out.println("HelloWorld");
		}
}

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 add gradle and spring Next => Add spring boot and gradle to eclipse

Recommended Posts

Build Java environment and output hello world [Beginner]
Minimal Java environment construction and Hello World
Android OS (7.1.2) build and Hello World
Hello world in Java and Gradle
Java, Hello, world!
Java Hello World
"Hello World" in Java
Java Learning (1)-Hello World
Hello World in Java
Until you install Gradle and output "Hello World"
Wastefully creative "Hello World" output method list (Java)
java hello world, compile, run
Java beginners read Hello World
What happened in "Java 8 to Java 11" and how to build an environment
Differences between "beginner" Java and Kotlin
[Java beginner] About abstraction and interface
Hello World for ImageJ Java Plugin
Hello World on AWS Lambda + Java
Hello world with Kotlin and JavaFX
Hello World with Docker and C
[Java beginner] == operator and equals method
Hello World in java in eclipse now
Build Java development environment (for Mac)
Output PDF and TIFF with Java 8
Hello World with GWT 2.8.2 and Maven
Compare Hello, world! In Spring Boot with Java, Kotlin and Groovy
Java starting from beginner, variables and types
java beginner 4
Build and manage RStudio environment with Docker-compose
Hello world with Java template engine Thymeleaf
java beginner 3
[Java] How to output and write files!
java beginner
What is Java and Development Environment (MAC)
Build a Java development environment on Mac
Build Java 8 development environment on AWS Cloud9
Java development with Codenvy: Hello World! Run
Hello World on Mac VS Code Java
Hello world with Kotlin and Tornado FX
Install Docker and create Java runtime environment
Build Apache and Tomcat environment with Docker. By the way, Maven & Java cooperation
Hello World with Java Servlet and JSP (Easy web server startup with Maven + Jetty)
Output Hello World in kotlin's simple main function
Try to build Java8 environment on Amazon Linux2
Java management and STS (Eclipse) build path settings
[Java] How to get and output standard input
Build and test Java + Gradle applications with Wercker
[Java] Build Java development environment on Ubuntu & check execution
Build an E2E test environment with Selenium (Java)
Basics of threads and Callable in Java [Beginner]
[Java] Hello World with Java 14 x Spring Boot 2.3 x JUnit 5 ~
Display "Hello World" in the browser using Java
Display "Hello World" in the browser using Java
Prepare a scraping environment with Docker and Java
Build a development environment for Docker, java, vscode
Build a Java runtime environment on Sakura VPS
[Beginner] Install java development tool in cloud9 development environment.
Build a Java development environment with VS Code
[Java] output, variables
vagrant java build
[Java] Environment construction