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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed Java 2 Runtime Environment version 1.4.2 on 2 systems and have met the same difficulties. I can get the Mozilla plugin to work easily, also I can install J2RE and use the GUI program when viewing java programs. However the problem that plagues me is installing other programs dependent on J2RE libraries (Java was installed in the directory /usr/java/j2re1.4.2_01 all the binaries and libraries are within just as they should be). For example, if I wanted to install Lime Wire for Linux (which requires J2RE) I will get a message stating that the installer cannot find my Java Virtual Machine. I have tried placing hard links to the 'java' and 'java_vm' binaries in the /usr/java/j2re1.4.2_01/bin/ directory from the directory where I would think the java installer would search for the binary, '/usr/bin/'. Once done I have had better results, the installer will extract its installation resources and configure itself for my system's environment, however once it begins to launch the installer program itself, an error occurs. It reports that the installer cannot find libjava.so and the Java 2 Runtime Environment. I later tried to place both a sym link and a hard link of libjava.so in both /usr/lib/ and /lib/ with no success and me out of ideas, I have given up for the time being.
I know that I am probably making a common mistake for early users to Linux, any suggestions would be highly appreciated.
I have tried placing the directory /usr/java/j2re1.4.2/lib in my /etc/ld.so.conf file and executed as root ldconf with no success. Well, better said, I had success doing these things however the program installer still does not find the libjava.so file. Which seems strange because when I execute ldconf -v and view which libraries it is searching for, libjava.so exists in this list of libraries. Is it necessary to list the binary directory of java in some file too? What kind of link would be appropriate if I have to link the binaries (symbolic or hard) and does it matter which binary directory I link them to? Thank you in advance!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.