Jukka,

On 07.10.2016 12:29, edgar.sol...@web.de wrote:
> On 07.10.2016 12:21, Rahkonen Jukka (MML) wrote:
>> Mail reason for potentially keeping the ECW/JP2 driver: it is faster. At 
>> least I am remembering it was fast and therefore I tried to test it again. 
>> There is rather a long lag in opening JPEG2000 images through imageio-ext + 
>> GDAL while with native ecw binaries the initial opening is very fast.  And 
>> the size of the ecw binaries is about 3 MB only.
> 
> yeah, i guess we can keep it because of it's small footprint, but as we are 
> moving into a x64 world, it will not run there anymore. 
> 
> will have to have a look why it doesn't activate anymore. ..ede

ok, checked it. works instantly w/ the latest snapshot. some further 
investigation (5hrs of digging ;) showed

A) make sure you use or enforce a 32bit java in the start batch.

B) make sure to _not_ copy GDAL support to lib/native. it contains the same but 
incompatible dll files like the ECW support, but is preferred in the library 
path leading to 'procedure not issues'

C) if that doesn't work, also make sure you have MS C-runtime 2008 installed.
  https://www.microsoft.com/en-us/download/details.aspx?id=29

if that still doesn't work please send the complete start log. openjump.log or 
copy/paste cmd terminal output.

..ede

PS: not sure how to deal with this. switching java.library.path's before 
loading the dll's might work. will have to have a look at it. Jukka can you 
please test the performance differences for ECW/JP2 between GDAL and ECW sdk, 
so i can make an informed decision if it is worth the effort to make both work 
simultaneously?

PPS: that's the german error, after exposing it w/ some additional logging (OJ 
r5068 w/ '-v debug')

java.lang.UnsatisfiedLinkError: 
E:\proj_oj-core_svn-4.4\lib\native\x86\jecw.dll: Die angegebene Prozedur wurde 
nicht gefunden
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at 
com.vividsolutions.jump.workbench.imagery.ecw.ECWImageFactory._isAvailable(ECWImageFactory.java:132)
        at 
com.vividsolutions.jump.workbench.imagery.ecw.ECWImageFactory.isAvailable(ECWImageFactory.java:103)
        at 
org.openjump.OpenJumpConfiguration.addImageFactory(OpenJumpConfiguration.java:223)
        at 
org.openjump.OpenJumpConfiguration.postExtensionInitialization(OpenJumpConfiguration.java:192)
        at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:473)
        at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:397)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to