How to install eclipse for java 10 - Java 10 Examples

Overview

In this tutorial, we show you how to install Eclipse and get started with Java JDK 10 on Windows 10.

How to install eclipse for java 10

Step 1: Install Eclipse on Windows 10

For more details please see the below link. Install Java JDK 10 Step by Step
  • Go to Oracle Java SE Downloads to download the JDK 10 latest version.
  • Double click the JDK installer "jdk-10.0.1_windows-x64_bin.exe" file to install both the JDK on windows 10.

Step 2: Download Eclipse support java 10

  • Go to Eclipse Page to download the Eclipse Photon R Packages: http://www.eclipse.org/downloads/packages/release/Photon/R.
  • For Platform, choose "Windows 64bit", then select the 'Eclipse IDE for Java EE Developers'. We will receive a 'eclipse-jee-photon-R-win32-x86_64.zip' file.
  • To run Eclipse, unzip the 'eclipse-jee-photon-R-win32-x86_64.zip' file and open the "eclipse-jee-photon-R-win32-x86_64\eclipse\" folder and click on the "Eclipse" icon.

Step 3: Write a Hello Java 10! Program

Click File -> New -> Other ... -> Choose Java Project. Click Next
create a java project
 Enter the 'Hello Java 10' in Project Name input and select Java Runtime Environment (JRE) is 'JavaSE-10'. Click Next
Create Project and Select Java Runtime Environment (JRE)
Then, choose Don't Create module-info.java file.
Finish
project explorer
Create a Hello class under com.jackrutorial package and write the following code in it.
Hello.java
package com.jackrutorial;

public class Hello {

 public static void main(String[] args) {
  var helloWorld = new String("Hello Java 10!");
  System.out.println(helloWorld);
 }
}

Run Application and check Eclipse console

Output
Hello Java 10!
Previous Post
Next Post

post written by: