In this tutorial I will show you how to get started with Java. Before you get the IDE, you need a Java SDK. Without Java SDK, all of the programs and games that was coded in Java will not run.
Here is the website of the Java SDK: https://www.oracle.com/java/technolog...
After you download and installed Java SDK, you can download the IDE.
Here is the link to the IDE website: https://www.jetbrains.com/toolbox-app/
Then find "IntelliJ IDEA Community" in the toolbox app and click install. It will take a while depending on your computer. as soon as you installed it, run it.
You will get the welcome screen. Follow the welcome screen and the IDE will show up. To create a new project click File - New - Project. Then you click next multiple times until you get to the screen that allows you to name your project. Name the project and continue clicking next until you successfully created it.
To implement java souce code, right click the folder where it says src, go to new, and implement package in the src folder (it will ask you to name the package). Then right click the package you created, go to new, and implement a class. Every Java source code is called a class.
You will get this:
package [package name];
public class [class name] {
}
Inside public class, you type in:
public static void main (String[] args){
}
Inside the public static void main you type in:
System.out.println("Hello Tut");
To run the program, right click on any text and click "run [project name].main()" and it will run the program.
If you get "Hello Tut" on the console, that means your code worked.
Hope this helps.
YOUTUBE/BITCHUTE: like and subscribe
VLARE: like and follow
LBRY: follow and download
Email - [email protected]
#dev #programming #cpp