I received the following emails after handing in hw2.jar:
hw2.jar is an invalid option or argument. Usage: javac where includes: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -O Optimize; may hinder debugging or enlarge class files -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath Specify where to find user class files -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirs Override location of installed extensions -d Specify where to place generated class files -encoding Specify character encoding used by source files -target Generate class files for specific VM version ******COMPILATION RESULTS FOR hw2.jar******
Exception in thread "main" java.lang.NoClassDefFoundError: hw2 ******EXECUTION RESULTS FOR hw2******
Does this mean there was a problem with my hw2.jar? It contained Room.java, MazeWall.java, MazeCreator.java, UnionFind.java, and handin.txt -- which should make it complete according to the assignment. There were no problems compiling on my end after unpacking the archive and copying the provided Maze.java. Anyone else had a similar problem? Thanks |