I had written a shell script, now i need write commands in this script to run the java class so that when that script is run it also runs the java class.
Assuming the class has been compiled into bytecode (the .class file), you should be able to run it like any other command with the java command. The java command (to my knowledge) does require the .class to be in the current directory, though...Maybe a .jar?
Comment