LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-12-2017, 05:06 PM   #1
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 48

Rep: Reputation: Disabled
Updating JDK in openSuse


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?
 
Old 04-13-2017, 10:23 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,852

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
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.
 
Old 04-13-2017, 11:13 AM   #3
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 48

Original Poster
Rep: Reputation: Disabled
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.

Peter
 
Old 04-15-2017, 01:46 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,523

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
with the unsupported 13.1 ( went EOL in Feb of 2016)
you will have a ton of pain

but seeing as there are NO updates and you can basically uninstall zypper

you might be able to build from source if glibc is NOT a roadblock
and if the very old gcc is able to build the current jdk source

or see if a genetic tarbal will run in /usr/opt or /use/local
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
program error with jdk on opensuse 13.1 odiliko SUSE / openSUSE 2 07-23-2014 08:42 PM
LXer: Installing Oracle JDK on Ububtu 12.04 and openSuse 12.2 LXer Syndicated Linux News 0 09-30-2012 02:00 PM
Updating opensuse 10.2 tgerbert SUSE / openSUSE 8 03-30-2009 11:21 PM
Installing and Configuring JDK 1.6.0.5 on openSUSE 10.3 ieduarte73 Linux - General 1 04-03-2008 01:20 AM
Updating JDK from 1.4.2 to 1.5.0 Enil8 Linux - Newbie 3 02-19-2006 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration