[ome-users] Bug report: Cannot open jp2 file created by StereoInvestigator

Sebastien Besson (Staff) s.besson at dundee.ac.uk
Sun Oct 29 19:59:38 GMT 2017


Thanks Kouichi,

For R2017a, the results are definitely matching the expectations.

For R2017b, getting a no found class result is surprising and does not match the previous
thread [1].

Was the whereisjavaclassloadingfrom call executed right after MATLAB startup? If so, could
you execute it again after running the bfopen command? The latter should automatically add
the Bio-Formats JAR to the dynamic classpath.

Best,
Sebastien

[1] http://lists.openmicroscopy.org.uk/pipermail/ome-users/2017-October/006725.html

On 27 Oct 2017, at 18:01, Kouichi C. Nakamura <kouichi.c.nakamura at gmail.com<mailto:kouichi.c.nakamura at gmail.com>> wrote:


Dear David,

Below are the results I've got. R2017b returned an error, whereas R2017a ran properly.

path (R2017b) output includes the following (just to make sure).

D:\Dropbox\Private_Dropbox\matlab_toolbox\bfmatlab


Best regards,

Kouichi



R2017b

>> whereisjavaclassloadingfrom('com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReader')
Error using javaArray
No class com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReader can be located on the Java class path
Error in whereisjavaclassloadingfrom (line 25)
ja = javaArray(ClassName,1);
25  ja = javaArray(ClassName,1);

>> whereisjavaclassloadingfrom('com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState')
Error using javaArray
No class com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState can be located on the Java class path
Error in whereisjavaclassloadingfrom (line 25)
ja = javaArray(ClassName,1);
25  ja = javaArray(ClassName,1);


R2017a

>> whereisjavaclassloadingfrom('com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState')
Version: 9.2.0.538062 (R2017a)
Class:       com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState
ClassLoader: com.mathworks.jmi.CustomURLClassLoader at 61f3e788
URL:         jar:file:/D:/Dropbox/Private_Dropbox/matlab_toolbox/bfmatlab/bioformats_package.jar!/com/sun/media/imageioimpl/plugins/jpeg2000/J2KReadState.class

>> whereisjavaclassloadingfrom('com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReader')
Version: 9.2.0.538062 (R2017a)
Class:       com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReader
ClassLoader: com.mathworks.jmi.CustomURLClassLoader at 61f3e788
URL:         jar:file:/D:/Dropbox/Private_Dropbox/matlab_toolbox/bfmatlab/bioformats_package.jar!/com/sun/media/imageioimpl/plugins/jpeg2000/J2KImageReader.class


_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users


The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20171029/f961eae6/attachment.html>


More information about the ome-users mailing list