Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 2/2] community/openjdk8: install profile file

From: Sören Tempel <soeren_at_soeren-tempel.net>
Date: Fri, 11 Dec 2015 23:01:05 +0100

On 11.12.15, Timo Teras wrote:
> What if all java's are installed. openjdk7, openjdk8 and gcc-java.
> Which one's JAVA_HOME should take preference? Should it be left up to
> the execution order of profile.d? Or should we let java-common ship one
> profile script that setups the JAVA_HOME to proper place?

My idea was to leave this up to the execution order, but you are right
shipping the /etc/profile.d file with java-common is a better approach.

On 11.12.15, Timo Teras wrote:
> Would it be enough to make it point to "/usr/lib/jvm/default-jvm/jre/"
> always?

Yeah, that should probably work. I will test this and submit a patch for
java-common instead.

Sören.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Dec 11 2015 - 23:01:05 GMT