Adding to Class Path Programatically.

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

 Accepted Answer

3 Comments

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')
Looks like it to me.
So when I compile this so to run under the MCR, will the compiled exe add these jars ?

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 24 Sep 2015

Commented:

on 24 Sep 2015

Community Treasure Hunt

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

Start Hunting!