chuxueaihaozhe
发贴: 26
积分: 0
|
于 2005-06-24 22:39
Thank you very much!非常感谢! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\myclass>rename Welcom.java.txt Welcom.java C:\myclass>javac Welcom.java C:\myclass>java Welcom 这是我的第一个程序,欢迎走入Java的大门! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ public class Welcom { public static void main(String[] args) { System.out.println("这是我的第一个程序,欢迎走入Java的大门!"); } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 但是我遇到另一个问题,当我把*.java.txt改为*.java后myclass中的文件就打不开了,myclass中并没有生成Welcom.class的文件,而只是Welcom,没有.class,打开也只看到 Macromedia Flash Player 6.0(之下是空白),这样一来以前写的程序既看不到又改不了.请问是什么原因,怎么办?谢谢!
chuxueaihaozhe edited on 24/06/2005 22:43
|