Is it possible to add a jar file to the classpath programatically?

 채택된 답변

Walter Roberson
Walter Roberson 2015년 9월 24일

0 개 추천

댓글 수: 3

So to add the following jar file to the classpath
C:/Micro-Manager-1.4/plugins/Micro-Manager/MMCoreJ.jar
javaaddpath(C:/Micro-Manager-1.4/plugins/Micro-Manager/MMCoreJ.jar','-end')
Walter Roberson
Walter Roberson 2015년 9월 24일
Looks like it to me.
Jason
Jason 2015년 9월 24일
So when I compile this so to run under the MCR, will the compiled exe add these jars ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

질문:

2015년 9월 24일

댓글:

2015년 9월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by