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