- edited description
CentOS / RHEL 7 has different JAVA_HOME requirements
Issue #1
resolved
Here is what /usr/lib/jvm looks like
[root@cc-stagesolr-01 ~]# ls -l /usr/lib/jvm
total 4
lrwxrwxrwx. 1 root root 26 May 22 04:58 java -> /etc/alternatives/java_sdk
lrwxrwxrwx. 1 root root 32 May 22 04:58 java-1.7.0 -> /etc/alternatives/java_sdk_1.7.0
lrwxrwxrwx. 1 root root 40 May 22 04:58 java-1.7.0-openjdk -> /etc/alternatives/java_sdk_1.7.0_openjdk
drwxr-xr-x. 8 root root 4096 May 22 04:58 java-1.7.0-openjdk-1.7.0.79-2.5.5.1.el7_1.x86_64
lrwxrwxrwx. 1 root root 34 May 22 04:58 java-openjdk -> /etc/alternatives/java_sdk_openjdk
lrwxrwxrwx. 1 root root 21 May 22 04:58 jre -> /etc/alternatives/jre
lrwxrwxrwx. 1 root root 27 May 22 04:58 jre-1.7.0 -> /etc/alternatives/jre_1.7.0
lrwxrwxrwx. 1 root root 35 May 22 04:58 jre-1.7.0-openjdk -> /etc/alternatives/jre_1.7.0_openjdk
lrwxrwxrwx. 1 root root 52 May 22 04:58 jre-1.7.0-openjdk-1.7.0.79-2.5.5.1.el7_1.x86_64 -> java-1.7.0-openjdk-1.7.0.79-2.5.5.1.el7_1.x86_64/jre
lrwxrwxrwx. 1 root root 29 May 22 04:58 jre-openjdk -> /etc/alternatives/jre_openjdk
I wonder if we could use "jre-1.7.0" instead to be compatible between EL6 and EL7?
Comments (4)
-
reporter -
reporter - edited description
-
Thank you for your submission. I have applied the fix in commit: https://bitbucket.org/landcareresearch/puppet-solr/commits/5d96a38c7930a287d80e3564a7121b22b188cef6
-
- changed status to resolved
Fixed
- Log in to comment