I am trying to compile the magicsquare example in the documentation for MATLAB Builder for Java 1.0.
When I execute the command to compile getmagic.java,
javac -classpath .;$MATLABROOT\toolbox\javabuilder\jar\javabuilder.jar; .\distrib\magicsquare.jar getmagic.java
I receive the following error
javac: invalid flag: .\distrib\magicsquare.jar
Best Answer