Run Java Project from Ubuntu Terminal?
- by Christopher Gwilliams
I have a small java project that handle connections.
In order to run it from the terminal I have to cd into the folder that contains the source and run the following command:
java -cp classes com.packagename.mainclass
Where classes is the folder that contains the classes.
I want ubuntu to run this application on startup, is there a Java command I can use? Or am I just better off creating a shell script?
Thanks!