[CentOS] java installation failure

Tue Dec 20 15:34:10 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

Ljubomir Ljubojevic wrote:
> 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?

That's what I was suggesting. One thing, though - that doesn't set
JAVA_HOME, does it?

        mark