Major error when trying to runa compile script on a mac.
heres the error:
kevin-roses-computer:~/Desktop/nexus kevinrose$ ./compile.sh
Compiling Randoms
javac: invalid flag: Randoms/*.java
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:noneGenerate no debugging info
-g:{lines,vars,source}Generate only some debugging info
-nowarnGenerate no warnings
-verboseOutput messages about what the compiler is doing
-deprecationOutput source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path>Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path>Override location of bootstrap class files
-extdirs <dirs>Override location of installed extensions
-endorseddirs <dirs>Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding>Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-versionVersion information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag>Pass <flag> directly to the runtime system
Compiling Scripts
javac: invalid flag: Scripts/*.java
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:noneGenerate no debugging info
-g:{lines,vars,source}Generate only some debugging info
-nowarnGenerate no warnings
-verboseOutput messages about what the compiler is doing
-deprecationOutput source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path>Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path>Override location of bootstrap class files
-extdirs <dirs>Override location of installed extensions
-endorseddirs <dirs>Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding>Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-versionVersion information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag>Pass <flag> directly to the runtime system
Compiling iScar PLugins
javac: invalid flag: iscarplugins/*.java
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:noneGenerate no debugging info
-g:{lines,vars,source}Generate only some debugging info
-nowarnGenerate no warnings
-verboseOutput messages about what the compiler is doing
-deprecationOutput source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path>Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path>Override location of bootstrap class files
-extdirs <dirs>Override location of installed extensions
-endorseddirs <dirs>Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding>Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-versionVersion information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag>Pass <flag> directly to the runtime system
Compiling Plugins
error: cannot read: plugins/*.java
1 error
Heres the file im tring to run.
echo Compiling Randoms
javac -cp .:././jars/impsoft.jar:././jars/swt.jar:././jars/jython.jar:././plugins Randoms/*.java
echo Compiling Scripts
javac -cp .:././jars/impsoft.jar:././jars/swt.jar:././jars/jython.jar:././plugins Scripts/*.java
echo Compiling iScar PLugins
javac -cp .:././jars/impsoft.jar:././jars/swt.jar:././jars/jython.jar iscarplugins/*.java
echo Compiling Plugins
javac -cp .:././jars/impsoft.jar:././jars/swt.jar:././jars/jython.jar plugins/*.java
All help would be appricated.

