Solved JDK 7 to JDK 6

Discussion in 'Plugin Development' started by CorrieKay, Dec 15, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    CorrieKay

    So i was developing my personal plugin for java 7, and now i want to compile it to be work under java 6. So i installed the java 6 JDK and i THINK i set everything up correctly in eclipse... but whenever i try to compile and test the system, i get a version error :\

    does anyone know whats going on? i even changed my path to point at my java 6 install, but thats not even working..

    But thats a weird thing, shouldnt it be fine to run java 6 under java 7 jre? or am i mistaken? I thought the unsupported class version error only was thrown when you tried to use a higher version on a lower version jre..

    edit: it was still compiling a version of 1.7 (odd, since i dont have 7 installed anymore).

    Fixed the issue: project > properties > java compiler > configure workspace settings (upper right) > compiler compliance level
     
  2. Offline

    NoLiver92

    have you tried to change the compiler:

    Properties (of project folder) >> java compiler >> untick jall checkboxes in the jdk compliance box.
    then set eveyting to java 6?
     
  3. Offline

    fireblast709

    NoLiver92 she already fixed the issue :3
     
Thread Status:
Not open for further replies.

Share This Page