Wolfgang: Java-Applets

Beitrag lesen

Hi,
die HTML-Datei ist schon im gleichen Ordner...
ich hab mal eine demo von der J2SE getestet - genau das gleiche Proglem:
com.ms.security.SecurityExceptionEx[Host]: java.io.IOException: bad path: C:\Programme\jdk1.3.1\javax\swing\JApplet.class
 at com/ms/security/permissions/FileIOPermission.check
 at com/ms/security/PolicyEngine.deepCheck
 at com/ms/security/PolicyEngine.checkPermission
 at com/ms/security/StandardSecurityManager.chk
 at com/ms/security/StandardSecurityManager.checkRead
 at java/io/File.isDirectory
 at sun/net/www/protocol/file/FileURLConnection.connect
 at sun/net/www/protocol/file/FileURLConnection.getInputStream
 at com/ms/vm/loader/ResourceLoader.getURLData
 at com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
 at com/ms/vm/loader/ResourceLoader.getClassData
 at com/ms/vm/loader/URLClassLoader.findClass
 at com/ms/vm/loader/URLClassLoader.loadClass
 at java/lang/ClassLoader.loadClassInternal
 at java/lang/ClassLoader.resolveClass
 at com/ms/vm/loader/URLClassLoader.loadClass
 at com/ms/vm/loader/URLClassLoader.loadClass
 at com/ms/applet/AppletPanel.securedClassLoad
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.run
 at java/lang/Thread.run
java.lang.ClassNotFoundException: javax.swing.JApplet
 at com/ms/vm/loader/URLClassLoader.loadClass
 at java/lang/ClassLoader.loadClassInternal
 at java/lang/ClassLoader.resolveClass
 at com/ms/vm/loader/URLClassLoader.loadClass
 at com/ms/vm/loader/URLClassLoader.loadClass
 at com/ms/applet/AppletPanel.securedClassLoad
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.run
 at java/lang/Thread.run
com.ms.security.SecurityExceptionEx[Animation.prepareImageRange]: java.io.IOException: bad path: C:\Programme\jdk1.3.1\demo\applets\Animator\java\util\List.class
 at com/ms/security/permissions/FileIOPermission.check
 at com/ms/security/PolicyEngine.deepCheck
 at com/ms/security/PolicyEngine.checkPermission
 at com/ms/security/StandardSecurityManager.chk
 at com/ms/security/StandardSecurityManager.checkRead
 at java/io/File.isDirectory
 at sun/net/www/protocol/file/FileURLConnection.connect
 at sun/net/www/protocol/file/FileURLConnection.getInputStream
 at com/ms/vm/loader/ResourceLoader.getURLData
 at com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
 at com/ms/vm/loader/ResourceLoader.getClassData
 at com/ms/vm/loader/URLClassLoader.findClass
 at com/ms/vm/loader/URLClassLoader.loadClass
 at java/lang/ClassLoader.loadClassInternal
 at Animation.prepareImageRange
 at Animator.handleParams
 at Animator.init
 at com/ms/applet/AppletPanel.securedCall0
 at com/ms/applet/AppletPanel.securedCall
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.run
 at java/lang/Thread.run
java.lang.ClassNotFoundException: java.util.List
 at com/ms/vm/loader/URLClassLoader.loadClass
 at java/lang/ClassLoader.loadClassInternal
 at Animation.prepareImageRange
 at Animator.handleParams
 at Animator.init
 at com/ms/applet/AppletPanel.securedCall0
 at com/ms/applet/AppletPanel.securedCall
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.processSentEvent
 at com/ms/applet/AppletPanel.run
 at java/lang/Thread.run

die HTML Datei der Demo heißt example1.html und liegt (bei mir) im Ordner "C:\Programme\jdk1.3.1\demo\applets\Animator"

Wolfgang