On 04/03/10 18:17, 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
javac, the java compiler, is not avaialable for any JRE, the *runtime* environment. You need to install a JDK, the *development* kit which contains the compiler. Note that if you install JDK, you don't need a JRE anymore as the JDK includes all the component of JRE.
