hi all,
while start running HillshadeCommand in eclipse I got these error messages, even-though there was no error in the code :
Starting HillshadeCommand - An ArcObjects SDK Developer Sample
java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path
Could not load native libraries.
java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.esri.arcgis.interop.NativeLoader.loadLibrary(Unknown Source)
at com.esri.arcgis.system.EngineInitializer.initializeEngine(Unknown Source)
at HillshadeCommand.main(HillshadeCommand.java:45)
Solved! Go to Solution.
Hi Feras,
With help of one of my collegue, Kwasi A, I was able to run the sample successfully.. makes sure you have "C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\java\samples\data\raster" folder on your system.
I'll send the zipped project as well.
"
Starting HillshadeCommand - An ArcObjects SDK Developer Sample
C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\java\samples\data\raster
Creating output directory - C:\Users\shri7493\arcgis_sample_output
Using default Azimuth value 315.0 and Altitude 45.0
Opening raster workspace C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\java\samples\data\raster\dem1 and getting its dataset ...
Creating hillshade data ...
Done. Output files created in C:\Users\shri\arcgis_sample_output\hillshadecommand
App Data = C:\Users\shri\AppData\Local
Log file path = C:\Users\shri\AppData\Local\ESRI\Engine10.2\Java\Log
"
Hello Shriran,
Thanks!
however, I don't have DeveloperKit10.2 under ArcGIS
I searched for it and I didn't find this folder, under ArcGIS I have: C:\Program Files (x86)\ArcGIS\Desktop10.2 which contains other folders like ArcGlobeData, arcpy, ...Attached is a snapshot of what I have under this
Did you install ArcObjects Java SDK? Once you install that then you can see the folder
.btw Special thanks to Kwasi Asante, he helped me run the sample.
~Shriram
DeveloperKit10.2 folder should be under C:\Program Files (x86)\ArcGIS.
~Shriram
Then I would be grateful if you guide me on how to install the developer kit. I saw some sites but was not clear for me
my phone is 519 661-2111 ext 82253
Many thanks!
Feras
Hi Shriram,
I installed jre6 insteadlooks better and I only have one error at the moment that's :
Starting HillshadeCommand - An ArcObjects SDK Developer Sample
Could not initialize an Engine or Basic License. Exiting application.
Any clue?
Thanks
Feras
Feras,
I assume that you have desktop license.
change the license binding to deskto =>
esriLicenseProductCodeAdvanced
from
esriLicenseProductCodeEngine)
~Shriram
Hello Shriram,
Can you please send me the zipped file that contains raster files ?!
I now have this error:
Starting HillshadeCommand - An ArcObjects SDK Developer Sample
devKitHome: null
inDataPath: nulljava\samples\data\raster ( I changed the path as follows:)
inDataPath: C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\java\samples\data\raster
Creating output directory - C:\Users\IBM_ADMIN\arcgis_sample_output
Using default Azimuth value 315.0 and Altitude 45.0
Opening raster workspace C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\java\samples\data\raster\dem1 and getting its dataset ...
Error: AutomationException: Failed to open raster dataset
can I get the contact for @KwasiAsante
Thanks
Feras
This the contents of raster folder on my disk, is that similar to what you have (attached here)?
This the contents of raster folder on my disk as attached , is that similar to what you have?