Java Programming: How to Write, Compile and Run Your First Java Program

Publicado em: 13 Janeiro 2015
no canal de: javajoe
116
1

Java Programming: How to Write, Compile and Run Your First Java Program

Using Windows I go through the process of how to create your very first computer program in Java. This the traditional Hello World Program.

Before following the steps in this video you must have the Java JDK downloaded and installed correctly on your computer.

http://www.oracle.com/technetwork/jav...

Once you install that make sure you add Java to your Path environment variable as described here - https://www.java.com/en/download/help...

If you have the above steps completed then you should be able to follow what I do in the video to get the Hello World Java Program up and running.

The code used in the video is here for your convenience for copy and pasting:

public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}

Also here are the commands used in the command prompt:

cd Documents\Programming Tutorials
javac
javac HelloWorld.java
java HelloWorld

Should you have any trouble, the below links will be beneficial, otherwise just post a comment here with your query.

http://www.learnjavaonline.org/en/Hel...!
http://docs.oracle.com/javase/tutoria...
http://www.java-made-easy.com/java-he...
https://thenewcircle.com/static/books...


Nesta página do site você pode assistir ao vídeo on-line Java Programming: How to Write, Compile and Run Your First Java Program duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário javajoe 13 Janeiro 2015, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 116 vezes e gostou 1 espectadores. Boa visualização!