0

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.

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

2 Answers 2

1

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.

9
  • 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
    Commented Jul 16, 2013 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. Commented Jul 17, 2013 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. Commented Jul 17, 2013 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
    Commented Jul 18, 2013 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
    Commented Jul 18, 2013 at 5:47
0

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.

1
  • 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
    Commented Jul 11, 2013 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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