Which package contains java?

neil ava_0212 at mozcom.com
Mon Oct 3 21:56:41 UTC 2005


Charles Curley wrote:

>On Mon, Oct 03, 2005 at 11:18:15AM -0500, John Mahowald wrote:
>  
>
>>On 10/3/05, Yang Xiao <yxiao2004 at gmail.com> wrote:
>>    
>>
>>>http://java.sun.com, Fedora doesn't come with the jdk packages
>>>
>>>      
>>>
>>However, Fedora does have a java-1.4.2-gcj-compat package, which
>>provides all the links to make gcj appear to be a JRE.
>>
>>You'll still have to export JAVA_HOME, if you use bash perhaps in
>>~/.bash_profile
>>    
>>
>
>To what does one set it?
>
>
>
>  
>
Another command is to use the alternatives command to select a java. To 
run this you must be root and type:

    alternatives --config java

You will be prompted which java you will use.

---
Call the US and Canada FOR FREE! Go to www.mozcom.com for details




More information about the fedora-list mailing list