Target JRE in Eclipse

后端 未结 6 886
独厮守ぢ
独厮守ぢ 2020-12-18 12:15

How should I change Target JRE in Eclipse. I was earlier using jdk1.7, now I want to use JDK 1.6. But while running my java program I am getting Unsupported Class Version Er

6条回答
  •  别那么骄傲
    2020-12-18 13:03

    Use the target JRE with the cross-compilation options when compiling! I am not sure how to achieve that using the Eclipse preferences, but is simple to do when using the Oracle Java SDK & compiling using Ant (Eclipse can run Ant scripts).

提交回复
热议问题