-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
offline install does't provide openjdk-8, it has to be installed in advance #127
Comments
The user has to install the Java environment, we're not going to bundle it. |
Java11 should be used not java8 - We need to understand why Java8 is still
needed and not 11
…On Thu, Aug 20, 2020 at 10:22 AM Avi Kivity ***@***.***> wrote:
The user has to install the Java environment, we're not going to bundle it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2OCCDEGFXDQPCF4SWXUILSBTFLRANCNFSM4QFR6YKA>
.
|
install.sh of scylla-jmx: It only checked 1.8.0, and the error message should be fixed. 1.8, 1.11 should all work.
|
openjdk11 is only available on new ubuntu distros. For centos (7 &8), we only require java 1.8. For ubuntu/deb: we try to find 1.8 / 1.11. If 1.8 and 1.11 all exist, 1.8 will be used. not 1.11. dist/debian/control.template:Depends: ${shlibs:Depends}, ${misc:Depends}, openjdk-8-jre-headless | openjdk-8-jre | oracle-java8-set-default | adoptopenjdk-8-hotspot-jre, %{product}-server |
@amoskong Our JMX and tools should run on both Java 8 and Java 11. Are you seeing some problem with either of them? If so, please report, and let's get it fixed. |
@penberg Could it be related to scylladb/scylladb#6303 ? |
Both versions work well. I'm asking if current order / priority is fine, Java 8 will be installed even Java 11 is also available from the apt repo. Is it expected? |
The offline installer doesn't install java, does it? I'm confused. |
@avikivity I think the issue is that even if you install Java before, it will not be able to install scylla-jmx and tools unless you installed java-8 !!! in debian10 for example the official Java version is 11. I think it's related to this commit scylladb/scylladb@e664289 |
Oh, then we should drop the Conflicts tag. |
according to @penberg we run with java11 fine and the user should install java8 or java11 on his own |
I will open a new issue for this issue.
|
since we bumped the jre used by scylla-jmx from openjdk-8 to openjdk-11, and we started to check for jre-11. despite that scylla-jmx still works with jre-8, jre-11 is the recommended JRE for running scylla-jmx, let's use openjdk-11 for testing offline installation. please note, scylladb/scylla-jmx#198 was also created to address this issue. but in the long run, this fix is a better one. as it's always desirable to use a better supported jre in testing. Refs scylladb/scylla-jmx#127 Fixes scylladb/scylladb#13414 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
since we bumped the jre used by scylla-jmx from openjdk-8 to openjdk-11, and we started to check for jre-11. despite that scylla-jmx still works with jre-8, jre-11 is the recommended JRE for running scylla-jmx, let's use openjdk-11 for testing offline installation. please note, scylladb/scylla-jmx#198 was also created to address this issue. but in the long run, this fix is a better one. as it's always desirable to use a better supported jre in testing. Refs scylladb/scylla-jmx#127 Fixes scylladb/scylladb#13414 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
since we bumped the jre used by scylla-jmx from openjdk-8 to openjdk-11, and we started to check for jre-11. despite that scylla-jmx still works with jre-8, jre-11 is the recommended JRE for running scylla-jmx, let's use openjdk-11 for testing offline installation. please note, scylladb/scylla-jmx#198 was also created to address this issue. but in the long run, this fix is a better one. as it's always desirable to use a better supported jre in testing. Refs scylladb/scylla-jmx#127 Fixes scylladb/scylladb#13414 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
since we bumped the jre used by scylla-jmx from openjdk-8 to openjdk-11, and we started to check for jre-11. despite that scylla-jmx still works with jre-8, jre-11 is the recommended JRE for running scylla-jmx, let's use openjdk-11 for testing offline installation. please note, scylladb/scylla-jmx#198 was also created to address this issue. but in the long run, this fix is a better one. as it's always desirable to use a better supported jre in testing. Refs scylladb/scylla-jmx#127 Fixes scylladb/scylladb#13414 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
version: scylla-jmx master
Currently (unified-package) offline install does't provide openjdk-8, it has to be installed in advance.
It's a known issue, and it's low priority, but we don't have issue to track it.
The old offline installer (https://github.com/scylladb/scylla/wiki/Offline-Installer) depends on RPM/DEB, and openjdk dependency can be solved.
install the openjdk manually
/CC @roydahan @penberg @slivne
The text was updated successfully, but these errors were encountered: