javajava-8java-7xuggler

Is it possible to combine java 7 with java 8?


I want to use xuggler like here: java xuggler leads to fatal error But to get it to work i had to downgrade to version 7. Now i have the problem that i want to write a programm which need to have access to java 8.

Can I combine java 7 and java 8 in that way that one class is using the old java 7 and another classes use java 8?

So I guess the enduser have to use java 8 at the end, but this is not the problem.


Solution

  • You cannot achieve this in the same instance of the JVM - you could use 2 Java processes running different versions of the JRE but that sounds like complete overkill for your use case.