Compile and execute your java project on a remote machine from within IntelliJ.