I am trying to write a simple Dockable Window in JAVA.
I am following this recipe: ArcObjects 10 Java SDK Help
I have installed ArcMap 10.4, ArcGIS SDK 10.2.4 and Eclipse IDE for JAVA Developers Mars 2.
I have installed the eclipse tools from: C:/Program Files (x86)/ArcGIS SDKs/java10.2.4/sdk/Eclipse Plugin/
I can add a ArcGIS Runtime Java Application but cannot find the add-in View.
Do I need a different SDK ?
All the best
/Bernhard
Hello Bernhard,
It looks like you're mixing 2 different Java SDK products: ArcObjects and Runtime. An easy trap to fall into, unfortunately.
ArcObjects is what is used to create Add-ins for ArcMap. So you were on the right track there. Do not use the Runtime Eclipse plugin for this. There is an Eclipse plugin for ArcObjects in C:\Program Files (x86)\ArcGIS\DeveloperKit10.4\java\tools\eclipse_plugin. For Dockable window and Add-ins, you'll need to use this one.
Make sense?
Hi Eric !
Thanx - sounds good.
Do you have an idea where I can find the ArcObjects JAVA thing - the ESRI site is a maze !
Best regards
/B
Agreed. Quite maze.
Here is the link to the doc: ArcObjects Help for Java developers | ArcGIS for Desktop
You already have the software, correct?
I have ArcMap, ArcGIS Pro but not yet ArcObjects. Therefore no folder DeveloperKit either ...
You can get it via your EDN subscription...do you have one?
No not yet. The link sends me to a page where I have to ask my own company for permission grrr...
Maybe I should ask you a little question about my approach.
Maybe its better to use .net C# ?
We want to implement a JavaScript component (a search gadget) into ArcMap. It searches in a series of national data sources and returns a JSON with a very simple geometry.
It would be optimal if we could use some kind of a HTML/JS container inside the add-in.
Would you recommend .net or JAVA for that ?
Thanx and all the best
/Bernhard
Well, the future of Desktop add-ins will be .NET, so your hunch is probably a good one.
All the best!
Eric