I'm trying to change Java version for using H2O package via R recipe but it doesn't works fine. I faced below message when I use H2O package via R recipe.
Job failed: Error in R process: simpleError : Your java is not supported: java version "1.7.0_231" Please download the latest Java SE JDK 8 from the following URL: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
So, I have already update latest Java version on my EC2 machine and changed env-site.sh in below link accordingly.
$ java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
I edited DATA_DIR/bin/env-site.sh file.
But this change not correct working and show below messages when I enter "DATA_DIR/bin/dss start" command.
/home/******/DATA_DIR/bin/env-site.sh: line 3: export: `dataiku-dss-VERSION/installer.sh': not a valid identifier
/home/******/DATA_DIR/bin/env-site.sh: line 3: export: `-d': not a valid identifier
/home/******/DATA_DIR/bin/env-site.sh: line 3: export: `-u': not a valid identifier
Could you tell me how to fix this issue?
what is the exact procedure you followed ?
If you run the installer in the upgrade mode as per the guide you linked, you don't need to edit the env-site.sh file.
Can you please remove the edit you made to the env-site.sh file and make sure that this command:
DKUJAVABIN=/PATH/TO/NEW/java dataiku-dss-VERSION/installer.sh -d DSS_DATADIR -u
Is pointing to the java folder and not to the java executable?
For example, if your java executable is in /usr/java/java-1.8.0_222/bin/java, then the path you need will be /usr/java/java-1.8.0_222