1. You in Application > Accessories > gedit text editor
2. Save as Welcome.java to desktop or other directory
3. Now compile your file Welcome.java command with
$javac Welcome.java
$ java Welcome
5. Then the java Program will be execute by jvm and you will see the following output.
Hello World!
Welcome to Java Programming! on Ubuntu 10.04
No comments:
Post a Comment