Changes

Jump to: navigation, search

ArcEngine/Java issue

483 bytes added, 13:08, 5 August 2016
no edit summary
<ol><li>Java Executable
<pre> Loading jawt.dll failed. This is normal if java.version < 1.3. If java.version is > 1.4 and if this failure has occurred on Windows,<br/>please ensure that this program is started with a Java executable from a JDK/JRE install location on this computer. <br/>at '''com.esri.arcgis.interop'''.NativeObjRef.getJdk13WindowsHandleNative(Native Method) </pre></li>
<li>Java HotSpot</li></ol>
==How to fixJava issues for ArcEngine==__NOEDITSECTION__
{{Note | You need to stop {{IMSMANG}} server and the Control Center between each change below since {{IMSMANG}} reads in the environment variables when the TrayLauncher/Control center is started. Open the log and verify that your changes have taken effect.}}
<ol>
<li>Check in the Control Panel if the Java installed is the Java that is included in the {{IMSMANG}} installation package.
:If not, ask the user if you may uninstall the other version.</li>
[[Image:Java version.png|700px|center]]
<div align="center">
<li>If it still does not work, copy the contents of the PATH variable to a document.</li>
<li>Copy ''%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%JAVA_HOME%\bin'' to the PATH variable.
:In this way you know that the PATH is correct and does not have any other issues.</li>
<li>Test again.</li>
<li>If it works, restore the PATH variable by copy back part by part back to it with ; between each part.
:'''Note''': test to start the client between each change of the PATH.</ol>
===Example log file from English stand-alone server===__NOEDITSECTION__
System Property '''"user.language"''': en<br/>System Property '''"user.language.format"''': not set<br/>System Variable '''"AGSENGINEJAVA"''': C:\Program Files (x86)\ArcGIS\Engine10.1\<br/>System Variable '''"Path"''': C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\; c:\Program Files (x86)\Java\jre7\bin<br/>System Variable '''"Java_Home"''': c:\Program Files (x86)\Java\jre7<br/>System Variable '''"LANG"''': not set<br/>Client Configuration Variable '''"java.naming.provider.url"''': localhost<br/>Client Configuration Variable '''"AlwaysSyncGeodata"''': true<br/>Client Configuration Variable '''"isClientOnly"''': false<br/>Connecting to GIS Service ...Starting session with '''GIS Service''' at "/C:/IMSMAng//server/gis" ...GIS Service starting ...<br/>'''fileServerURI''' = file:/C:/IMSMAng/server/gis/<br/>'''map.name''' = World<br/>Building Map Configuration ...<br/>'''Connected''' to GIS Service<br/>Synchronizing with "World" Map cached in "C:\IMSMAng\client\gis\sandbox\World" ...<br/>'''Synchronized''' with "World" Map<br/>
{{NavBox Hub}}
 
[[Category:NoPublic]]
[[Category:NAA]]
6,632
edits

Navigation menu