In Eclipse, under Run Configuration, you can show the command line Eclipse uses to run your program on the Dependencies tab.