Run Java program in Linux

This is the sample java file “Svnlabs.java” to be executed on linux command line….. import java.lang.*; import java.io.*; public class Svnlabs { public static void main(String args[]) { System.out.println(”svnlabs.com”); } } Output: [root@localhost ~]# javac Svnlabs.java [root@localhost ~]# java Svnlabs svnlabs.com [root@localhost ~]#