JAVA_HOME inconsistent on non-x86 architectures
@@ -29,10 +29,7 @@ class bigtop_toolchain::env {
$javahome = "/usr/lib/jvm/${java}-openjdk-$arch"
}
'Fedora','Centos', 'Amazon': {
- case $architecture {
- 'amd64','x86_64' : { $javahome = "/usr/lib/jvm/${java}" }
- 'ppc64le' : { $javahome = "/usr/lib/jvm/${java}-openjdk" }
- }
+ $javahome = "/usr/lib/jvm/${java}"
}
'OpenSuSE' : {
$javahome = "/usr/lib64/jvm/${java}-openjdk-${java_version}"
