How to depend on java 11 so it can be satisfied by openjdk or by Oracle java 11 packages? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionHow do I set a RPM package to require Java 8 or higher, whose dependencies can be satisfied by Java 11CentOS5, RHEL5, Java dependent Packages, Alternate JVM/JDKHow to emulate Oracle Java with OpenJDK?Circular dependencies that cannot be fulfilled. PHP packages on CentOS 7 to support Drupal 8Can I indicate that a .deb package depends on Java, but not specify what implementation (e.g. OpenJDK, IcedTea, Oracle)?How can I get a dependency of “default-jre” to work for .rpm packages?Install Oracle Java 8Install JDK 8 on DebianRPM database not seeing file installed as part of RPMCentOS rpm package not available when using yumHow do I set a RPM package to require Java 8 or higher, whose dependencies can be satisfied by Java 11
Performance gap between vector<bool> and array
How does light 'choose' between wave and particle behaviour?
Crossing US/Canada Border for less than 24 hours
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Trademark violation for app?
How can I reduce the gap between left and right of cdot with a macro?
Did Deadpool rescue all of the X-Force?
How to install press fit bottom bracket into new frame
How much damage would a cupful of neutron star matter do to the Earth?
What initially awakened the Balrog?
An adverb for when you're not exaggerating
Can the Great Weapon Master feat's "Power Attack" apply to attacks from the Spiritual Weapon spell?
Disembodied hand growing fangs
What is this clumpy 20-30cm high yellow-flowered plant?
A term for a woman complaining about things/begging in a cute/childish way
Does the Weapon Master feat grant you a fighting style?
Why do we need to use the builder design pattern when we can do the same thing with setters?
How do living politicians protect their readily obtainable signatures from misuse?
Amount of permutations on an NxNxN Rubik's Cube
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Should I use a zero-interest credit card for a large one-time purchase?
How to react to hostile behavior from a senior developer?
What is a fractional matching?
Why should I vote and accept answers?
How to depend on java 11 so it can be satisfied by openjdk or by Oracle java 11 packages?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow do I set a RPM package to require Java 8 or higher, whose dependencies can be satisfied by Java 11CentOS5, RHEL5, Java dependent Packages, Alternate JVM/JDKHow to emulate Oracle Java with OpenJDK?Circular dependencies that cannot be fulfilled. PHP packages on CentOS 7 to support Drupal 8Can I indicate that a .deb package depends on Java, but not specify what implementation (e.g. OpenJDK, IcedTea, Oracle)?How can I get a dependency of “default-jre” to work for .rpm packages?Install Oracle Java 8Install JDK 8 on DebianRPM database not seeing file installed as part of RPMCentOS rpm package not available when using yumHow do I set a RPM package to require Java 8 or higher, whose dependencies can be satisfied by Java 11
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to create an rpm package with a dependency on java 11; however, it seems like the openjdk and Oracle java 11 packages don't provide any overlapping java virtual packages.
OpenJDK Java 11 provides:
$ repoquery --provides java-11-openjdk
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-32) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
libjawt.so
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-64) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
The Oracle Java 11 installer provides:
$ rpm -qp --provides /tmp/jdk-11.0.2_linux-x64_bin.rpm
jdk
jaxp_parser_impl
xml-commons-apis
java
java-11.0.2
java-fonts
jre
jre-11.0.2
jdk-11.0.2 = 2000:11.0.2-ga
jdk-11.0.2(x86-64) = 2000:11.0.2-ga
How do I set my packages' dependencies to be flexible enough to work with either java11?
I thought rpm boolean dependencies might help, but I could find no information about updating rpm to version 4.13.
If I set my packages dependencies to:Requires: jre-11 >= 11, rpm >= 4.13
installation fails with:
Error: Package: MYPACKAGE
Requires: rpm >= 4.13
Installed: rpm-4.11.3-32.el7.x86_64 (installed)
rpm = 4.11.3-32.el7
Available: rpm-4.11.3-35.el7.x86_64 (base)
rpm = 4.11.3-35.el7
Version 4.13 of rpm just doesn't seem to be available? I'm using CentOS7, but the same happens on RHEL 7.5 too.
rpm java dependencies packaging
add a comment |
I'm trying to create an rpm package with a dependency on java 11; however, it seems like the openjdk and Oracle java 11 packages don't provide any overlapping java virtual packages.
OpenJDK Java 11 provides:
$ repoquery --provides java-11-openjdk
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-32) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
libjawt.so
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-64) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
The Oracle Java 11 installer provides:
$ rpm -qp --provides /tmp/jdk-11.0.2_linux-x64_bin.rpm
jdk
jaxp_parser_impl
xml-commons-apis
java
java-11.0.2
java-fonts
jre
jre-11.0.2
jdk-11.0.2 = 2000:11.0.2-ga
jdk-11.0.2(x86-64) = 2000:11.0.2-ga
How do I set my packages' dependencies to be flexible enough to work with either java11?
I thought rpm boolean dependencies might help, but I could find no information about updating rpm to version 4.13.
If I set my packages dependencies to:Requires: jre-11 >= 11, rpm >= 4.13
installation fails with:
Error: Package: MYPACKAGE
Requires: rpm >= 4.13
Installed: rpm-4.11.3-32.el7.x86_64 (installed)
rpm = 4.11.3-32.el7
Available: rpm-4.11.3-35.el7.x86_64 (base)
rpm = 4.11.3-35.el7
Version 4.13 of rpm just doesn't seem to be available? I'm using CentOS7, but the same happens on RHEL 7.5 too.
rpm java dependencies packaging
At a quick look, unix.stackexchange.com/a/504715/117549 could be related, in case it helps.
– Jeff Schaller♦
Apr 14 at 13:39
add a comment |
I'm trying to create an rpm package with a dependency on java 11; however, it seems like the openjdk and Oracle java 11 packages don't provide any overlapping java virtual packages.
OpenJDK Java 11 provides:
$ repoquery --provides java-11-openjdk
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-32) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
libjawt.so
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-64) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
The Oracle Java 11 installer provides:
$ rpm -qp --provides /tmp/jdk-11.0.2_linux-x64_bin.rpm
jdk
jaxp_parser_impl
xml-commons-apis
java
java-11.0.2
java-fonts
jre
jre-11.0.2
jdk-11.0.2 = 2000:11.0.2-ga
jdk-11.0.2(x86-64) = 2000:11.0.2-ga
How do I set my packages' dependencies to be flexible enough to work with either java11?
I thought rpm boolean dependencies might help, but I could find no information about updating rpm to version 4.13.
If I set my packages dependencies to:Requires: jre-11 >= 11, rpm >= 4.13
installation fails with:
Error: Package: MYPACKAGE
Requires: rpm >= 4.13
Installed: rpm-4.11.3-32.el7.x86_64 (installed)
rpm = 4.11.3-32.el7
Available: rpm-4.11.3-35.el7.x86_64 (base)
rpm = 4.11.3-35.el7
Version 4.13 of rpm just doesn't seem to be available? I'm using CentOS7, but the same happens on RHEL 7.5 too.
rpm java dependencies packaging
I'm trying to create an rpm package with a dependency on java 11; however, it seems like the openjdk and Oracle java 11 packages don't provide any overlapping java virtual packages.
OpenJDK Java 11 provides:
$ repoquery --provides java-11-openjdk
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-32) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
libjawt.so
java-11 = 1:11.0.2.7-0.el7_6
java-11-openjdk = 1:11.0.2.7-0.el7_6
java-11-openjdk(x86-64) = 1:11.0.2.7-0.el7_6
jre-11 = 1:11.0.2.7-0.el7_6
jre-11-openjdk = 1:11.0.2.7-0.el7_6
The Oracle Java 11 installer provides:
$ rpm -qp --provides /tmp/jdk-11.0.2_linux-x64_bin.rpm
jdk
jaxp_parser_impl
xml-commons-apis
java
java-11.0.2
java-fonts
jre
jre-11.0.2
jdk-11.0.2 = 2000:11.0.2-ga
jdk-11.0.2(x86-64) = 2000:11.0.2-ga
How do I set my packages' dependencies to be flexible enough to work with either java11?
I thought rpm boolean dependencies might help, but I could find no information about updating rpm to version 4.13.
If I set my packages dependencies to:Requires: jre-11 >= 11, rpm >= 4.13
installation fails with:
Error: Package: MYPACKAGE
Requires: rpm >= 4.13
Installed: rpm-4.11.3-32.el7.x86_64 (installed)
rpm = 4.11.3-32.el7
Available: rpm-4.11.3-35.el7.x86_64 (base)
rpm = 4.11.3-35.el7
Version 4.13 of rpm just doesn't seem to be available? I'm using CentOS7, but the same happens on RHEL 7.5 too.
rpm java dependencies packaging
rpm java dependencies packaging
edited Apr 14 at 13:38
Jeff Schaller♦
45.1k1164147
45.1k1164147
asked Apr 9 at 10:40
jennyjenny
134
134
At a quick look, unix.stackexchange.com/a/504715/117549 could be related, in case it helps.
– Jeff Schaller♦
Apr 14 at 13:39
add a comment |
At a quick look, unix.stackexchange.com/a/504715/117549 could be related, in case it helps.
– Jeff Schaller♦
Apr 14 at 13:39
At a quick look, unix.stackexchange.com/a/504715/117549 could be related, in case it helps.
– Jeff Schaller♦
Apr 14 at 13:39
At a quick look, unix.stackexchange.com/a/504715/117549 could be related, in case it helps.
– Jeff Schaller♦
Apr 14 at 13:39
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511426%2fhow-to-depend-on-java-11-so-it-can-be-satisfied-by-openjdk-or-by-oracle-java-11%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511426%2fhow-to-depend-on-java-11-so-it-can-be-satisfied-by-openjdk-or-by-oracle-java-11%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
At a quick look, unix.stackexchange.com/a/504715/117549 could be related, in case it helps.
– Jeff Schaller♦
Apr 14 at 13:39