create your 1st program :: Hello Java
let's create Hello Java program.
class Simple{
public static void main(String args[]){
System.out.println("Hello Java")
}
}
Resolving an exception "javac is not recognized as an internal or external command "
See the post how to set the jdk path in computer
java tutorial :: futureX techblog |
public static void main(String args[]){
System.out.println("Hello Java")
}
}
- save the file as Simple.java
- to compile open cmd & type javac Simple.java
- to run type java Simple & press Enter.
- output : Hello Java
Resolving an exception "javac is not recognized as an internal or external command "
See the post how to set the jdk path in computer
0 comments: