Where do you export the Java Home variable? Depending on the exact location, the variable is set in different shells - or not. See https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix for more details.
1 Like