I will question regarding deployment dcm4che3.

59 views
Skip to first unread message

cslee

unread,
Nov 23, 2015, 6:23:24 AM11/23/15
to dcm4che
I was well used while debugging in Eclipse source.

Operating environment
   ==> 64bit windows 7, jre 1.8.0_60(32bit) => If the 64-bit jre had a problem in jpeg2000 compressed or uncompressed.

I had to load the dll, as shown below.
   System.load(MessageFormat.format("{0}\\lib\\clib_jiio.dll", currentPath));
   System.load(MessageFormat.format("{0}\\lib\\clib_jiio_sse2.dll", currentPath));
   System.load(MessageFormat.format("{0}\\lib\\clib_jiio_util.dll", currentPath));

jpeg2000 compressed and uncompressed files also work well.

But the deployment was a jar file, an error occurs, as shown below.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Exception in thread "main" sun.misc.ServiceConfigurationError:
javax.imageio.spi.ImageWriterSpi:
Provider com.sun.media.imageioimpl.plugins.jpeg.
CLibJPEGImageWriterSpi could not be instantiated java.lang.IllegalArgumentException: vendorName == null!
    at sun.misc.Service.fail(Unknown Source)
    at sun.misc.Service.access$200(Unknown Source)
    at sun.misc.Service$LazyIterator.next(Unknown Source)
    at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(Unknown Source)
    at javax.imageio.spi.IIORegistry.<init>(Unknown Source)
    at javax.imageio.spi.IIORegistry.getDefaultInstance(Unknown Source)
    at javax.imageio.ImageIO.<clinit>(Unknown Source)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Can you tell me what the problem?

Dimitri Pianeta

unread,
Nov 23, 2015, 12:45:27 PM11/23/15
to dcm4che
In documentation Oracle, he is write jpeg 200 with imageio link here
And this he package javax.imageio of java SE 8.
I think that he works package dcm4che3 because he isn't use jdk8.
 

cslee

unread,
Nov 23, 2015, 11:46:15 PM11/23/15
to dcm4che
Do I need to change the contents of the package to the latest version?

An error occurs if added to build the latest source. 

Please tell me how to change the contents of the package.
Reply all
Reply to author
Forward
0 new messages