0 votes
1 view

Hello all,

I am just trying to install the Community Edition suite on a MacBook 8GB RAM, 1.1 Intel Core M, running Darwin Kernel Version 16.7.0 (macOS Sierra 10.12.6). I would be grateful if I could have some feedback on the following sequence of steps, which seem to fail:

- I have installed the MySQL Community server (Current Generally Available Release: 5.7.20).

- Installed the Java SDK, 

$ which java

/usr/bin/java

$ java --version

java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

Without setting any environmental variables, I try to execute the installation script:

$ sudo ./Knowage-6_1_1-CE-Installer-Unix-20171117.sh 

No suitable Java Virtual Machine could be found on your system.

The version of the JVM must be at least 1.7.

Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

Hence, I set the java installation dir, naively put to the /usr global tree, and then I execute the installation script:

$ export JAVA_HOME=/usr

$ ./Knowage-6_1_1-CE-Installer-Unix-20171117.sh 

Starting Installer ...

Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.install4j.runtime.installer.frontend.GUIHelper (file:/HOMEDIR/Downloads/Knowage-6_1_1-CE-Installer-Unix-20171117.sh.1729.dir/i4jruntime.jar) to field sun.awt.CGraphicsDevice.scale

What is going wrong? I have looked everywhere on the manual for installation instructions, and I may be missing something. Any help would be much appreciated.

asked Nov 27, 2017 in Installer by dmtrmv (120 points) | 1 view

1 Answer

0 votes
Dear Dimitrios,

Knowage is not compatible with JDK 1.9 so you must install jdk 1.8.

After that you must ensure to have correctly installed JDK:

- open command shell and type: java -version.

Be sure to set up JAVA_HOME and PATH=$JAVA_HOME$/bin

Best Regards

Angelo
answered Nov 28, 2017 by abernabei (20,700 points)
1,554 questions
1,017 answers
2,037 comments
2,568 users