Skip to content

Commit

Permalink
Resolve Java on buster.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Knight committed May 5, 2019
1 parent a83efc1 commit 66b8ecc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6660,7 +6660,10 @@ Pin-Priority: -1' > /etc/apt/preferences.d/dietpi-docker_fix

else

local packages='ca-certificates-java openjdk-8-jre-headless openjdk-8-jdk-headless'
local version=8
(( $G_DISTRO == 5 )) && version=11

local packages="ca-certificates-java openjdk-$version-jre-headless openjdk-$version-jdk-headless"
# Workaround for ARM install issue: https://github.com/MichaIng/DietPi/issues/2524
apt-get install -y -qq $packages
G_AGI $packages
Expand Down

3 comments on commit 66b8ecc

@MichaIng
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Fourdee
Perfect 👍.
This must be relatively new. I am sure within the last some I successfully installed Java 8 on Buster.

@Fourdee
Copy link
Collaborator

@Fourdee Fourdee commented on 66b8ecc May 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichaIng

Yep, just bear in mind,

So looks like we are stuck with JAVA 11 on Buster.

@MichaIng
Copy link
Owner

@MichaIng MichaIng commented on 66b8ecc May 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Fourdee
Jep, needs to be included in general Buster testing of all software titles. If there are still many that require Java 8, perhaps some pool packages are still installable on Buster that we can then provide via dietpi.com. Otherwise disable those software options and participate on guaranteed open issues about Java 11 support of those titles. I hope the soon coming Buster release is pressure enough to implement it for the devs 😉.

Please sign in to comment.