- Home /
Changing to JDK 1.6 instead of 1.7
Hey, I have a pluggin that only works with JDK 1.6 and when i compile it I'm getting an error that is because I'm using JDK 1.7.
I found this on the Unity docs: "Note: Unity expects Java plugins to be built using JDK v1.6. If you are using v1.7, you should include “-source 1.6 -target 1.6” in the command line options to the compiler."
Can anyone give me a step by step on how to do this on a mac? It's been a while since I set up all the Android compiling stuff and I forget how to set this stuff :/
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613190155im_/https://answers.unity.com/themes/thub/images/avi.jpg)