3 Replies Latest reply on Aug 7, 2012 6:59 AM by BeatHoe

    jre7 using LCMS (LittleColorManagementSystem)


      I migrate an old application from jre6 to jre7. Among others the application uses classes ICC_Transform and ICC_Profile to scale and compose images.
      With Java 1.7 I didn't find the classes anymore. Did a lot of investigation and found LCMS.
      Found further in jre7 a package in rt.jar->sun.java2d.cmm.lcms with the classes I like to use.
      Wrote a small test app to see how it works. I'm always running into exception:
      Exception in thread "main" java.lang.UnsatisfiedLinkError: no lcms in java.library.path

      Do I need to provide the lcms.dll?
      I did (downloaded source, build dll and put it into library path with -Djava.library.path=D:\Work\LcmsTest ), but it does not solve my problem.
      Are there examples how to use the classes in the lcms package?

      Thanks for informations.