我怎样才能编译用记事本编写的java程序? [英] How can i compile a java program written in notepad?

查看:103
本文介绍了我怎样才能编译用记事本编写的java程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在notepad中编写了一个java程序。我可以编译吗?

保存时我应该使用哪种格式?

是否可以使用它来运行它命令提示符?

I have written a java program in notepad.how can i compile that?
Which format i should use while saving it?
Is it possible to run it using command prompt?

推荐答案

命令javac的参考 [ ^ ]



我总是喜欢使用Eclipse ot Netbeans进行编码。两者都是免费的,他们也会为你编译。
Reference for command javac[^]

I would always prefer to use Eclipse ot Netbeans for coding. Both are free and they also do the compiling for you.


这篇关于我怎样才能编译用记事本编写的java程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