Accessing Lookup java class in Matlab

Hello,
We have developed a simple class in the Netbeans IDE. This class is having a method which internally calls the “Lookup” for getting a reference of the Assembly Factory class.
Observations: 1.The compiled classes works properly when started from the dos command prompt (thus starting a new JVM with java cmd). 2.Instantiating the class within MATLAB (which has a standard JVM already started) does not work(returning null) due to the Lookup class used in the assembly class (other “standard” classes works fine without Lookup).
Please can you give any idea why “Lookup” class is not working in MATLAB or do we require any dependencies? Also provide us some examples of "Lookup" class how it is used in the MATLAB.
Note – Included all dependent jars which are used by the Project in the MATLAB java search path.
Thanks, Ullas

Risposte (0)

Questa domanda è chiusa.

Richiesto:

il 23 Gen 2012

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by