Mail archive

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

From: Sören Tempel <>
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.


Received on Fri Dec 11 2015 - 23:01:05 UTC