Select to view content in your preferred language

include stand alone map program as an applet in html?

1696
0
02-27-2014 06:06 AM
raghunadhvenkata
New Contributor
hi,
     I am trying to include a map in html as an applet. it is giving the following error


java.lang.ExceptionInInitializerError
at com.esri.runtime.ArcGISRuntime.initialize(Unknown Source)
at com.esri.map.JMap.<clinit>(Unknown Source)
at view.LocalDynamicMapLayer.jbInit(LocalDynamicMapLayer.java:23)
at view.LocalDynamicMapLayer.init(LocalDynamicMapLayer.java:38)
at sun.applet.AppletPanel.run(AppletPanel.java:424)
at java.lang.Thread.run(Thread.java:662)


at this line

line :  JMap map= new JMap();

when i am running it directly .it is executing and displaying map. when i try to include it as an applet in html and run. it is giving the above error.

please give me solution to solve this.


    thanks
    venkat
0 Kudos
0 Replies