Skip to content
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

Packages in the APT repository do not install any JRE #15569

Closed
crispygoth opened this issue Dec 21, 2015 · 4 comments
Closed

Packages in the APT repository do not install any JRE #15569

crispygoth opened this issue Dec 21, 2015 · 4 comments

Comments

@crispygoth
Copy link

When installing the elasticsearch DEB package from the http://packages.elastic.co/ apt repository, the system doesn't automatically bring in any JRE package. This means the package is unusable until this is manually resolved (which causes issues with automated config systems such as Puppet).

The easiest way to get a JRE installed on Debian is to add default-jre-headless | java6-runtime-headless to the "Depends" line in the package control file. This tells APT to install Debian's default JRE if no JRE is currently installed, and the second part tells APT that the dependency can be satisfied by any JRE package that provides at least a version 6-level Java (both the 7.x and 8.x JRE packages provide this).

@nik9000
Copy link
Member

nik9000 commented Dec 21, 2015

I remember a similar issue to this one but don't recall the resolution. @tlrx, do you remember?

@jpountz
Copy link
Contributor

jpountz commented Dec 21, 2015

@nik9000 Maybe it was this one? #3105

@tlrx
Copy link
Member

tlrx commented Dec 21, 2015

And #6163

@clintongormley
Copy link

Yes - in #6163 we decided not to require a specific version of java, and leave it up to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants