Normally, you can use the JDK (Java Development Kit) with an IDE (Integrated Development Environment) to develop. To start testing Java, you can type jshell in your command prompt and code a little bit. Alternatively, the easiest way to start is by creating a simple Java class (using Notepad, for example): public class Main { public static void main(String[] args) { System.out.println("Hello world!!!"); } } Save the file as Main.java. Open the file directory in your command prompt and type: javac Main.java And finally type, java Main You'll have "Hello world!!!" as result. I hope that helps!
Normally, you can use the JDK (Java Development Kit) with an IDE (Integrated Development Environment) to develop.
To start testing Java, you can type jshell in your command prompt and code a little bit.
Alternatively, the easiest way to start is by creating a simple Java class (using Notepad, for example):
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!!!");
}
}
Save the file as Main.java. Open the file directory in your command prompt and type:
javac Main.java
And finally type,
java Main
You'll have "Hello world!!!" as result. I hope that helps!
Where is the next step?
and how to launch?