Error “main class not found”

后端 未结 3 1813
终归单人心
终归单人心 2021-01-22 23:11

All,

My classpath has been set to the following folder:

CLASSPATH = .;C:\\Program Files\\Java\\jdk1.6.0_21\\bin;C:\\Program Files\\Java\\jdk1.6.0_21\\bin         


        
3条回答
  •  后悔当初
    2021-01-22 23:58

    After compiling if we get a main class not found error, It is simple try this set classpath=%classpath%;.; type this in cmd and run it..problem will be resolved

提交回复
热议问题