Wednesday, January 31, 2007

Java woes

Who would have thought that installing Java on Linux would be such a headache? I finally managed to do it, though! I have Fedora Core 6, which uses yum to manage packages and installations. FC 6 comes pre-installed with Java 4, which is woefully out of date for what I need. Turns out, what you need to do is download the bin for Linux, run the script to install it (for me, it downloaded it into /usr/java/jdk1.6.0) After that, you use the alternative (type man alternative for more information) and installed it as a second "alternative" to the java 1.4. This works but it will not allow you to automatically receive updates from yum.

You get it in a couple of minutes. Took me 4 hours. :-P

No comments: