Any command... just "java" or java -jar [any jar file] or anything except java -server... jvm.cfg looked like this before: # %W% %E% # # Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. # ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. # # # # # List of JVMs that can be used as an option to java, javac, etc. # Order is important -- first in this list is the default JVM. # NOTE that this both this file and its format are UNSUPPORTED and # WILL GO AWAY in a future release. # # You may also select a JVM in an arbitrary location with the # "-XXaltjvm=<jvm_dir>" option, but that too is unsupported # and may not be available in a future release. # -client IF_SERVER_CLASS -server -server KNOWN -hotspot ALIASED_TO -client -classic WARN -native ERROR -green ERROR
----EOF---- And changing it to: # # %W% %E% # # Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. # ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. # # # # # List of JVMs that can be used as an option to java, javac, etc. # Order is important -- first in this list is the default JVM. # NOTE that this both this file and its format are UNSUPPORTED and # WILL GO AWAY in a future release. # # You may also select a JVM in an arbitrary location with the # "-XXaltjvm=<jvm_dir>" option, but that too is unsupported # and may not be available in a future release. # -server KNOWN -client IF_SERVER_CLASS -server -hotspot ALIASED_TO -client -classic WARN -native ERROR -green ERROR ---EOF--- Made everything work as it should. (as far as I can tell...) The change is the one provided in the ubuntu bug report I linked to in the original report: http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg29226.html (that was filed against sun-java5 in 2006...) 2011/4/20 Torsten Werner <twer...@debian.org> > Hi Erik, > > On Wed, Apr 20, 2011 at 3:44 AM, Erik Sundin <lassiethebr...@gmail.com> > wrote: > > When running java in anyway except with -server the following error > > is produced: > > "Error: no `client' JVM at > `/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/client/libjvm.so'." > > it works perfectly for me. What command do you try to run (with full > command line)? What is the contents of your /etc/java-6-sun/jvm.cfg > file? > > Torsten > -- //Erik Sundin