In the compile.sh file, the code written was javac does not contain the source or target java version. When I do mention them as follow :
javac -source 1.7 -target 1.7....., it shows me classpath error mentioning src is incorrect
This error does not show up when I do not mention the source and destination. But when I run the compile.sh as is, it says that the source should be 1.5 and above.
In the compile.sh file, the code written was javac does not contain the source or target java version. When I do mention them as follow : javac -source 1.7 -target 1.7....., it shows me classpath error mentioning src is incorrect
This error does not show up when I do not mention the source and destination. But when I run the compile.sh as is, it says that the source should be 1.5 and above.
Could you please tell how I can fix it?
Thanks