Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm running RedHat, and want to install the Java SDK 1.5 (I'm currently using 1.4). This isn't a package that is available under up2date, as near as I can tell from the RedHat Network website (rhn.redhat.com). So I'd like to install it using RPM. Everything else on my computer has been installed using up2date, and I'm worried that RPM will conflict with up2date.
Also, I'm wondering what exactly RPM and up2date do to "install" software. For example, I see some symbolic links in /usr/bin, and am guessing that these links were created by up2date? If I use RPM to update Java, will I need to update all of those symbolic links to point to the new JVM?
(As you can see, I know just enough to be dangerous, but not enough to be useful.)
up2date is as far as I know nothing else but a rpm-frontend (somebody correct me please if Iīm wrong).
To install/ update your Java SDK just download the latest version from java.sun.com, open up a terminal, become root and then type
rpm -Uhv java-whatever.rpm
This should work for all rpm-based distributions. For more information about rpm type
The symbolic links will be created by rpm, at least the ones nescassary to run Javaprograms. If youīre developer you maybe have to create your own symbolic links in /usr/bin (so did I under Mandriva 2006)
Something to think about: which java will tell you the path to your java executable. This may be a link pointing to your (old) java1.4.2, check this with ls -al /path/to/java. If it is a link you'll need to delete it, and make a new link pointing to the java executable in your new java1.5.0
Or maybe I am barking up the wrong tree here!.
Seems you have two JDK versions now... but it doesnīt matter because different java versions donīt conflict. Itīs just up to you which one to choose.
My Java is installed in /usr/java/jdk1.5.0_06/ so I guess itīs the same on your system. There are two possibilities for you now: delete the old symbolic link and either create a new one or add /usr/java/jdk1.5.0_06/jre/bin to your path. Or donīt do anything and invoke the new java on the commandline when needed.
It looks like the Java pointers go from /usr/bin -> /etc/alternatives -> /usr/lib/jvm/java-1.4.2-gcj/bin. I would like to change these to point to the updated 1.5 JVM, but I'm still having problems installing.
If I run "locate java", I find two *empty* directories labeled java-1.5.0. But RPM insists that Java 1.5 is installed. Ideas?