java.lang.ClassNotFoundException: testvm2.Main.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:219)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:532)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2940)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1444)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at sun.net.NetworkClient.doConnect(NetworkClient.java:161)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Applet2ClassLoader.java:535)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Applet2ClassLoader.java:51)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Applet2ClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:189)
... 6 more
Even with the above suggestions, I still get this on any site that attempts to read my java config, eg: http:// www.java. com/en/ download/ help/testvm. xml
java.lang. ClassNotFoundEx ception: testvm2.Main.class applet. Applet2ClassLoa der.findClass( Applet2ClassLoa der.java: 219) ClassLoader. loadClass( ClassLoader. java:307) ClassLoader. loadClass( ClassLoader. java:248) applet. Plugin2ClassLoa der.loadCode( Plugin2ClassLoa der.java: 532) applet. Plugin2Manager. createApplet( Plugin2Manager. java:2940) applet. Plugin2Manager$ AppletExecution Runnable. run(Plugin2Mana ger.java: 1444) Thread. run(Thread. java:619) ConnectExceptio n: Connection timed out PlainSocketImpl .socketConnect( Native Method) PlainSocketImpl .doConnect( PlainSocketImpl .java:333) PlainSocketImpl .connectToAddre ss(PlainSocketI mpl.java: 195) PlainSocketImpl .connect( PlainSocketImpl .java:182) SocksSocketImpl .connect( SocksSocketImpl .java:366) Socket. connect( Socket. java:529) NetworkClient. doConnect( NetworkClient. java:161) www.http. HttpClient. openServer( HttpClient. java:394) www.http. HttpClient. openServer( HttpClient. java:529) www.http. HttpClient. <init>( HttpClient. java:233) www.http. HttpClient. New(HttpClient. java:306) www.http. HttpClient. New(HttpClient. java:323) www.protocol. http.HttpURLCon nection. getNewHttpClien t(HttpURLConnec tion.java: 860) www.protocol. http.HttpURLCon nection. plainConnect( HttpURLConnecti on.java: 801) www.protocol. http.HttpURLCon nection. connect( HttpURLConnecti on.java: 726) www.protocol. http.HttpURLCon nection. getInputStream( HttpURLConnecti on.java: 1049) HttpURLConnecti on.getResponseC ode(HttpURLConn ection. java:373) applet. Applet2ClassLoa der.getBytes( Applet2ClassLoa der.java: 535) applet. Applet2ClassLoa der.access$ 000(Applet2Clas sLoader. java:51) applet. Applet2ClassLoa der$1.run( Applet2ClassLoa der.java: 192) AccessControlle r.doPrivileged( Native Method) applet. Applet2ClassLoa der.findClass( Applet2ClassLoa der.java: 189)
at sun.plugin2.
at java.lang.
at java.lang.
at sun.plugin2.
at sun.plugin2.
at sun.plugin2.
at java.lang.
Caused by: java.net.
at java.net.
at java.net.
at java.net.
at java.net.
at java.net.
at java.net.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at java.net.
at sun.plugin2.
at sun.plugin2.
at sun.plugin2.
at java.security.
at sun.plugin2.
... 6 more