Topic: 错误(無法取讀)

  Print this page

1.错误(無法取讀) Copy to clipboard
Posted by: sym0503
Posted on: 2005-10-16 19:50

用 javac 来编译源文件,提示编译错误,无法读取

看附件图片

2.Re:错误 [Re: sym0503] Copy to clipboard
Posted by: why
Posted on: 2005-10-16 20:47

Where is hello.java?

Show us
C:\Doc...\sym> dir

3.Re:错误(無法取讀) [Re: sym0503] Copy to clipboard
Posted by: sym0503
Posted on: 2005-10-16 21:15

文件地址:C:\Documents and Settings\sym\桌面\hello .java

4.Re:错误(無法取讀) [Re: sym0503] Copy to clipboard
Posted by: why
Posted on: 2005-10-16 22:19

sym0503 wrote:
文件地址:C:\Documents and Settings\sym\桌面\hello .java

1. Please be precise ... is it hello .java or hello.java?
2. Capitalize the class name, i.e. use Hello instead of hello
3. you should cd to C:\Documents and Settings\sym\桌面
...
X. Please examine your stuff carefully and you should not have asked this question.

5.Re:错误(無法取讀) [Re: sym0503] Copy to clipboard
Posted by: rhvic
Posted on: 2005-10-17 11:08

C:\Documents and Settings\sym\>cd 桌面
C:\Documents and Settings\sym\桌面\>javac hello.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