From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MXmw7-0005bk-3g for garchives@archives.gentoo.org; Mon, 03 Aug 2009 02:06:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF6DBE041A; Mon, 3 Aug 2009 02:06:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CF6CDE041A for ; Mon, 3 Aug 2009 02:06:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 7B1ED66A51 for ; Mon, 3 Aug 2009 02:06:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -4.016 X-Spam-Level: X-Spam-Status: No, score=-4.016 required=5.5 tests=[AWL=-0.417, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lPwM3ck5p29R for ; Mon, 3 Aug 2009 02:05:55 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1F70D668DD for ; Mon, 3 Aug 2009 02:05:53 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MXmvt-0007jV-LK for gentoo-user@gentoo.org; Mon, 03 Aug 2009 02:05:49 +0000 Received: from adsl-69-234-178-13.dsl.irvnca.pacbell.net ([69.234.178.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Aug 2009 02:05:49 +0000 Received: from w41ter by adsl-69-234-178-13.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Aug 2009 02:05:49 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Java jdk Date: Sun, 02 Aug 2009 19:05:19 -0700 Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-178-13.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3pre) Gecko/20090802 Shredder/3.0b4pre In-Reply-To: Sender: news X-Archives-Salt: 42292346-7dbf-43a2-87d0-359e088fd05c X-Archives-Hash: 2c51bfb1d8007c5b6afe95ad605b00ac On 08/02/2009 01:42 PM, James wrote: > walt gmail.com> writes: > java-check-environment > > Java environment is sane. Congratulations! > > eselect java-vm list > Available Java Virtual Machines: > [1] sun-jdk-1.6 system-vm > > But look here: > > eix virtual/jdk > [I] virtual/jdk > Available versions: > (1.4) 1.4.1 1.4.2 > (1.5) 1.5.0 > (1.6) 1.6.0 > Installed versions: 1.4.2(1.4)(14:13:11 07/07/09) 1.6.0(1.6)(14:10:01 > 07/07/09) > Homepage: http://java.sun.com/ > Description: Virtual for JDK I forgot to ask last time: what printed the lines above? I don't recognize the format from anything I have. This may be the real key to your problem. My 20java-config is identical to yours, so that's not the problem. Here is my /usr/lib/jvm: $ls -l /usr/lib/jvm lrwxrwxrwx 1 root root 21 2008-04-20 09:24 sun-jdk-1.5 -> /opt/sun-jdk-1.5.0.15/ lrwxrwxrwx 1 root root 21 2009-07-01 05:50 sun-jdk-1.6 -> /opt/sun-jdk-1.6.0.14/ Here is my /etc/java-config-2: $ls -lF /etc/java-config-2/ drwxr-xr-x 2 root root 4096 2009-07-01 05:48 build/ lrwxrwxrwx 1 root root 25 2008-04-26 14:50 current-system-vm -> /usr/lib/jvm//sun-jdk-1.6/ -rw-r--r-- 1 root root 61 2009-01-13 22:33 virtuals The file 'virtuals' and the two files in the 'build' directory have only example items that are commented out. Have a look there. Either rename or delete your ~/.java directory. Mine is often out of date even thought theoretically we shouldn't need to worry about it. And try renaming or deleting your ~/.ooo3 directory for the same reasons. And 'grep -r 1.4.2 /etc/*' may turn up obsolete config files that you don't know you have. It's like rummaging through your attic :)