Re: Java problem

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

 



On 12/16/06, Paul <paul@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I have gcj installed on my box as well as the official Sun Java SDK. I
can compile happily using javac, but when it comes to running, it looks
like libgcj is getting in the way.

Besides removing gcj, is there any way to get around this problem?
--
"Mmmmmmmm....Shakira geschmiert mit schokolade" sagt Homer


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



As Avi says, it would helpful to know how you installed the SDK. If
you installed by hand, i.e. you didn't use an RPM, then the problem
probably lies with the alternatives system. From the command line, do
  which java
  which javac
This should tell you that these commands run executables in /usr/bin. Then, do
  ls -l /usr/bin/java
  ls -l /usr/bin/javac
and see if they are linked to files in /etc/alternatives. If they are,
then do an ls -l and see what the /etc/alternatives files point to.

If this is indeed the issue then it is best to use the alternatives
program to adjust the links instead of doing it by hand.


Regards,
   Charlie

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux