Prev: ESX hardware configuration
Next: Does Debian's OpenOffice packages really require Java? Its Javaseems to conflict with Sun JRE for Mozilla's Web browsers?
From: Ant on 18 Apr 2010 14:44 Hello. I am having problems getting my Mozilla's SeaMonkey v2.0.4 (from mozilla.org) and Debian's IceWeasel v3.5.8 (aka Firefox) to use my Sun JRE v1.6.0u20 (and earlier builds from Sun.com). I also tried Debian's apt-get install with b16 (yeah, a bit old). My Java plugin used to work, but I think the newer OpenOffice version and its requirements of Java broke it when I apt-get upgraded a few weeks ago. I get errors like this on http://javatester.org: Java Plug-in 1.6.0_20 Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM User home directory = /home/ant 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 p: reload proxy configuration 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 testvm2/Main.class not found. java.lang.ClassNotFoundException: testvm2.Main.class at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) http://java.com/en/download/help/testvm.xml showed: load: class testvm2/Main.class not found. java.lang.ClassNotFoundException: testvm2.Main.class at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) $ java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8pre) (6b18~pre2-1) OpenJDK Server VM (build 14.0-b16, mixed mode) # dpkg -l | grep ^ii |grep java ii ca-certificates-java 20091021 Common CA certificates (JKS keystore) ii java-common 0.35 Base of all Java packages ii libaccess-bridge-java 1.26.2-4 Java Access Bridge for GNOME ii libaccess-bridge-java-jni 1.26.2-4 Java Access Bridge for GNOME (jni bindings) ii libhsqldb-java 1.8.0.10-6 Java SQL database engine ii liblucene2-java 2.9.2+ds1-1 Full-text search engine library for Java(TM) ii libservlet2.4-java 5.0.30-12 Servlet 2.4 and JSP 2.0 Java library ii openoffice.org-java-common 1:3.2.0-4 full-featured office productivity suite -- arch-independent Java support files ii tzdata-java 2010h-1 time zone and daylight-saving time data for use by java runtimes # dpkg -l | grep ^ii |grep jre # locate bin/java /home/Programs/jre1.6.0_20/bin/java /home/Programs/jre1.6.0_20/bin/java_vm /home/Programs/jre1.6.0_20/bin/javaws /usr/bin/java /usr/bin/javaws /usr/lib/jvm/java-6-openjdk/bin/java /usr/lib/jvm/java-6-openjdk/bin/java-rmi.cgi /usr/lib/jvm/java-6-openjdk/bin/javaws /usr/lib/jvm/java-6-openjdk/jre/bin/java /usr/lib/jvm/java-6-openjdk/jre/bin/javaws /usr/lib/jvm/java-6-openjdk/jre/bin/javaws.real I tried to uninstall all the unneccesary Java packages, but still had some can't be removed because of other programs requiring it like OpenOffice: # apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: openoffice.org-filter-mobiledev ttf-sil-gentium ttf-sil-gentium-basic Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: ca-certificates-java libaccess-bridge-java libaccess-bridge-java-jni libhsqldb-java liblucene2-java libservlet2.4-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib openoffice.org openoffice.org-base openoffice.org-officebean openoffice.org-report-builder-bin 0 upgraded, 0 newly installed, 13 to remove and 125 not upgraded. After this operation, 114MB disk space will be freed. Do you want to continue [Y/n]? n Abort. # apt-get remove java-common Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: openoffice.org-filter-mobiledev ttf-sil-gentium ttf-sil-gentium-basic Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: ca-certificates-java java-common libaccess-bridge-java libaccess-bridge-java-jni libhsqldb-java liblucene2-java libservlet2.4-java openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib openoffice.org openoffice.org-base openoffice.org-officebean openoffice.org-report-builder-bin 0 upgraded, 0 newly installed, 14 to remove and 125 not upgraded. After this operation, 115MB disk space will be freed. Do you want to continue [Y/n]? n Abort. Any ideas? :( Thank you in advance. :) -- "Everything tastes better at a picnic... the ants, the sand, everything." --unknown /\___/\ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site) / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net | |o o| | \ _ / If crediting, then use Ant nickname and AQFL URL/link. ( ) If e-mailing, then axe ANT from its address if needed. Ant is currently not listening to any songs on this computer. |