I have a lot of Java file in the repository(svn add and commit), I know that javac is way to compile the java file but the problem is how do i run this Java file in the svn directory?
jin Otanashi wrote:that make a lot of sense now. Just to make sure .sh file is a script shell that I need implemented the make linux command or makefile in the .sh file
Naziru Gelajo wrote:
jin Otanashi wrote:that make a lot of sense now. Just to make sure .sh file is a script shell that I need implemented the make linux command or makefile in the .sh file
A .sh file can be a bash script file, but it is absolutely not related to Java as Java and Bash are two different languages. Shell scripting is different in Linux and to compile a shell script you need to make sure that you have executable access of that file in your permissions (chmod command allows you to modify permissions). Then you can execute that script with ./filename.sh