Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区 » 安装/配置/编译/环境  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:为什么我的程序不能被编译? [Re:chuxueaihaozhe]
chuxueaihaozhe





发贴: 26
积分: 0
于 2005-06-24 22:39 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
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





话题树型展开
人气 标题 作者 字数 发贴时间
9671 为什么我的程序不能被编译? (error:cannot read:Welcome.java) chuxueaihaozhe 299 2005-06-22 15:58
8463 Re:为什么我的程序不能被编译? vicious 18 2005-06-22 17:47
8242 Re:为什么我的程序不能被编译? why 276 2005-06-22 23:38
8161 Re:为什么我的程序不能被编译? 一枝梅 12 2005-06-23 08:53
8426 Re:为什么我的程序不能被编译? chuxueaihaozhe 1148 2005-06-23 20:48
8277 Re:为什么我的程序不能被编译? why 289 2005-06-23 21:16
8409 Re:为什么我的程序不能被编译? chuxueaihaozhe 661 2005-06-24 22:39
8187 Re:为什么我的程序不能被编译? why 796 2005-06-24 23:01
8431 Re:为什么我的程序不能被编译? snowbird2005 122 2005-06-24 23:53
8147 Re:为什么我的程序不能被编译? why 400 2005-06-25 00:37
8605 Re:为什么我的程序不能被编译? chuxueaihaozhe 57 2005-06-25 18:55

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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