Re: Java Problems

Pierre Fortin <[email protected]>
Newsgroups gmane.linux.mandrake.expert
Message-ID <[email protected]>
On Sun, 14 Nov 2010 19:43:11 +1030 Brian Schroeder wrote:

>Hi everyone,
>
>I am running Mandriva 2010.1 with Metisse.   Since upgrading
>from 2010.0, I have not been able to run any java applications.
>
>I get the following error:
>
>Exception in thread "main" java.lang.InternalError: Could not get visual
>info
>
>I have done a lot of searching for anything that will tell me what
>is going on, but have not found anything.  The only thing I found of
>any use at all was the java source code that actually produces this
>error.  I didn't actually understand what I was reading - it looked like
>it was saying that it was unable to find an X display to use - but all
>other X-based applications work fine.
>
>I am assuming there is something obvious here I am missing.  Anyone
>got any suggestions?
>
>Brian.
>

Just in case, here's what burned me a while back...

Nowadays, when I run into problems that seem to defy explanation, I just
think back to the time I searched for days only to discover that I'd
installed something in my /usr/local/{bin,sbin} that was incompatible with
newer versions of some other code...  sure was embarrassing; but a lesson
I've never forgotten...  To verify, either remove /usr/local/* from
PATH or change the order. Of course, you may want to check for other
paths you setup yourself...  *lib*,...  :)

HTH,
Pierre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.