LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java applications don't get loaded (https://www.linuxquestions.org/questions/linux-software-2/java-applications-dont-get-loaded-928204/)

jlinkels 02-07-2012 07:20 PM

Java applications don't get loaded
 
I am running Debian Squeeze, fully updated. I have installed java packages and created a symlink to libnpjp2.so

Both Iceweasel and Opera report that the plugin is installed. The correct version is reported. I can remove and re-install Java with the expected results.

When I enter a site with a Java applet, the applet is being downloaded, but fails to run. This is the message in the Java console:

Code:

load: class Foil.class not found.
java.lang.ClassNotFoundException: Foil.class
        at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: Foil.class

This happens for every applet I try to execute.

I have different other machines with Debian Squeeze which run Java just fine. I have dpkg --get-selections on those machines, and made sure all those packages were installed on this problem machine, but to no avail. For the record, these are all java packages currently installed:

Code:

ca-certificates-java                                install
java-common                                        install
libaccess-bridge-java                                install
libaccess-bridge-java-jni                        install
libbase-java-openoffice.org                        install
libbcel-java                                        install
libcommons-beanutils-java                        install
libcommons-collections3-java                        install
libcommons-compress-java                        install
libcommons-digester-java                        install
libcommons-logging-java                                install
libdb-je-java                                        install
libdb4.7-java                                        install
libdb4.7-java-gcj                                install
libhsqldb-java                                        install
libicu4j-java                                        install
libjaxp1.3-java                                        install
libjaxp1.3-java-gcj                                install
libjline-java                                        install
libjtidy-java                                        install
liblog4j1.2-java                                install
liblog4j1.2-java-gcj                                install
liblucene2-java                                        install
libmx4j-java                                        install
libregexp-java                                        install
libserializer-java-openoffice.org                install
libservlet2.4-java                                install
libservlet2.5-java                                install
libxalan2-java                                        install
libxalan2-java-gcj                                install
libxerces2-java                                        install
libxerces2-java-gcj                                install
openoffice.org-java-common                        install
sun-java6-bin                                        install
sun-java6-jre                                        install
sun-java6-plugin                                install
tzdata-java                                        install

I have also tried to install openjdk and the java version from the Java website, with exactly the same results. All java versions, the Debian package, openjdk and the downloaded version from the Jave website run on other machines.

I hope the error messages make sense to someone.

jlinkels

ButterflyMelissa 02-08-2012 12:29 PM

Quote:

java.lang.ClassNotFoundException: Foil.class
Easy: the class cannot be found...try this: do a sys-wide find for foil.class, and either append that to your PATH system variable, or (my preferred option) make a symlink in one of the folders that is in the PATH (usually /ect or /bin) to the location of foil.class. You could just make a symlink to foil.class alone, but that may just be too narrow...

Good luck


Thor

jlinkels 02-08-2012 12:59 PM

No that can't be.
Foil.cl is the applet I download from the web site I am currently at.

So check on you own machine whether Foil.cl is present. It is not.
Then go to this site:
http://www.grc.nasa.gov/WWW/k-12/airplane/foil3.html
And see? Foil.cl is executed.

Now, even if Foil.cl is downloaded at the instant I enter that web site, and stored on my machine and executed, why does this mechanism not work on my problem machine?

jlinkels

ButterflyMelissa 02-08-2012 01:44 PM

Quote:

No that can't be.
Foil.cl is the applet I download from the web site I am currently at.
Oww, you got me with my pants down...okay, so, the bottom line is that an applet cannot be executed. Let's see just what the applet needs...
I just tried is, and it ran (dunnow at all just WHAT happened, but, something did happen), I did do a thread dump, though. To see what gets loaded. I suggest to compare bot thread dumps...
Can the problem box run ANY applet at all?
Next, let's look at the browser. Could it be the thing wrongly codebase addresses the base address of Applets? Just a thought...let's compare browsers.

This IS interesting...food for thought.

Thor

jlinkels 02-08-2012 06:50 PM

Not any Java applet is being executed. Foilsim is just an example for which I know is working correctly on most of my computers. Any applet raises that ClassNotFound exception.

