How to depend on java 11 so it can be satisfied by openjdk or oracle java 11 packages? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCentOS5, 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
Keeping a retro style to sci-fi spaceships?
1960s short story making fun of James Bond-style spy fiction
Can the DM override racial traits?
Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?
Drawing arrows from one table cell reference to another
Mortgage adviser recommends a longer term than necessary combined with overpayments
Deal with toxic manager when you can't quit
Student Loan from years ago pops up and is taking my salary
Is there a writing software that you can sort scenes like slides in PowerPoint?
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
Are spiders unable to hurt humans, especially very small spiders?
For what reasons would an animal species NOT cross a *horizontal* land bridge?
Is every episode of "Where are my Pants?" identical?
One-dimensional Japanese puzzle
Variable with quotation marks "$()"
Are there continuous functions who are the same in an interval but differ in at least one other point?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
What force causes entropy to increase?
Why can't wing-mounted spoilers be used to steepen approaches?
Example of compact Riemannian manifold with only one geodesic.
Is this wall load bearing? Blueprints and photos attached
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
How did passengers keep warm on sail ships?
How to depend on java 11 so it can be satisfied by openjdk or oracle java 11 packages?
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election ResultsCentOS5, 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.
linux 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.
linux 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.
linux 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.
linux rpm java dependencies packaging
linux rpm java dependencies packaging
edited Apr 9 at 11:26
jenny
asked Apr 9 at 10:40
jennyjenny
134
134
add a comment |
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-oracle-java-11-pac%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-oracle-java-11-pac%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