Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I develop a destop application with following environment -

1) Java jdk version 6 update 25 (for 32bit ).

2) Java Arcobjects Library.

3) Window Xp.

Its working smoothly on 32 bit Computer , my problem is i need to provide this application to a team member who works on .net with following configration -

1)Java jdk version 6 update 25 ( for 64 bit ).

2) .Net Arcobjects Library.

3) Window 7.

What are the things i need to do to make my application work on that computer.

share|improve this question
    
Are both development env. using ArcGIS 10.0? –  artwork21 Jul 11 '13 at 11:51
    
Ya , both have ArcGis 10 environment –  NewBee Jul 11 '13 at 11:52
    
What app (e.g. visual studio) did you use to compile your app? –  artwork21 Jul 11 '13 at 17:05
    
I used eclipse(juno) and wxported a executable jar from it. –  NewBee Jul 12 '13 at 4:04

2 Answers 2

why don't you simply compile the application into a jar file give it to your team member to run. I admit this response is too simplistic but it appears your problem is that simple to me. Let me know if there is something I need to know in order to help further.

share|improve this answer
    
I did what u say initialy , but there seems to be problem , my team mate is having arcGis desktop license environment and i build my tool in engine environment . I changed my tool variable to be compatible with arcGis desktop licence environment , but i am still having following error -- " Unable to initialize ArcObjects environment. AutomationException: 0x800401f5 - The specified product or version does not exist on this machine. in 'ArcGISVersion.Version'" –  NewBee Jul 16 '13 at 7:50
1  
Make sure the first line of the code in the main section of your class iniatializes the engine interop before you add any other line. You need to initialize the engine and enter the STA before any thing else is done with arcobject java sdk. For a console application you start with EngineInitializer.initializeEngine(); and a visual application EngineInitializer.initializeVisualBeans(); There are other issues as well that might be causing this problem; however try the above and we'll proceed from there. –  Kwasi Asante Jul 17 '13 at 19:01
    
Also have your mate install the arcgis engine runtime on his machine or at least use a machine that has ArcGIS installed. The compiled application needs the engine runtime in order to run on a separate machine. You can contact esri support for trial versions of the runtime. –  Kwasi Asante Jul 17 '13 at 20:04
    
You means to say that it wont work on just installing ArcGIS destop and Arc object SDK , else than that an engine runtime is required? –  NewBee Jul 18 '13 at 5:45
    
But what if i want to run it in ArcGis Destop environment , unlike Engine installation it does not provide any runtime instalation for window. –  NewBee Jul 18 '13 at 5:47

Your team mate needs to install the java ArcObject library and setup the project properly with a Java compatible IDE, such as Eclipse or Netbeans. Here the .Net version of the ArcObjects has nothing to do because you are talking about a java project.

share|improve this answer
    
I dont want him to run application through IDE , i want that he can just double click and use the app , as i am using on my computer without use of IDE. –  NewBee Jul 11 '13 at 11:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.