Skip to content
This repository was archived by the owner on Jun 28, 2019. It is now read-only.

Improve Java SDK dependency#29

Open
tdaitx wants to merge 1 commit intopaolorotolo:masterfrom
tdaitx:patch-1
Open

Improve Java SDK dependency#29
tdaitx wants to merge 1 commit intopaolorotolo:masterfrom
tdaitx:patch-1

Conversation

@tdaitx
Copy link

@tdaitx tdaitx commented Jul 9, 2016

Current behavior:
The current Depends: field causes apt to install a JDK that might not be the default-jdk when the user has no JDK installed. On Ubuntu Xenial and Yaketty this will cause OpenJDK 9 to be installed, which is not optimal given that OpenJDK 9 has not been released yet.

Expected result:
Installing android-studio should cause the distro's recommended JDK (ie. default-jdk) to be installed when the user has no JDK installed. If the user already has a JDK installed, then android-studio should use it. This can be achieved by adding "default-jdk" to the "Depends:" field while still keeping the java-sdk dependency for when the user has another JDK installed.

Current behavior:
The current Depends: field causes apt to install a JDK that might not be the default-jdk when the user has no JDK installed. On Ubuntu Xenial and Yaketty this will cause OpenJDK 9 to be installed, which is not optimal given that OpenJDK 9 has not been released yet.

Expected result:
Installing android-studio should cause the distro's recommended JDK (ie. default-jdk) to be installed when the user has no JDK installed. If the user already has a JDK installed, then android-studio should use it. This can be achieved by adding "default-jdk" to the "Depends:" field while still keeping the java-sdk dependency for when the user has another JDK installed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant