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 1Nxxoq-0000Ri-Di for garchives@archives.gentoo.org; Sat, 03 Apr 2010 07:31:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66233E079D; Sat, 3 Apr 2010 07:30:36 +0000 (UTC) Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F6D5E079D for ; Sat, 3 Apr 2010 07:30:36 +0000 (UTC) Received: from [212.54.34.132] (helo=smtp1.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1NxxoR-0001iS-Cx for gentoo-user@lists.gentoo.org; Sat, 03 Apr 2010 09:30:35 +0200 Received: from 5353258a.cable.casema.nl ([83.83.37.138] helo=data.hosts.antarean.org) by smtp1.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1NxxoQ-0008E9-ME for gentoo-user@lists.gentoo.org; Sat, 03 Apr 2010 09:30:34 +0200 Received: from localhost (localhost [127.0.0.1]) by data.hosts.antarean.org (Postfix) with ESMTP id 3C8D227D52 for ; Sat, 3 Apr 2010 09:30:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.hosts.antarean.org ([127.0.0.1]) by localhost (data.hosts.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qFk4S-ujnAnw for ; Sat, 3 Apr 2010 09:30:34 +0200 (CEST) Received: from eve.localnet (eve.hosts.antarean.org [10.1.5.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.hosts.antarean.org (Postfix) with ESMTPS id 1E25E27783 for ; Sat, 3 Apr 2010 09:30:34 +0200 (CEST) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] no javac on gentoo amd64? Date: Sat, 3 Apr 2010 09:30:33 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.30-gentoo-r5; KDE/4.3.5; x86_64; ; ) References: In-Reply-To: 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201004030930.33657.joost@antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1NxxoQ-0008E9-ME X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.001, vereist 5, autolearn=not spam, BAYES_50 0.00) X-ZiggoSMTP-MailScanner-From: joost@antarean.org X-Spam-Status: No X-Archives-Salt: cc02bd02-6e1b-49fb-a6f3-091769a69315 X-Archives-Hash: b2f7bee1cb51940a14e4e7eb10ac9443 On Saturday 03 April 2010 09:17:47 Xi Shen wrote: > hi, > > my system is gentoo amd 64. java-config -L show i have two VMs on my > system: > > The following VMs are available for generation-2: > 1) IcedTea6-bin 1.7.1 [icedtea6-bin] > *) Sun JRE 1.6.0.18 [sun-jre-bin-1.6] > > but when i ran javac, it says: > > * javac is not available for sun-jre-bin-1.6 on x86_64 > * IMPORTANT: some Java tools are not available on some VMs on some > architectures > > we do not have javac on amd64 system? how to fix this? > i did not find much use information on > http://www.gentoo.org/doc/en/java.xml > The JRE (Java Runtime Environment) only has the Runtime tools. You need to install the JDK. It works on my system: ** joost@eve ~ $ java-config -L The following VMs are available for generation-2: *) Sun JDK 1.6.0.17 [sun-jdk-1.6] VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL. Gentoo recommends not setting these VMs as either your System or User VM. Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information ** joost@eve ~ $ eix -I jdk [I] dev-java/sun-jdk Available versions: (1.4) ~*1.4.2.19-r1!f!s[1] (1.5) 1.5.0.22-r1!s (1.6) 1.6.0.17!s ~1.6.0.18!s ~1.6.0.18-r1!s ~1.6.0.19!s {X alsa derby doc examples jce nsplugin odbc} Installed versions: 1.6.0.17(1.6)!s(09:05:13 AM 11/18/2009)(X alsa nsplugin -derby -doc -examples -jce -odbc) Homepage: http://java.sun.com/javase/6/ Description: Sun's Java SE Development Kit [I] virtual/jdk Available versions: (1.4) ~1.4.2-r1[1] (1.5) 1.5.0 ~1.5.0-r1[1] ~1.5.0-r2[1] (1.6) 1.6.0 ~1.6.0-r1[1] ~1.6.0-r2[1] Installed versions: 1.6.0(1.6)(09:07:44 AM 11/18/2009) Homepage: http://java.sun.com/ Description: Virtual for JDK [1] layman/java-overlay Found 2 matches. ** joost@eve ~ $ javac Usage: javac where possible options include: -g Generate all debugging info ** joost@eve ~ $ uname -a Linux eve 2.6.30-gentoo-r5 #1 SMP Wed Nov 18 12:23:47 CET 2009 x86_64 AMD Phenom(tm) 9950 Quad-Core Processor AuthenticAMD GNU/Linux ** HTH, Joost Roeleveld