Ok, im quite new to linux but have an "ok" knowledge of it.
I am trying to convert my batch file into a .sh file and i think i have it perfect but it just will not work, so obviously not perfect.
This is the code for my batch file.
java -Xmx800m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
This works perfectly on my own computer without any problems. I want to host this on my Linux VPS (CentOS 5) and need it to be converted into run.sh.
This is the code for my run.sh.
java -Xmx800m -cp bin;deps\poi.jar;deps\mysql.jar;deps\mina.jar;deps\slf4j.jar;deps\slf4j-nop.jar;deps\jython.jar;log4j-1.2.15.jar; server.Server
As I have said I
don't think anything is wrong with it but obviously there is as it will not run the server. If someone could help me with this it would be very much appreciated.