1 |
On 04/03/10 18:17, Xi Shen wrote: |
2 |
> hi, |
3 |
> |
4 |
> my system is gentoo amd 64. java-config -L show i have two VMs on my system: |
5 |
> |
6 |
> The following VMs are available for generation-2: |
7 |
> 1) IcedTea6-bin 1.7.1 [icedtea6-bin] |
8 |
> *) Sun JRE 1.6.0.18 [sun-jre-bin-1.6] |
9 |
> |
10 |
> but when i ran javac, it says: |
11 |
> |
12 |
> * javac is not available for sun-jre-bin-1.6 on x86_64 |
13 |
> * IMPORTANT: some Java tools are not available on some VMs on some architectures |
14 |
> |
15 |
> we do not have javac on amd64 system? how to fix this? |
16 |
> i did not find much use information on http://www.gentoo.org/doc/en/java.xml |
17 |
|
18 |
javac, the java compiler, is not avaialable for any JRE, the *runtime* |
19 |
environment. |
20 |
|
21 |
You need to install a JDK, the *development* kit which contains the |
22 |
compiler. Note that if you install JDK, you don't need a JRE anymore as |
23 |
the JDK includes all the component of JRE. |