Re: Java 1.5

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



On 3/15/2010 12:33 PM, Jim Perrin wrote:
> On Mon, Mar 15, 2010 at 11:56 AM, Roland RoLaNd<r_o_l_a_n_d@xxxxxxxxxxx>  wrote:
>>
>> Hello,
>>
>> i'm trying to install jboss where it asks me for java 1.5
>> i have both 1.4 and 1.6 installed
>> with JAVA_HOME pointing to 1.6
>>
>> i downloaded jdk-1_5_0_17-linux-i586.bin  and executed it..
>> though nothing changed..
>> when i execute : alternatives --config java
>>
>> i can only see 1.4 and 1.6
>
> The java bin from Sun that you ran doesn't set the alternatives
> framework up. That only gets done via the jpackage rpms or manually
> jamming the information in.

And the alternatives concept is only suitable for providing a single 
default.  In the more likely case that you need specific JVM versions 
for specific applications or different ones for testing and production, 
you have to export JAVA_HOME for it anyway.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.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