* [gentoo-user] no javac on gentoo amd64?
@ 2010-04-03 7:17 Xi Shen
2010-04-03 7:30 ` J. Roeleveld
0 siblings, 1 reply; 2+ messages in thread
From: Xi Shen @ 2010-04-03 7:17 UTC (permalink / raw
To: gentoo-user, gentoo-china, gentoo-amd64
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
--
Best Regards,
David Shen
http://twitter.com/davidshen84/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] no javac on gentoo amd64?
2010-04-03 7:17 [gentoo-user] no javac on gentoo amd64? Xi Shen
@ 2010-04-03 7:30 ` J. Roeleveld
0 siblings, 0 replies; 2+ messages in thread
From: J. Roeleveld @ 2010-04-03 7:30 UTC (permalink / raw
To: gentoo-user
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 <options> <source files>
where possible options include:
-g Generate all debugging info
<snipped rest of output>
**
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-03 7:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-03 7:17 [gentoo-user] no javac on gentoo amd64? Xi Shen
2010-04-03 7:30 ` J. Roeleveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox