Download and install Java SE JDK 8 64-bit
of filename jdk-8u121-windows-x64.exe
from
Download Eclipse IDE 64-bit Neon
of filename eclipse-java-neon-3-win32-x86_64.zip
from
Note: Download Eclipse in zip file format because no installation is required. Do not download the eclipse-inst-win64.exe executable file.
Copy the downloaded zip file eclipse-java-neon-3-win32-x86_64.zip to C drive
Extract the zip file to C drive. You do not need to install this file. The zip file is not the executable file.
Right-click at
C:\eclipse-java-neon-3-win32-x86_64\eclipse\eclipse.exe
Select “Send to” > select “Desktop (create shortcut)”
Rename the shortcut file as “eclipse-java-neon-3-win32-x86_64”
On the desktop, double-click the eclipse desktop icon shortcut
of shortcut name “eclipse-java-neon-3-win32-x86_64”
Create and Select a directory as workspace at
Workspace: D:\workspace_eclipse
Close the Welcome screen
Eclipse IDE Menu > File > New > Java Project
Project Name: projectTest1
Click the button Finish
Go to Package Explorer window
Right-click on the “src” folder > select New > select Class
On the Java Class window: Java filename: Name: Class1
Click the button Finish
Filename: Class1.java
Type the following file content:
///// ///// ///// /////
package projectTest1;
public class Class1 {
public static void main(String[] args) {
System.out.println("hello world");
}
}
///// ///// ///// /////
Toolbar > Play button
See the program output in the console window.
///// ///// ///// /////
hello world
///// ///// ///// /////
No comments:
Post a Comment