Javac: invalid flag error while trying to compile using Library Compiler
조회 수: 6 (최근 30일)
이전 댓글 표시
Hello all,
I'm new to MATLAB and to Java so I'm pretty lost here. I'm trying to convert a MATLAB GUI into a standalone Java application. I used the Library Compiler tool to package the code into a Java package as described here:
But I'm getting lost at the step after running the installer. I created the getmagic.java file in the same directory as the makesqr.jar file and attempted to run the following command:
javac -classpath "mcrroot\toolbox\javabuilder\jar\javabuilder.jar";.\getmagic.java .\makesqr.jar
I get the error
javac: invalid flag: .\makesqr.jar
Are my files not saved in the correct place? Thanks in advance!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!