Re: java/java access bridge issues with fc3



On Tue, 2004-12-07 at 17:23 +0000, Bill Haneman wrote:
> Hi Dave:
> 
> The error you see is from 'gcj', it means that the 'java' executable you 
> are using isn't the Sun one.  Somehow your $PATH export didn't take.  
> Try 'which java' and you probably will see the problem.

Actually, the problem is probably the PATH ordering.  Try instead:

export PATH=/usr/java/jdk-1.5.0/bin:$PATH instead

If this is not to your liking, simply remove the /usr/bin/java symlink:
On my fc3 box, ll /usr/bin/java gives
lrwxrwxrwx  1 root root 22 Nov  9 18:30 /usr/bin/java
-> /etc/alternatives/java

rm /usr/bin/java should fix that right up.  If not, do a "which -a java"
to find all occurrences of java in your PATH.

Best,

Brian






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