how to execute a program in java linux code example Example: how to run java program in linux server javac HelloWorld.java java HelloWorld