I\'ve the java class:
package com.server.main; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; public class Main { pu
Look here: http://docs.oracle.com/javase/tutorial/getStarted/problems/index.html
I find there answer to my problem with compile and run java application in terminal.