Hola!
Estoy realizando una pagina web, en la que van incrustados applets java de un programa, el EJS.
Al cargar la aplicacion, da iun error, que en la consola de java es :
java.lang.reflect.InvocationTargetException
at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Un known Source)
at sun.plugin2.applet.Plugin2Manager.runOnEDT(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unk nown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.0)
at java.security.AccessControlContext.checkPermission (Unknown Source)
at java.security.AccessController.checkPermission(Unk nown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkExit(Unknown Source)
at javax.swing.JFrame.setDefaultCloseOperation(Unknow n Source)
at org.opensourcephysics.ejs.control.swing.ControlFra me.setValue(ControlFrame.java:134)
at org.opensourcephysics.ejs.control.ControlElement.s etProperty(ControlElement.java:484)
at org.opensourcephysics.ejs.control.swing.ControlCon tainer.setProperty(ControlContainer.java:175)
at org.opensourcephysics.ejs.control.ControlElement.s etProperty(ControlElement.java:401)
at _examples.hVmin.HVminView.createControl(HVminView. java:315)
at _examples.hVmin.HVminView.<init>(HVminView.java:87 )
at _examples.hVmin.HVminSimulation.<init>(HVminSimula tion.java:20)
at _examples.hVmin.HVmin.<init>(HVmin.java:50)
at _examples.hVmin.HVmin.<init>(HVmin.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Excepción: java.lang.reflect.InvocationTargetException
No entiendo mucho de java, y tampoco entiendo muy bien el error.
Alguyna idea o alguna solucion??
Gracias! y un saludo