Det vil jeg så forsøge, når jeg engang kommer hjem idag
Tak for dine input, hvis det virker, skal jeg nok huske og give dig lidt karma
Ekstra:
Nu har jeg forsøgt med følgende html-kode:
- <applet code="view.Applet2.class" archive="GUI.jar,tools.jar" width="600" height="400">
- </applet>
og fil strukturen i den mappe, det ligger i:
xxx.html
GUI.jar
tools.jar
og i GUI.jar er der nu kun egne klasser, hvoraf nogle af dem er afhængige af tools.jar
Jeg får desværre stadigvæk samme fejl meddelse:
Compiler not found
java.lang.NullPointerException
at xCompiler.XCompiler.makeCompilerTask(XCompiler.java:101)
at xCompiler.XCompiler.compileCode(XCompiler.java:74)
at xCompiler.XCompiler.comileAndRun(XCompiler.java:28)
at view.Applet2$1.actionPerformed(Applet2.java:54)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Jeg har signeret først GUI.jar og der gav det også fejl meddelelse og derefter tools.jar, og der gav det stadigvæk samme fejl meddelse.
Håber, I har en idé omkring, hvad jeg gør galt
Indlæg senest redigeret d. 16.03.2012 23:48 af Bruger #15301