-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
The Spark installation indicates installing JDK 1.8, but apparently the latest CENTOS 7 x64 image / RPMs installs both 1.7 and 1.8 and sets the default to 1.7. To correct this, issue the following command:
[root@spark1 ~]# alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
1 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-2.b17.el7_1.x86_64/jre/bin/java
*+ 2 /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.1.el7_1.x86_64/jre/bin/java
Enter to keep the current selection[+], or type selection number: 1
Once done, do java --version to check that the correct version is selected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels