I have an Eclipse project that contains a file that I would like to be able to run from the command line remotely.
The reason being, it is easier for me to run it for a long period of time if it is running remotely on some server. That way, I can run my program via screen to monitor its progress.
The problem is, all of the things that eclipse takes care of (i.e. package hierarchies, dependencies on certain libraries) is messed up if I try to compile/run this file on its own.
How could I run the file remotely without having to edit the code that already exists?
Eclipse is actually all set up to export your applications as a runnable jar file, including a manifest pointing to all the necessary libraries which will also be exported. Look under the "Export..." wizard in the Navigator. I've used this to export some quite complex non-RCP applications!