I have a script which has the following
#!/bin/bash javac -classpath /netweka/weka-3-6-10/weka.jar ./*.java
when I try to run this script on a Linux terminal, I get an error saying :
: not found javac: invalid flag: Usage: javac use -help for a list of possible options : not found*.java
I want to compile all the java files in the current directory. What am I missing ?
Thank you in advance.
javac -classpath /netweka/weka-3-6-10/weka.jar *.java- anubhava