Step one: Run cmd


如何在cmd命令模式下compile java
 

Step two: change directory to ''e:'' where have jave file

c:\Documents and Settings\Administrator>e:
如何在cmd命令模式下compile java
 

Step three: change directory to where you save the java File

E:\>cd workspace\Algorithm\src\Daniel

E:\workspace\Algorithm\src\Daniel

 

Highlight: "\" is instead of "/", Here you should use the KEY WORD "cd"


如何在cmd命令模式下compile java
 

Step four: Use javac to compile xxx.java,and then there is one new file  xxx.class that created by

Javac ExhaustExample.java


如何在cmd命令模式下compile java
 
如何在cmd命令模式下compile java
 Step five: use java to compile/run the programming

Java ExhaustExample

相关文章:

  • 2021-10-10
  • 2021-06-22
  • 2021-04-13
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-07-12
  • 2021-08-19
猜你喜欢
  • 2023-01-09
  • 2021-07-27
  • 2021-12-22
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
相关资源
相似解决方案