Java 8

Is it possible to write node code in Java 8? The KNIME SDK is based on an older version of Eclipse that doesn't support Java 8, but is it possible to install the KNIME things in Eclipse Luna?

No, KNIME will not work without modifications in Eclipse 4.x so far. Also KNIME is not shipped with Java 8 yet, so most users won't be able to run nodes written in Java 8.

Hi,

Java 7 SE reaches end-of-public-updates in a few months time.

http://www.oracle.com/technetwork/java/eol-135779.html

Hopefully KNIME SDK will run on java 8 by then?

Cheers

It already does run with Java 8. However, you cannot use any Java 8 features in your code. Also there are some issues when using Java 8, so it's not recommended.

BTW, KNIME is a locally running application where the user can do whatever he wants to his system (e.g. using the Java Snippet node). So there is no reason to switch to a new Java version just because there are no more security updates.

Hi Thor, 

So there is no reason to switch to a new Java version just because there are no more security updates.

However you do understand that there are tons of reasons to be able to use Java 8 features in our code?

Can you please clear the following up for me:

1. Can we launch KNIME using Java 8?

2. Can we link to Java Libraries which use Java 8 features?

3. Can we use Java 8 features within our KNIME code? (Excluding JavaFX)

4. Can we use Java 8 features within our KNIME code which include JavaFX?

 

Hi Everybody,

I was wondering if anyone can provide a status report for Java 8 support within KNIME?

Cheers,

David

KNIME 3+ runs on Java 8.

Regards,
Philipp