on ‎2019 Aug 02 3:08 PM
Trying to install SAP commerce hyris 1905 locally. Installed jdk-11.0.3 as it said java 11 required.
However while installing the recipe, it gives error,11 was unexpected at this time
I have set the JAVA_HOME in environment variables as well.
Please suggest
Thanks
Jeevan
Request clarification before answering.
Finally got the root of the error.
In the environment variables PATH should point to bin directory and JAVA_HOME should point to the parent directory of bin directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Check your PATH variable. Even if your JAVA_HOME is ok, the installer will use the java path that is indicated in your PATH variable.
Also, if you are using Unix, please run the following command and see if the correct JDK path is being listed.
sudo update-alternatives --list java
If you have more than one option, you can select the correct configuration using the following command:
sudo update-alternatives --config java
If this command doesn't show the Java 11 option, you must "install" the option, using the following command:
sudo update-alternatives --install /usr/bin/java java {PATH TO YOUR JAVA11 FILE, usually /something/jdk/bin/java}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any advise? I have same problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.