From installing Eclipse to executing Java (PHP)

What you can do with this article

--Eclipse can be installed and Java can be executed --Can run PHP (if XAMPP is already installed) ... It's been long, so another article: Allow PHP to be developed in Eclipse --Qiita


URL: ▼ I am not particular about it, so select the latest version image.png

▼ Python and XAMPP are already included, so select Java (Full Edition) this time. There is 1,5GB, so wait patiently. image.png


▼ Unzip after download is complete. It should look like this. Run [eclipse.exe] image.png

▼ The startup screen appears. Wait about 1 minute for the first time to clear the cache image.png

▼ Select a workspace (where you put the actual source etc.) image.png

▼ IDE screen is displayed after selecting workspace image.png

▼ Workspace has only [.metadata] folder image.png

Until Java application execution

▼ Select Create Java Project image.png

▼ Enter the project name and click "Next" (It's okay to complete it, so take a look) image.png

▼ Build settings. "Done" without touching this time image.png

▼ "Creating" What a mess ... It seems to be a new feature of Java 9. For the time being, "create" image.png

▼ Java project completed image.png

▼ Create a file to write the source. Right-click on "Package Explorer" on the left side of the screen → "New" → "File" image.png

▼ Enter the file name and click "Finish" image.png

Actually write the code. It seems that you have to declare the package just by "creating", so declare the [hallowWorld] package. The IDE automatically changes the directory of the actual file.

package hellowWorld;
class hellowWorld{
  public static void main(String[] args){

▼ Save and execute the code. If the source file is active, you can execute it from the "Run" mark at the top of the screen. image.png

▼ Execution result is output to the console and ends image.png

that's all

Recommended Posts

From installing Eclipse to executing Java (PHP)
Connect from Java to MySQL using Eclipse
Changes from Java 8 to Java 11
Sum from Java_1 to 100
From Java to Ruby !!
Minecraft BE server development from PHP to Java
Migration from Cobol to JAVA
How to jump from Eclipse Java to a SQL file
Generate models from JSON to Swift, PHP, C #, JAVA
From Ineffective Java to Effective Java
Java to be involved from today
From Java to VB.NET-Writing Contrast Memo-
Java, interface to start from beginner
Switch from Eclipse to VS Code
The road from JavaScript to Java
java Eclipse How to debug javaScript
[Java] Conversion from array to List
If you want to change the Java development environment from Eclipse
I tried to translate the error message when executing Eclipse (Java)
Convert from java UTC time to JST time
Post to Slack from Play Framework 2.8 (Java)
Java: How to send values from Servlet to Servlet
[Java] Flow from source code to execution
Introduction to monitoring from Java Touching Prometheus
Precautions when migrating from VB6.0 to JAVA
Memo for migration from java to kotlin
Type conversion from java BigDecimal type to String type
Access protected fields from grandchildren (Java / PHP)
If a person from Java learns PHP
Upsert from Java SDK to Azure Cosmos DB
Run R from Java I want to run rJava
POST images from Android to PHP using Retrofit
Migration from Eclipse to IntelliJ (on the way)
Connect to Aurora (MySQL) from a Java application
To become a programmer from a Java shop
Migrate from Java to Server Side Kotlin + Spring-boot
Programming beginners learn PHP from a Java perspective-variables-
Migrating from Eclipse server function (Tomcat) to Embed Tomcat
[Java] Introduction to Java
[Java] How to switch from open jdk to oracle jdk
I want to write quickly from java to sqlite
Introduction to java
Select * from Java SDK to Azure Cosmos DB
Launch Docker from Java to convert Office documents to PDF
Convert Java enum enums and JSON to and from Jackson
Submit a job to AWS Batch with Java (Eclipse)
[Java] I want to calculate the difference from the date
How to write Scala from the perspective of Java
6 features I missed after returning to Java from Scala
How to change from Oracle Java 8 to Adopt Open JDK 9
[Java] How to erase a specific character from a character string
[Eclipse] Summary of environment settings * Updated from time to time
How to Git manage Java EE projects in Eclipse
How to run Java EE Tutial on github on Eclipse
[Java] Platforms to choose from for Java development starting now (2020)
Call Java from JRuby
Java (eclipse) installation procedure
Eclipse ~ Java project creation ~
Migrate from JUnit 4 to JUnit 5
Eval Java source from Java
[Java] Connect to MySQL