Topic: 请同道先师指教 (JDK 5.0跟1.4一样设置吗?)

  Print this page

1.请同道先师指教 (JDK 5.0跟1.4一样设置吗?) Copy to clipboard
Posted by: pgy_001
Posted on: 2005-03-30 11:03

请尽量用准确的文字描述作为标题


JDK 5.0 update2 跟1.4一样设置吗?如果不是应该怎么在WINDOWS2000系统下设置呢?谢谢了

2.Re:请同道先师指教 (JDK 5.0跟1.4一样设置吗?) [Re: pgy_001] Copy to clipboard
Posted by: xuanjinda
Posted on: 2005-03-30 21:23

我刚下了JDK5.0也安装了 就是不知道怎么配置环境
我用的XP
EmbaressedEmbaressedEmbaressedEmbaressed

3.Re:请同道先师指教 (JDK 5.0跟1.4一样设置吗?) [Re: pgy_001] Copy to clipboard
Posted by: why
Posted on: 2005-03-30 21:44

set up JAVA_HOME, CLASSPATH and PATH as in the previous JDK release.
e.g.
SET JAVA_HOME=C:\Program Files\Java\xxxxx
(I don't like the idea of installing JDK in a folder with space in its name, so please fill in xxxxx for your system)
SET CLASSPATH=.
(usually there is no need to include rt.jar and the other system jar's)
SET PATH=%JAVA_HOME%\bin;%PATH%

4.Re:请同道先师指教 (JDK 5.0跟1.4一样设置吗?) [Re: pgy_001] Copy to clipboard
Posted by: pgy_001
Posted on: 2005-04-02 10:15

多谢总版主指点!但是还想问一个问题:怎么在保存原代码(用记事本)时后面总有“TXT”编译不了

5.Re:请同道先师指教 (JDK 5.0跟1.4一样设置吗?) [Re: pgy_001] Copy to clipboard
Posted by: why
Posted on: 2005-04-02 11:11

pgy_001 wrote:
多谢总版主指点!但是还想问一个问题:怎么在保存原代码(用记事本)时后面总有“TXT”编译不了

1. don't hide file extension for known file types -- configurable for Windows Explorer with menuitem Tools-->Options

2. 记事本 Notepad... Save As.... abc.java

3. use a better editor than 记事本


   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