Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hello everyone,

i have a problem to install Knowage 6.1 on my mac. please help me.

I have already java 8 installed and environnement variable okay 

Environment Knowage 6.1 on macOs high sierra 10.13.1
in Installer by (120 points)

Hi

could you please execute a command to display the JAVA_HOME environment variable?

On MacOS Sierra it should be echo $JAVA_HOME

In case it is not defined, please assign a valid value (pay attention to the fact that you don't have to link neither the java executable file nor the /bin folder, but the home of the JDK) to it and restart the installer.

Best regards

1 Answer

0 votes
One way I've used to set JAVA_HOME in the past is to use the /usr/libexec/java_home command to print the value of JAVA_HOME for the current java executable. Set the output into JAVA_HOME with something like this in the terminal where you run the installer.

export JAVA_HOME=$(/usr/libexec/java_home)

echo $JAVA_HOME
by (620 points)
...