|
|
|
|
[+] aplikacje w javie nie działają
lexom - 24-05-2010 15:36
Witam. Zainstalowałem javę za pomocą poleceń: aptitude install sun-java6-jre aptitude install sun-java6-plugin
Próbuję uruchomić czat na wp.pl i mam błąd:
Java Plug-in 1.6.0_20 Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM User home directory = /home/pawel ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ----------------------------------------------------
load: class Chat.class not found. java.lang.ClassNotFoundException: Chat.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: Network is unreachable 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 Exception: java.lang.ClassNotFoundException: Chat.class load: class Chat.class not found. java.lang.ClassNotFoundException: Chat.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: Sieć jest niedostępna 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 Exception: java.lang.ClassNotFoundException: Chat.class
Próbuję zainstalować NetBeanse i wyrzuca mi komunikat:
No compatible JDK was found.
dpkg -l | grep java
wyrzuca: ii java-common 0.36 Base of all Java packages ii sun-java6-bin 6.20-dlj-1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture depende ii sun-java6-jre 6.20-dlj-1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture indepen ii sun-java6-plugin 6.20-dlj-1 The Java(TM) Plug-in, Java SE 6
W czym leży problem?
robero - 24-05-2010 16:15
Próbuję zainstalować NetBeanse i wyrzuca mi komunikat:
No compatible JDK was found.
Czyli brak
sun-java6-jdk
Co do działania w przeglądarce, nie wiem jaką masz wersję systemu, ale na Squeeze problem rozwiązuje zakomentowanie aktywnej linijki w pliku /etc/sysctl.d/bindv6only.conf
lexom - 24-05-2010 18:00
Dzięki za pomoc, teraz wszystko działa poprawnie.
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|
|
|
|