Bug 1000574

Summary: [RFE]: Java Cartridges should Support other JDK's
Product: OKD Reporter: Eric Rich <erich>
Component: ImageAssignee: Ben Parees <bparees>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: ccoleman, dmcphers, jhonce, jkeck
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-19 18:08:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eric Rich 2013-08-23 17:29:18 UTC
Description of problem:

Can Java based cartridges be configure to use other JDK versions, that might be installed on a node with alternatives? 

[Idea]: allow marker files to select any one of the nodes listed alternative versions of Java.

Comment 1 Ben Parees 2014-03-19 18:08:26 UTC
I've converted proposal into a trello card as it is a non-trivial change.

https://trello.com/c/xG8duyXd/173-support-additional-jdks-for-java-cartridges

Comment 2 Dan McPherson 2014-04-07 14:43:59 UTC
This is a great use case for a downloadable cart.  There is too much of a test issue with including all possible versions in the standard carts.

Comment 3 John Keck 2014-04-14 19:45:04 UTC
It should be noted that using /etc/alternatives/ you can change the behavior for all gears running on a particular node.  If you install a 3rd party JDK and point /etc/alternatives to that then all gears will run that 3rd party JVM.

Also, on a per application instance basis - you can override the JAVA_HOME to point to whatever binary you would like; however, this is a manual step and is not built into the RHC or Web Console.