Hi, additional information.
All DLL-files in Dependency Walker under the tree of GDALALLJNI.dll that are 
placed in C:\program files\openjdk\jdk-8.0.262.10-hotspot\jre\bin\
are marked with a red "frame" icon.
/Paul

Från: Malm, Paul (Operations AIM)
Skickat: den 31 mars 2021 10:00
Till: 'Stefan Moebius' <stefan.moeb...@amdocs.com>; 'gdal-dev@lists.osgeo.org' 
<gdal-dev@lists.osgeo.org>
Ämne: SV: Gdal Java

Hi,
I've installed dependency Walker 22_x64.
I don't know how to use it, but when I load gdalalljni.dll I get the following 
errorcodes:
Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export 
function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Error: A circular dependency was detected.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export 
function in a delay-load dependent module.

I can also see that a lot of DLL-files are not found e.g. 
EXT-MS-WINDOWSCORE-DEVICEINFO-L1-1-0.DLL...

In the module window of dependency walker I can see that there is 2 different 
CPU types, the DLL-files with x86 are marked red while the x64 are written in 
black (CPU-column).
E.g. c:\program 
files\openjdk\jdk-8.0.262.10-hotspot\jre\bin\API-MS-WIN-CORE-DEBUG-L1-1-0.DLL 
are marked with red text x86 in the CPU column.

In the "tree" under GDALALLJNI.DLL some DLLs are marked with a red icon, e.g 
API-MS-WIN-CRT-HEAP-L1-1-0.DLL.
When I search for that DLL-file in my computer it is found under several 
libraries
e.g C:\Windows\System32\downlevel, C:\Program Files (x86)\Citrix\ICA 
Client\Receiver, C:\Program Files\OpenJDK\jdk-8.0.262.10-hotspot\jre\bin\bin
and a lot of other places...

My JAVA_HOME points to C:\Program Files\OpenJDK\jdk-8.0.262.10-hotspot\jre\bin. 
It is a x64 Java version.
My OS is windows10 with a x64 based processor.

Can this be any help finding the solution on my run time error:
Native library load failed.
java.lang.UnsatisfiedLinkError: C:\Program 
Files\OpenJDK\jdk-8.0.262.10-hotspot\jre\bin\gdalalljni.dll: The specified 
procedure cannot be found

Kind regards,
Paul
Från: gdal-dev <gdal-dev-boun...@lists.osgeo.org> För Stefan Moebius via 
gdal-dev
Skickat: den 24 mars 2021 09:42
Till: gdal-dev@lists.osgeo.org
Ämne: Re: [gdal-dev] Gdal Java


Klicka bara på länkar och öppna bilagor om du litar på avsändaren och vet att 
innehållet är säkert.
Hi Paul,
I find the binaries provided at 
https://url11.mailanyone.net/v1/?m=1lOzCg-0001ww-4L&i=57e1b682&c=9fNL_OAF8vCIgrjZs9aaEB2UNNImM6gI8GCzoqAnKNimVVkylHGA07tBJv6IOWRHGmUKKXljttalb7-9fSKoJRXHVHgZZReNymWKG_G2PNsxEfzkrdsDLJ5OCUF6GOAknKU4asXym3XgQgeOGIjYq6tb5x-KYwQMeTZwonVcJUyaCE6P24h0b-tnGHxFOYo8tTg_FMbjprD8DaPQsY7871SA4Agmh43T_JQ3BjKFdtcr_ELXZdLivAPNafJvPSW6
 the easiest to use. If you click on one build, e.g. 
release-1928-x64-gdal-3-2-1-mapserver-7-6-2, you get a number of download 
options, including several installers. If you use the first one (Compiled 
binaries in a single .zip package), you get an archive which you need to 
extract, and which contains a folder bin\gdal\java. In there you find gdal.jar 
and gdalalljni.dll. Now in order to use this, you need to have

  *   Gdal.jar in your Java Classpath
  *   The extracted bin\gdal\java and bin folders in your Path (in Eclipse: Run 
Configuration -> Environment -> Select -> Path, then edit the value, or set in 
the system)
If that doesn't work, you'll need to provide some more detailed description of 
what issue you are facing.

--
Stefan

From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> On Behalf Of paul.m...@lfv.se
Sent: Dienstag, 23. März 2021 08:26
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] Gdal Java

Hi list,
is there someone out there who has succeeded in installing Gdal Javabindings in 
Windows?
I've tried for some weeks now :( and I can't find very much information how to 
do it I Windows.
gdalalljni.dll is not found for starters (Gdal 3.2.0) but it is there, as 
installed by the installation process.
I've been asking around on internet, but without any luck.
If these is someone who knows how to do it in Windows with Eclipse, it would be 
much appreciated to get some info...
It would be nice to have a bullet list (for dummies), from where to get the 
correct download files, installation, setting environment, what is needed to be 
set in Eclipse etc. I don't have any experience with javabindings or C++...

Kind regards,
Paul
This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service<https://url11.mailanyone.net/v1/?m=1lOzCg-0001ww-4L&i=57e1b682&c=5keNkrDjrvzwcRXVWHrZdauN_ulzs2IpwrQsOrckW4xafxj1rhUsAUZgKUKb10efCNBee9dHzyBWSkhO6cjwaclASZKpkYv1WRfY9vsqTOkHQyXS0dczjdTZu3MRIofEcvljG4mwYuABAqCuSItDekmhYOUgTI8aLLcAwPM7y1M1vZ2hLYnNkVKEKopxHH8RC1eRVKCFSdNWtP4Q41XCZZJPHH_4RMryRb-6kS1GOYaP0Z02s9CcGMNfK1Rhoem-ADgDfyNZoG7HlIiRc0OQ7w>
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to