Discord Server Twitter Donation Youtube Google+
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Writing=>Compiling=>Executing in Java without IDE
In The Name Of Allah
Al-Salam Alekum

I will show you how to write a java programs without using IDE.
We will use CMD and Notepad.

let's start..

First Writing:
Open your Notepad and write your code:
import javax.swing.JOptionPane;
public class Welcome
public static void main( String args[ ] )
JOptionPane.showMessageDialog(null, "" );
Then save it with the class name, Here the name is "Welcome" so we will save it as (Welcome.java)

Next Compiling:
Open CMD and we will compile the file by using javac command:
javac Welcome.java
this will generate a file with name (Welcome.class).

Finally Executing:
We will use again CMD by using "java + className" command:
java Welcome

Thanks for reading.

Wa Salam Alekum
* This is My Home *
Reply 0

Users browsing this thread: 1 Guest(s)