ruby-install icon indicating copy to clipboard operation
ruby-install copied to clipboard

Need to check for any openjdk

Open MortalCatalyst opened this issue 8 years ago • 3 comments

As debian and ubuntu now default to openjdk8 or greater the check for jruby should be of a value greater than 8 otherwise it fails.

Installing dependencies for jruby 9.1.5.0 ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package openjdk-7-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openjdk-7-jdk' has no installation candidate
!!! Installing dependencies failed!

MortalCatalyst avatar Oct 21 '16 13:10 MortalCatalyst

Is there a workaround for this other than installing openjdk 7?

ssriram avatar Dec 05 '17 13:12 ssriram

In fact there is one. Changing "apt: openjdk-7-jdk" on the dependencies file to openjdk 8 will make it work.

ssriram avatar Dec 05 '17 13:12 ssriram

You can also

$ apt-get install openjdk-8-jdk
$ ruby-install jruby --no-install-deps

grzuy avatar Feb 02 '18 20:02 grzuy