I have to log in to a server via SSH and run my java program on a directory that has massive data which is approximately as big as 50GB. From my calculation, running my code on the massive data will take about 6 hours. Is there any way to let the server run my java program so that there won't be any problem running my code even if I get disconnected from the server? Thanks in advance!
You can start a session in
screen and run your Java process inside it. Then you can detach it and disconnect your SSH session and rejoin later to check the progress.