Home > Java > JavaBase > How to run java program in editplus

How to run java program in editplus

醉折花枝作酒筹
Release: 2023-01-13 00:39:56
Original
8526 people have browsed it

Running method: First click "Tools" - "User Tools" - "Tool Group" - "OK" button; then click "Add Tool" and select "Application" in the pop-up menu; finally command Select java.exe under bin in the jdk installation directory, select "file name (excluding extension)" as the parameter, and set the initial directory to "file directory".

How to run java program in editplus

The operating environment of this tutorial: windows7 system, java10 version, Dell G3 computer.

The method of compiling and running Java with Editplus is as follows:

First start EduitPlus and perform the following operations: (Tools"-->"Configure user tools...-->Group name. ..) and rename Tool 1 in the picture below to "Java" as shown in the picture below:

How to run java program in editplus

Next click "Add Tool", and then click "Apply" Program", as shown in the figure below:

How to run java program in editplus

Then select javac.exe in bin in the jdk installation directory. Among them, the parameter selects "file name", that is, $(FileName). Select "File Directory" as the initial directory, which is $(FileDir). You can add the compilation function, as shown in the figure below:

How to run java program in editplus

##Next, you need to add the execution function, and you need to do the following: (Add Tool>>”--> "Application-->Execute) In addition to the above operations, this time the command selects java.exe under bin in the jdk installation directory, and the parameter selects "File name (excluding extension)", that is, $(FileNameNoExt). Select "File Directory" as the initial directory, which is $(FileDir). As shown in the picture below:

How to run java program in editplus

Related free learning recommendations: java basic tutorial

The above is the detailed content of How to run java program in editplus. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template