Closed akshay-vedi closed 2 years ago
Hello, thanks for your prompt reply. I am not very experienced with compiling java files. Could you please let us know how I can make these changes in the imageJ. I am thinking that I need to create a new jar file for scijava.ui.swing and replace the jar file in imageJ with this new one. If that's the case, could you please send us the updated jar file, that would be extremely helpful. Thanks again!
@akshay-vedi Ahh yeah, I fixed some problems, and I meant to respond here as well yesterday, but got pulled onto other things.
Thanks for the report! Two different errors here:
NullPointerException at net.imagej.matlab.ImageJMATLAB.disableIJExit(ImageJMATLAB.java:247)
, fixed with imagej/imagej-matlab@fb695feaed5fc19802ee7847566c59630420d6f0IllegalArgumentException: Invalid look and feel: at org.scijava.ui.swing.laf.SwingLookAndFeelService.setLookAndFeel(SwingLookAndFeelService.java:124)
, fixed with scijava/scijava-ui-swing@c11aa935b30cc95673e705eaaba1098ebde40994I have cut releases of both affected components, and uploaded them to the relevant update sites. Assuming you are using a Fiji with the ImageJ-MATLAB update site enabled, you can run Help → Update... to receive the fix.
Oh, I didn't want to close this quite yet, until you confirm that these changes fix the issues for you, @akshay-vedi. I am concerned that I fixed the symptoms of your issue, but that your configuration may actually be incorrect. I have not tested ImageJ-MATLAB since we added the FlatLaf support for HiDPI displays, so it may be that it simply does not work with MATLAB and the changes I made to guard against problems are necessary, and all will work for you now apart from the new Look & Feel. However, it might instead be the case that your ImageJ is not correct when it starts up, e.g. missing the ImageJ Legacy support. Please let us know how it goes!
@ctrueden It works!! Thanks a lot for your help :)
Hello all, I am facing a problem in launching ImageJ from Matlab using IJM. I am getting the following errors on invoking ImageJ with window pop up as false and true respctively.
I updated the ImageJ plugins URLs. I also referenced matlab and ImageJ to same java versions (1.8.0_202 and 1.8.0_322). I’m using Matlab version 2022b and ImageJ 1.53t on Ubuntu 22.04.1 LTS.
Any kind of help in fixing this is really appreciated. Please let me know if you need any further information.
Thanks!