I wish I'd understand what exactly happens when the Java plugin is started. I assume the plugin has to know where the standard classes of Java can be found so everything can be build and loaded together before execution. And it seems somewhere goes wrong just there, but I see zero debugging possibilities.

What exactly do you mean with thread dump? Is that something I can produce?

I am using the latest Opera and Iceweasel (=Firefox) version 3.5.16

jlinkels

ButterflyMelissa 02-10-2012 01:55 PM

Quote:

What exactly do you mean with thread dump? Is that something I can produce?
Yes, you can reproduce that, but the console has to be visible. Run jcontrol, usually found in /opt/java/jre - but your location could differ, select the lat tab and select to show the console...

jlinkels 02-10-2012 05:36 PM

Great pointer. But it doesn't make any sense to me. Does it to you?

Code:

Java Plug-in 1.6.0_30
Using JRE version 1.6.0_30-b12 Java HotSpot(TM) 64-Bit Server VM
User home directory = /home/glinkels

----------------------------------------------------
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>
----------------------------------------------------

security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@67ce85c4
network: Cache entry not found [url: http://www.grc.nasa.gov/WWW/k-12/airplane/javplts/foilsim5/applet/, version: null]
network: Cache entry not found [url: http://www.grc.nasa.gov/WWW/k-12/airplane/javplts/foilsim5/applet/Foil.class, version: null]
network: Connecting http://www.grc.nasa.gov/WWW/k-12/airplane/javplts/foilsim5/applet/Foil.class with proxy=DIRECT
network: Connecting http://www.grc.nasa.gov:80/ with proxy=DIRECT
network: Cache entry not found [url: http://www.grc.nasa.gov/WWW/k-12/airplane/javplts/foilsim5/applet/Foil/class.class, version: null]
network: Connecting http://www.grc.nasa.gov/WWW/k-12/airplane/javplts/foilsim5/applet/Foil/class.class with proxy=DIRECT
network: Connecting http://www.grc.nasa.gov:80/ with proxy=DIRECT
basic: load: class Foil.class not found.
load: class Foil.class not found.
java.lang.ClassNotFoundException: Foil.class
        at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: Foil.class
Ignored exception: java.lang.ClassNotFoundException: Foil.class
security: Accessing keys and certificate in Mozilla user profile: null
Dump thread stack ...
----------------------------------------------------
2012-02-10 23:34:43
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.5-b03 mixed mode):

"TimerQueue" daemon prio=10 tid=0x00007fae34123800 nid=0x1161 in Object.wait() [0x00007fae32e29000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f6100030> (a javax.swing.TimerQueue)
        at javax.swing.TimerQueue.run(Unknown Source)
        - locked <0x00000000f6100030> (a javax.swing.TimerQueue)
        at java.lang.Thread.run(Unknown Source)

"ConsoleWriterThread" daemon prio=10 tid=0x00007fae34125000 nid=0x115f in Object.wait() [0x00007fae32786000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f60ff110> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
        - locked <0x00000000f60ff110> (a java.lang.Object)

"AWT-EventQueue-1" prio=10 tid=0x00000000405cb000 nid=0x115a in Object.wait() [0x00007fae31b44000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f60cc830> (a java.awt.EventQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.awt.EventQueue.getNextEvent(Unknown Source)
        - locked <0x00000000f60cc830> (a java.awt.EventQueue)
        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)

"AWT-EventQueue-2" prio=10 tid=0x00007fae2c042800 nid=0x1159 in Object.wait() [0x00007fae31c45000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f6142020> (a java.awt.EventQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.awt.EventQueue.getNextEvent(Unknown Source)
        - locked <0x00000000f6142020> (a java.awt.EventQueue)
        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)

"AWT-EventQueue-0" prio=10 tid=0x00007fae340f7000 nid=0x1158 waiting on condition [0x00007fae31d44000]
  java.lang.Thread.State: RUNNABLE
        at com.sun.deploy.util.ConsoleHelper.dumpAllStacksImpl(Native Method)
        at com.sun.deploy.util.ConsoleHelper.dumpAllStacks(Unknown Source)
        at sun.plugin2.applet.Plugin2ConsoleController.dumpAllStacks(Unknown Source)
        at com.sun.deploy.util.ConsoleWindow$2.actionPerformed(Unknown Source)
        at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
        at javax.swing.SwingUtilities.notifyAction(Unknown Source)
        at javax.swing.JComponent.processKeyBinding(Unknown Source)
        at javax.swing.KeyboardManager.fireBinding(Unknown Source)
        at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
        at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
        at javax.swing.JComponent.processKeyBindings(Unknown Source)
        at javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.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)

"AWT-Shutdown" prio=10 tid=0x00007fae340df000 nid=0x1157 in Object.wait() [0x00007fae31e47000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f614fd38> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at sun.awt.AWTAutoShutdown.run(Unknown Source)
        - locked <0x00000000f614fd38> (a java.lang.Object)
        at java.lang.Thread.run(Unknown Source)

"AWT-XAWT" daemon prio=10 tid=0x00007fae2c038000 nid=0x1156 runnable [0x00007fae31f48000]
  java.lang.Thread.State: RUNNABLE
        at sun.awt.X11.XToolkit.waitForEvents(Native Method)
        at sun.awt.X11.XToolkit.run(Unknown Source)
        at sun.awt.X11.XToolkit.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

"JVM[id=0]-Heartbeat" daemon prio=10 tid=0x00000000405c8800 nid=0x1155 in Object.wait() [0x00007fae32685000]
  java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f60c1f18> (a sun.plugin2.message.Queue)
        at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
        - locked <0x00000000f60c1f18> (a sun.plugin2.message.Queue)
        at sun.plugin2.message.Pipe.receive(Unknown Source)
        at sun.plugin2.main.server.HeartbeatThread.run(Unknown Source)

"Applet 2 LiveConnect Worker Thread" prio=10 tid=0x00000000405df000 nid=0x1153 in Object.wait() [0x00007fae38106000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f60e3158> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:485)
        at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
        - locked <0x00000000f60e3158> (a java.lang.Object)
        at java.lang.Thread.run(Unknown Source)

"Browser Side Object Cleanup Thread" prio=10 tid=0x000000004059a800 nid=0x114f in Object.wait() [0x00007fae32887000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f6177ea8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x00000000f6177ea8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at sun.plugin2.main.client.LiveConnectSupport$BrowserSideObjectCleanupThread.run(Unknown Source)

"Java2D Disposer" daemon prio=10 tid=0x00007fae340f0000 nid=0x114e in Object.wait() [0x00007fae32988000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f61069e8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x00000000f61069e8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at sun.java2d.Disposer.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

"CacheCleanUpThread" daemon prio=10 tid=0x00007fae2c008000 nid=0x114d in Object.wait() [0x00007fae32c27000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f6158c00> (a com.sun.deploy.cache.CleanupThread)
        at java.lang.Object.wait(Object.java:485)
        at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
        - locked <0x00000000f6158c00> (a com.sun.deploy.cache.CleanupThread)

"CacheMemoryCleanUpThread" daemon prio=10 tid=0x00007fae2c002000 nid=0x114c in Object.wait() [0x00007fae32d28000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f61590d8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x00000000f61590d8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)

"SysExecutionTheadCreator" daemon prio=10 tid=0x00000000404f0800 nid=0x1147 in Object.wait() [0x00007fae32f2a000]
  java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x00000000f61560d0> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)
        at java.lang.Object.wait(Object.java:485)
        at sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator.run(Unknown Source)
        - locked <0x00000000f61560d0> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)

"Java Plug-In Pipe Worker Thread (Client-Side)" daemon prio=10 tid=0x00000000404df800 nid=0x1145 runnable [0x00007fae383d6000]
  java.lang.Thread.State: RUNNABLE
        at com.sun.deploy.net.socket.UnixSocketImpl.unStreamSocketRead(Native Method)
        at com.sun.deploy.net.socket.UnixDomainSocket.read(Unknown Source)
        at com.sun.deploy.net.sock
Trace message truncated for length over 10K
Dump thread list ...
Group main,ac=17,agc=2,pri=10
    main,5,alive
    traceMsgQueueThread,5,alive,daemon
    Timer-0,5,alive
    Java Plug-In Pipe Worker Thread (Client-Side),5,alive,daemon
    SysExecutionTheadCreator,5,alive,daemon
    CacheMemoryCleanUpThread,5,alive,daemon
    CacheCleanUpThread,5,alive,daemon
    Browser Side Object Cleanup Thread,5,alive
    JVM[id=0]-Heartbeat,5,alive,daemon
    AWT-XAWT,6,alive,daemon
    AWT-Shutdown,5,alive
    AWT-EventQueue-2,6,alive
    ConsoleWriterThread,5,alive,daemon
Group Plugin Thread Group,ac=2,agc=0,pri=10
    AWT-EventQueue-0,6,alive
    TimerQueue,5,alive,daemon
Group http://www.grc.nasa.gov/WWW/k-12/airplane/javplts/foilsim5/applet/-threadGroup,ac=2,agc=0,pri=4
    Applet 2 LiveConnect Worker Thread,4,alive
    AWT-EventQueue-1,4,alive
Done.
Dump system properties ...
----------------------------------------------------
__jvm_launched = 45098274076
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
file.separator.applet = true
http.agent = Mozilla/4.0 (Linux 2.6.32-5-amd64)
http.auth.serializeRequests = true
https.protocols = TLSv1,SSLv3
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /usr/lib/jvm/jre1.6.0_30/classes
java.class.version = 50.0
java.class.version.applet = true
java.endorsed.dirs = /usr/lib/jvm/jre1.6.0_30/lib/endorsed
java.ext.dirs = /usr/lib/jvm/jre1.6.0_30/lib/ext:/usr/java/packages/lib/ext
java.home = /usr/lib/jvm/jre1.6.0_30
java.io.tmpdir = /tmp
java.library.path = /usr/lib/jvm/jre1.6.0_30/lib/amd64/server:/usr/lib/jvm/jre1.6.0_30/lib/amd64:/usr/lib/jvm/jre1.6.0_30/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs = sun.plugin.net.protocol|com.sun.deploy.net.protocol
java.rmi.server.RMIClassLoaderSpi = sun.plugin2.applet.JNLP2RMIClassLoaderSpi
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.6.0_30-b12
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.6.0_30
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 20.5-b03
javaplugin.nodotversion = 160_30
javaplugin.version = 1.6.0_30
javaplugin.vm.options =
javawebstart.version = javaws-1.6.0_30
line.separator = \n
line.separator.applet = true
os.arch = amd64
os.arch.applet = true
os.name = Linux
os.name.applet = true
os.version = 2.6.32-5-amd64
os.version.applet = true
package.restrict.access.com.sun.deploy = true
package.restrict.access.netscape = false
package.restrict.access.org.mozilla.jss = true
package.restrict.access.sun = true
package.restrict.definition.com.sun.deploy = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.org.mozilla.jss = true
package.restrict.definition.sun = true
path.separator = :
path.separator.applet = true
sun.arch.data.model = 64
sun.awt.warmup = true
sun.boot.class.path = /usr/lib/jvm/jre1.6.0_30/lib/resources.jar:/usr/lib/jvm/jre1.6.0_30/lib/rt.jar:/usr/lib/jvm/jre1.6.0_30/lib/sunrsasign.jar:/usr/lib/jvm/jre1.6.0_30/lib/jsse.jar:/usr/lib/jvm/jre1.6.0_30/lib/jce.jar:/usr/lib/jvm/jre1.6.0_30/lib/charsets.jar:/usr/lib/jvm/jre1.6.0_30/lib/modules/jdk.boot.jar:/usr/lib/jvm/jre1.6.0_30/classes:/usr/lib/jvm/jre1.6.0_30/lib/deploy.jar:/usr/lib/jvm/jre1.6.0_30/lib/javaws.jar:/usr/lib/jvm/jre1.6.0_30/lib/plugin.jar
sun.boot.library.path = /usr/lib/jvm/jre1.6.0_30/lib/amd64
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = sun.plugin2.main.client.PluginMain write_pipe_name=/tmp/.com.sun.deploy.net.socket.3961.1226791256345408654.AF_UNIX
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout = 120000
sun.net.http.errorstream.enableBuffering = true
sun.os.patch.level = unknown
trustProxy = true
user.country = DK
user.dir = /home/glinkels/Documents
user.home = /home/glinkels
user.language = en
user.name = glinkels
user.timezone = Etc/GMT-0
----------------------------------------------------
Dump deployment properties ...
----------------------------------------------------
deployment.browser.args = -remote openURL(%u,new-window)
deployment.browser.path = /usr/bin/firefox
deployment.cache.enabled = true
deployment.cache.jarcompression = 0
deployment.cache.max.size = -1
deployment.capture.mime.types = true
deployment.console.startup.mode = SHOW
deployment.control.panel.log = false
deployment.javapi.cache.update = false
deployment.javapi.lifecycle.exception = true
deployment.javapi.log.filename =
deployment.javapi.runtime.type = 0
deployment.javapi.stop.timeout = 200
deployment.javapi.trace.filename =
deployment.javaws.associations = ASK_USER
deployment.javaws.autodownload = ALWAYS
deployment.javaws.cache.update = false
deployment.javaws.concurrentDownloads = 4
deployment.javaws.home.jnlp.url = http://java.sun.com/products/javawebstart
deployment.javaws.installURL = http://java.sun.com/products/autodl/j2se
deployment.javaws.logFileName =
deployment.javaws.muffin.max = 256
deployment.javaws.shortcut = ASK_IF_HINTED
deployment.javaws.ssv.enabled = true
deployment.javaws.traceFileName =
deployment.javaws.uninstall.shortcut = false
deployment.javaws.update.timeout = 1500
deployment.jpi.mode.new = true
deployment.log = true
deployment.max.output.file.size = 10
deployment.max.output.files = 5
deployment.mime.types.use.default = true
deployment.proxy.bypass.local = false
deployment.proxy.override.hosts =
deployment.proxy.same = false
deployment.proxy.type = 3
deployment.repository.askdownloaddialog.show = true
deployment.repository.enabled = true
deployment.security.SSLv2Hello = false
deployment.security.SSLv3 = true
deployment.security.TLSv1 = true
deployment.security.askgrantdialog.notinca = true
deployment.security.askgrantdialog.show = true
deployment.security.authenticator = true
deployment.security.blacklist.check = true
deployment.security.browser.keystore.use = true
deployment.security.clientauth.keystore.auto = true
deployment.security.expired.warning = true
deployment.security.https.warning.show = false
deployment.security.jsse.hostmismatch.warning = true
deployment.security.mixcode = ENABLE
deployment.security.notinca.warning = true
deployment.security.password.cache = true
deployment.security.pretrust.list = true
deployment.security.sandbox.awtwarningwindow = true
deployment.security.sandbox.jnlp.enhanced = true
deployment.security.trusted.policy =
deployment.security.validation.crl = false
deployment.security.validation.ocsp = false
deployment.security.validation.ocsp.publisher = false
deployment.system.security.blacklist = /usr/lib/jvm/jre1.6.0_30/lib/security/blacklist
deployment.system.security.cacerts = /usr/lib/jvm/jre1.6.0_30/lib/security/cacerts
deployment.system.security.jssecacerts = /usr/lib/jvm/jre1.6.0_30/lib/security/jssecacerts
deployment.system.security.oldcacerts = /usr/lib/jvm/jre1.6.0_30/lib/security/cacerts
deployment.system.security.oldjssecacerts = /usr/lib/jvm/jre1.6.0_30/lib/security/jssecacerts
deployment.system.security.trusted.certs = /usr/lib/jvm/jre1.6.0_30/lib/security/trusted.certs
deployment.system.security.trusted.clientauthcerts = /usr/lib/jvm/jre1.6.0_30/lib/security/trusted.clientcerts
deployment.system.security.trusted.jssecerts = /usr/lib/jvm/jre1.6.0_30/lib/security/trusted.jssecerts
deployment.system.security.trusted.libraries = /usr/lib/jvm/jre1.6.0_30/lib/security/trusted.libraries
deployment.system.security.trusted.publishers = /usr/lib/jvm/jre1.6.0_30/lib/security/trusted.publishers
deployment.trace = true
deployment.update.mime.types = true
deployment.user.cachedir = /home/glinkels/.java/deployment/cache
deployment.user.extdir = /home/glinkels/.java/deployment/ext
deployment.user.logdir = /home/glinkels/.java/deployment/log
deployment.user.security.blacklist = /home/glinkels/.java/deployment/security/blacklist
deployment.user.security.policy = file://home/glinkels/.java/deployment/security/java.policy
deployment.user.security.saved.credentials = /home/glinkels/.java/deployment/security/auth.dat
deployment.user.security.trusted.cacerts = /home/glinkels/.java/deployment/security/trusted.cacerts
deployment.user.security.trusted.certs = /home/glinkels/.java/deployment/security/trusted.certs
deployment.user.security.trusted.clientauthcerts = /home/glinkels/.java/deployment/security/trusted.clientcerts
deployment.user.security.trusted.jssecacerts = /home/glinkels/.java/deployment/security/trusted.jssecacerts
deployment.user.security.trusted.jssecerts = /home/glinkels/.java/deployment/security/trusted.jssecerts
deployment.user.security.trusted.libraries = /home/glinkels/.java/deployment/security/trusted.libraries
deployment.user.security.trusted.publishers = /home/glinkels/.java/deployment/security/trusted.publishers
deployment.user.tmp = /home/glinkels/.java/deployment/tmp
deployment.version = 6.0
java.quick.starter = false
----------------------------------------------------
Done.


ButterflyMelissa 02-11-2012 11:03 AM

Just a quick thought...is Debian Squeeze 64 bit? Just checking, because, this:

Quote:

Java HotSpot(TM) 64-Bit Server VM (2
caught my attention...according to the release notes, 64 bit is supported, is the hardware 64 bit? According to this

Quote:

(Linux 2.6.32-5-amd64)
it seems to be.

Furthermore, does the user (you, in fact) have execute rights on the plugin?

Wat does about : plugins (kill the spaces - the forum softwzare would make a smiley...) say? Type that in the address field...does the plugin appear in the list?

Thor

jlinkels 02-11-2012 01:18 PM

Quote:

Originally Posted by Thor_2.0 (Post 4599788)
Just a quick thought...is Debian Squeeze 64 bit? Just checking, because, this:

Yes, it is 64 bits.
I have 4 other machines running Debian Squeeze running 64 bits, they all perform correctly with Java. Of of them has 32-bits Java installed.
I also installed the 32 bits version on the problem machine, same result.

Quote:

Originally Posted by Thor_2.0 (Post 4599788)
Furthermore, does the user (you, in fact) have execute rights on the plugin?

Yes

Quote:

Originally Posted by Thor_2.0 (Post 4599788)
Wat does about : plugins (kill the spaces - the forum softwzare would make a smiley...) say? Type that in the address field...does the plugin appear in the list?
Thor

The plugin appears in the list in both Opera and Iceweasel. When I remove the Java installation they disappear. When I re-install Java, they re-appear.

IMHO the plugin is actually running. It tries to lead the requested class and then tells me it cannot. Is there some kind of inherent search path? I know for stand-alone applications you need a CLASSPATH. But that seems not to be needed on any of the other machines to launch a Java applet in the browser.

jlinkels

ButterflyMelissa 02-11-2012 02:17 PM

Just being utterly curious, what is the PATH variable like? Try to compare that with the well-behaved boxes...

jlinkels 02-11-2012 03:54 PM

It was so easy after all.... sigh
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044
Don't know why I suddenly found the correct thread.

Thanks for your assistance. Especially the pointer to jcontrol was helpful.

jlinkels

ButterflyMelissa 02-11-2012 04:08 PM

No sweat! Glad I could help! :)

Enjoy the weekend, I know (now) I will...


All times are GMT -5. The time now is 08:07 AM.