JDK on Fedora Core 6
Posted by Anurag on 27 March, 2007
I was installing Java Development Toolkit 1.5.0 on Fedora Core 6. And I got an error saying.
The installer is unable to run in graphical mode. Try running the installer with the -console or -silent flag.
I thought it was a usual error because ‘root’ couldn’t connect to X. I did
ssh -X root@localhost
or ssh -Y root@localhost
I also tried,
xhost +
su - root
export DISPLAY=:0.0
setenforce 0
service iptables stop
Nothing worked! I tried and tried and tried. Finally I got an answer. Fedora Core 4 onwards a package called ‘openmotif’ has been removed from Fedora Core. Hence, the installer doesn’t start. Another replacement of the same package that now comes with Fedora Core is lesstif.
Hence I installed lesstif and libXp. After that, the installer just worked fine. So anyone facing the same problem, check if you have openmotif or lesstif installed. If not, do so, and then try out the installer.
Cheers!!
Posted in Development, Linux, Tips and tricks | 1 Comment »


