[Java] Install Java And Create First Hello World Program (10 Mins Guidelines) [Tutorial 1]

Veröffentlicht am: 22 Oktober 2019
auf dem Kanal: BorderlessTech
31
0

|| Remember to turn on subtitles/CC for a better tutorial guides. ||

[0:08] You may need jre (Java Runtime Environment) to be installed on your pc and jdk (Java Development Kit) to have Java development for this tutorial.
[0:10] Start tutorial.
[0:16] We will now get and install the jre first. Open google.com, key in "java download".
[0:25] Select "Download Free Java Software" (https://java.com/en/download/).
[0:36] Click on "Java Download".
[0:39] Click on "Agree and Start Free Download".
[0:45] Open downloaded JavaSetup8u221.exe (Depends on what version you downloaded).
[1:02] Then select "Install".
[1:42] Completed.
[1:55] Now we install jdk.
[2:00] Search for "java jdk download free".
[2:08] Select "Java Development Kit (64-Bit) - Free download and software... " (https://download.cnet.com/Java-Develo....
[2:18] Click on "DOWNLOAD NOW".
[3:14] Open downloaded jdk-12_windows-x...exe (Depends on what version you downloaded).
[3:20] Make sure both downloaded jre and jdk versions are compatible.
[3:44] Follow the installation instruction.
[4:21] Read more if you interested.
[4:31] Open command prompt (cmd) to check the installation status.
[4:39] Key in command "java -version" (you will get the jre version if the installation was successful).
[4:55] Then, search for "Edit the system environment variables".
[5:05] Click on "Environment Variables" button.
[5:11] Double click "Path" or click "Edit..".
[5:17] Java environment already set on my pc.
[5:22] If not, insert the Java path(s) to enable us to use the installed Java runtime environment and development kit.
[5:55] Then, move them to the upmost environment variable.
[6:12] Now create a new Text Document at desktop, and name it "HelloWorld" with .java extension (HelloWorld.java).
[6:36] Open it with Notepad or edit with Notepad++.
[6:54] Key in print "Hello World" instruction set.
[8:31] Then, save it.
[8:39] Open command prompt (cmd).
[8:46] Key in "cd desktop" (change directory to desktop).
[8:52] Then key in "javac HelloWorld.java" (Compile the file into .class).
[9:19] Finally, key in "java HelloWorld" to call created program.


Auf dieser Seite können Sie das Online-Video [Java] Install Java And Create First Hello World Program (10 Mins Guidelines) [Tutorial 1] mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer BorderlessTech 22 Oktober 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 31 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!