Topic: can't read **.java

  Print this page

1.can't read **.java Copy to clipboard
Posted by: zhchlei
Posted on: 2005-05-22 18:58

系统安装JDK后,在记事本中编一程序,DOC中进入到C:\MYJAVA>.用JAVAC编译程序,出现can't read (*.java),不知原因,请指教。

2.Re:can't read **.java [Re: zhchlei] Copy to clipboard
Posted by: im_is
Posted on: 2005-05-22 21:12

说清楚点

3.Re:can't read **.java [Re: zhchlei] Copy to clipboard
Posted by: haofish_love
Posted on: 2005-05-22 22:42

保存时要选择 "所有类型"

4.Re:can't read **.java [Re: zhchlei] Copy to clipboard
Posted by: cxc3980
Posted on: 2005-05-22 23:35

应该是你的路径错了阿
找到当前目录再运行命令

5.Re:can't read **.java [Re: zhchlei] Copy to clipboard
Posted by: zhchlei
Posted on: 2005-05-24 20:21

保存类型、当前路径都没有错,是按一本教材讲的来作试验。改用JCREATOR可以运行该程序。DOC下不行,可恼。

6.Re:can't read **.java [Re: zhchlei] Copy to clipboard
Posted by: woodliker
Posted on: 2005-06-09 09:18

你说你是用记事本编的吧
我想首先想到的就是它了,重新保存一下吧
看好记事本保存时,有选择保存的类型的,你应该选择所有类型,才可以的
关于其它的我就不用说了
上面的仁兄们已经阐述完了

7.Re:can't read **.java [Re: zhchlei] Copy to clipboard
Posted by: 一枝梅
Posted on: 2005-06-10 10:17

保存的文件类型和调用的文件不匹配

8.Re:can't read **.java [Re: zhchlei] Copy to clipboard
Posted by: lqtchacha
Posted on: 2005-06-12 15:47

呵呵 把扩展名改了就可以了(*.java)


   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