A java Runtime Environment (JRE) or JDK must be available in order to run Knime

Normally KNIME 5.2.x ships with JRE 17, but I have seen the issues. Sometime switching to the new UI closes KNIME. To fix any Java related issue follow the below steps:

  1. You need JDK 17 and above (I would recommend: Eclipse Temurin)
  2. Once you install JDK copy the “jvm.dll” path (will look like this): C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin\server\jvm.dll
  3. Go to the KNIME installed directory and open the file called “KNIME.ini”.
  4. Look for line: -vm
    a. (if you find it) Under this line you see there will be already a path of default JRE
    path that comes with KNIME. Replace that line with your newly installed JDK
    (copied in step 2).
    b. If you don’t find -vm: you can create 1st two lines in the file and save it (as below):
    -vm
    C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin\server\jvm.dll

You can use different Knime version by overriding Java required for that version at the same time.

Hope it will solve your issue.

2 Likes