How to direct an app to use a specific Java version?
It seems that Oracle could have fixed this. But didn't ...

So I got it working now doing this:
(All credits go to: https://oliverdowling.com.au/2014/03/28/java-se-8-on-mac-os-x)

I assume you got the latest JDK installed (currently 1.8.0_60, please adjust this in future)

Change content of Info.plist:

Open Terminal and issue this command

sudo nano /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Info.plist


Look for key JVMCapabilities and change it to this:

&lt;key&gt;JVMCapabilities&lt;/key&gt;
&lt;array&gt;
    &lt;string&gt;CommandLine&lt;/string&gt;
    &lt;string&gt;JNI&lt;/string&gt;
    &lt;string&gt;BundledApp&lt;/string&gt;
&lt;/array&gt;


Add a symlink for libjvm.dylib and libserver.dylib:

Open Terminal and issue these two commands:

sudo mkdir -p /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bundle/Libraries
sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bundle/Libraries/libserver.dylib