Problem with java VM [Solved]

Discussions Regarding Software

Moderator: Moderators

Post Reply
calebs
Young Hen
Posts: 30
Joined: Mon Aug 18, 2008 0:07

Problem with java VM [Solved]

Post by calebs » Sat Aug 23, 2008 19:43

I have installed sabayon linux 3.5 and manually installed mercury IM 1.9 and worked like a charm. Later i updated sabayon and java must be upgraded too but dunno what happened, now if i try to open mercury a window pop ups (2 times) saying "java is not available for sun-jdk-1.6" ... do i have to install a package? i tried to find sun-java6-bin or something like that but can't.
Any ideas?
Thanks

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Re: Problem with java VM

Post by wolfden » Sat Aug 23, 2008 22:07


calebs
Young Hen
Posts: 30
Joined: Mon Aug 18, 2008 0:07

Re: Problem with java VM

Post by calebs » Mon Aug 25, 2008 4:50

Like always, wolfden guiding in the right direction.
I've found the solution, i'll post here so can be of use to anyone.
After upgraded sabayon, sun's java was updated too. Somewhere changed the JRE engine to JAVA-JDK and java JDK DOESN'T have a jre. That's why mercury im was giving me that error.
I solved it running java-config -L (from console, just like wolfden likes) to see if there are any JRE available and notice that sun's JDK was marked as current jre.
then runned java-config -S # where # was the number of the sun's JRE or blackdown's or any other jre installed.
That solved it.

Thanks wolf

Post Reply