Answer the question
In order to leave comments, you need to log in
How to correctly specify Java dependency in an RPM package?
It is necessary to specify the dependency on jdk or jre >= 1.7.0 in rpm.
Asked via Suggests: jdk >= 2000:1.7, jre >= 2000:1.7 I
chose Fedora 19 and openSUSE 12.3 for testing.
Packages jdk 1.7.0_45 and jre 1.7.0_45 are installed in the system.
During installation I get:
error: Failed dependencies: jre >= 2000:1.7 is needed by reminder-2.0-1.noarch
No 2000 prefix: I also get an unsatisfied dependency.
Actually the question itself:
How do I correctly set the dependencies so that if there is a jdk or jre from oracle in the system, it checks that the version is greater than 1.7.0 and installs it?
PS: openjdk is out of the question.
PPS: I googled Google, I didn’t find anything worthwhile.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question