Topic: JDK1.5在eclipse-SDK-3.1-win32用不起来

  Print this page

1.JDK1.5在eclipse-SDK-3.1-win32用不起来 Copy to clipboard
Posted by: liwei2018
Posted on: 2005-07-31 13:28

我已经在eclipse-SDK-3.1-win32的java 编辑器中设定为5.0,但是我用静态导入(Static Imports) import static java.lang.Math.*;在static上有下划线,而且报错Syntax error on tokens , delete these tokens
特地向各位大侠请教!

2.Re:JDK1.5在eclipse-SDK-3.1-win32用不起来 [Re: liwei2018] Copy to clipboard
Posted by: linpay2000
Posted on: 2005-08-01 00:31

你在项目jre设置里面没有选中5.0。
也就是说你用的jdk1.4

3.Re:JDK1.5在eclipse-SDK-3.1-win32用不起来 [Re: liwei2018] Copy to clipboard
Posted by: liwei2018
Posted on: 2005-08-01 18:23

选的是5.0,现在用JDK1.5.0_04就好了,以前的是JDK1.5.0

4.Re:JDK1.5在eclipse-SDK-3.1-win32用不起来 [Re: liwei2018] Copy to clipboard
Posted by: liwei2018
Posted on: 2005-08-01 18:23

谢谢楼上


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923