cannot run a simple java code

前端 未结 5 1733
离开以前
离开以前 2021-01-22 11:45

I have downloaded a java developers kit for my 64bit windows 7, wrote down my code in the notepad, though the code is compiling from the command prompt and creating a .class fil

5条回答
  •  佛祖请我去吃肉
    2021-01-22 12:40

    Did you set your classpath?

    http://download.oracle.com/javase/1.3/docs/tooldocs/win32/classpath.html

    java -classpath  
    

提交回复
热议问题