JAVA_HOME is hard coded
https://github.com/kgyrtkirk/hive-dev-box/blob/5c6f22e2d9329c17f7fde4dc2a1ad32f7beff11b/tools/install_conf#L86
I'm not sure that this will work when using alternatives to swap between Java versions. Maven will respect JAVA_HOME above all else.
@kgyrtkirk Still stuck on this effort. Do you have any cycles to take a look so I can be unblocked on this? Thanks!
you could have exported the right JAVA_HOME; i've added a commit - but you will still need to load the new env
@kgyrtkirk Thanks. Sorry, can you please provide me the steps for enabling JDK 11? What do I need to do to use this new commit and where do I put it? Thanks!
it should be already available; use:
sw java 11
. /etc/profile.d/java.sh