[CentOS] java installation failure

Ljubomir Ljubojevic office at plnet.rs
Tue Dec 20 15:22:56 UTC 2011


Vreme: 12/20/2011 04:11 PM, m.roth at 5-cent.us piše:
> e-letter wrote:
>>> From: m.roth at 5-cent.us
>>>
>>> I would suggest that if openjdk doesn't work, you go with Sun/Oracle's
>>> java, which is the Source of All Java
>>>
>> Sun java was obtained. After attempt to run jedit, the following error
>> occurred:
>>
>> jedit
>> Warning: $JAVA_HOME environment variable not set! Consider setting it.
>>           Attempting to locate java...
>
> Ok, first trick: set your JAVA_HOME to the correct path. If alternatives
> is in use, select the correct path there, then set JAVA_HOME.
>

/usr/sbin/alternatives --config java could be a good start?

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant



More information about the CentOS mailing list