cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Hybris 1905 Installation - error:11 was unexpected at this time

0 Likes
2,494

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

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member623893
Discoverer
0 Likes

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.

gguidastri
Discoverer
0 Likes

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}

former_member623893
Discoverer
0 Likes

Any advise? I have same problem