sometimes i am an idiot. Now corrctly exporting the JAVA_HOME env setting.