Question: I would like to understand the basics of how to write, - TopicsExpress



          

Question: I would like to understand the basics of how to write, compile and execute a Java program on UNIX / Linux OS. Can you explain it with a simple example? Answer: In this article, let us review very quickly how to write a basic Hello World Java program and how to compile *.java program on Linux or Unix OS. 1. Write a Hello World Java Program Create the helloworld.java program using a Vim editor as shown below. $ vim helloworld.java /* Hello World Java Program */ class helloworld { public static void main(String[] args) { System.out.println("Hello World!"); } } read more from here : nnitindia/blog/java-hello-world-example-how-to-write-and-execute-java-program-on-unix-os/
Posted on: Sat, 17 Aug 2013 05:24:05 +0000

Trending Topics



Recently Viewed Topics




© 2015