IJava
IJava copied to clipboard
Compiler options question
Hello,
I am trying to run code requiring target compiler version to java 8. My jdk is version 11.
I tried the --com-opts "-target 8" during install but the kernel stops working and becomes idle. Nothing happens. If i do the install without the --com-opts kernel and code work fine.
I need to compile with target = 1.8 because i use Java/Spark in the notebook and Spark doesn't support at the moment version > 1.8.
How can achieve that ?
Thank you for the answer.
Regards
P.S.: kernel is installed in Anaconda Jupyter notebook on a windows 10 machine