Eclipse报错 due to restriction on required library C:/Java/jdk1.6.0_10/jre/lib/rt.jar 解决方案 Eclipse 编译时报错: Access restriction:The type NEW is not accessible due to restriction on required library C:/Java/jdk1.6.0_10/jre/lib/rt.jar 解决方法如下: 1.进入Project -…
最近离职来了一家新公司,之前的公司的开发IDE用的是IntelliJIDEA和SpringSourceToolSuit,自己在家里用的也是MyEclipse,所以使用eclipse的经验还是不足.结果在我配置好了jdk之后,双击eclipse,会出现报错Version 1.6.0_45 of the JVM is not suitable for this product. Version:1.7 or greater is required. 这个错误,说的是JVM要求的jdk的版本是1.7,…