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 do not have a problem (yet), I just try to understand.
I want to update in openSuSe 13.1 (yes I will move to more recent releases soon)
from JDK-1.7.0 to JKD-1.8. I will download the tar-file, since the rpm does not seem to be available for openSuSe and eventually use update-alternatives
since I need to keep the present version. I have found instructions how to do this and I am about to follow them. But, I want to understand why the directory
/usr/lib64/jvm-export
with all the symbolic links in it is needed.
Would not /usr/lib64/jvm/ be good enough?
You are installing non-native software that neither the package manager nor the distribution repos can track. I install java under /usr/local and make symbolic links to the folder and name it java. Using that path in my configurations and executable links enabled somewhat dynamic upgrades and repointing without my having to touch every configuration file. You can install it under that lib folder, under /opt, under /usr/local, or as you please as long as you take care of configuring your systems and applications to use the correct paths.
Thank you wpeckham for your reply.
I knew that I had to fend for myself.
In the meanwhile I have successfully installed jdk1.8.0_121. All test so far positive.
I started from what I saw for jre-1.7.0-openjdk on my machine. That I had installed using zypper back then
when there still was a openjdk repository. I found the directory /usr/lib64/jvm that you would expect
but also /usr/lib64/jvm-exports, which somehow duplicated what was done for the jvm directory.
I ignore this for the moment. But, I am still wary that I might run into problems when I least expect it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.