[Centos] Setting up Java, simple question....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



the rpms you have are the gcc java compiler. They are not 'standard' 
java compiler.
the java runtime is j2re (yum search j2re)
if you want to compile, look for a java sdk (jdk at sun's website)

Sophana

Olaf Greve wrote:

> Hi,
>
> I'm fiddling around with the CentOS 4 installation, and I _thought_ I 
> had instructed the installer to add Java as well.
>
> Doing a: rpm -qa | grep java
>
> Shows:
> java-1.4.2-gcj-compat-1.4.2.0-26jpp
> gcc-java-3.4.3-9.EL4
>
> Yet, when trying to call javac, it cannot be found on the system...
>
> When doing:  find / -name "javac" -print
>
> Indeed nothing is found :(
>
> Can anyone tell me how to properly set it up, and also, can anyone 
> tell me which PATH and CLASSPATH settings need to be set/changed in 
> order to get the base classes etc. found?
>
> Cheers!
> Olafo
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxxx
> http://lists.caosity.org/mailman/listinfo/centos
>

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux