Select to view content in your preferred language

Deployment: Absolute and/or relative location of the runtime?

742
1
Jump to solution
04-09-2012 03:16 PM
Jan-Tschada
Esri Contributor
Is it possible to define the absolute and/or relative location of the runtime folder. For instance, we are deplyoing a bunch of ArcGIS Runtime for Java applications.

ArcGISRuntime10.1
[INDENT]- LocalServer32[/INDENT]
[INDENT]- LocalServer64[/INDENT]

Applications
[INDENT]- MapApplication[/INDENT]
[INDENT][INDENT]- lib[/INDENT][/INDENT]
[INDENT][INDENT]- icons[/INDENT][/INDENT]
[INDENT][INDENT]- data[/INDENT][/INDENT]
[INDENT][INDENT]MapApplication.jar[/INDENT][/INDENT]
[INDENT]- GeocodeApplication[/INDENT]
[INDENT][INDENT]- lib[/INDENT][/INDENT]
[INDENT][INDENT]- icons[/INDENT][/INDENT]
[INDENT][INDENT]- data[/INDENT][/INDENT]
[INDENT][INDENT]GeocodeApplication.jar[/INDENT][/INDENT]
   

Any application should use the same runtime folder. We do not want to copy the ArcGISRuntime10.1 folder to each application folder where the *Application.jar is located.
How would you suggest to achieve (e.g. java/system environment variable) that?

Thanks in advance.
Product Manager
Developers and Location Services
Germany and Switzerland
0 Kudos
1 Solution

Accepted Solutions
RalfGottschalk
Esri Contributor
Hi Jan,

This is possible at Pre-Release and Final.  Starting at pre-release there is an ArcGISRuntime class that contains a static method "setInstallDirectory" where you will be able to specify where you Runtime is located.

View solution in original post

0 Kudos
1 Reply
RalfGottschalk
Esri Contributor
Hi Jan,

This is possible at Pre-Release and Final.  Starting at pre-release there is an ArcGISRuntime class that contains a static method "setInstallDirectory" where you will be able to specify where you Runtime is located.
0 Kudos