开发者社区> 问答> 正文

NetBeans提示出错,搞不明白,请教! 400 请求报错 

 

NetBeans IDE 7.2 保存键虚显,无法保存。

运行后提示没找到主类

Error: Could not find the main class.

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" Java Result: 1

请教高手错误原因

NetBeans IDE 7.2 保存键虚显,无法保存。

运行后提示没找到主类

Error: Could not find the main class.

Error: A JNI error has occurred, please check your installation and try again

Exception in thread "main" Java Result: 1

请教高手

错误原因

/*

  • To change this template, choose Tools | Templates

  • and open the template in the editor.

*/

package shishi; /**

@author Administrator

*/

public class Shishi { /**

@param args the command line arguments

*/

public static void main(String[] args) {

System.out.println("欢迎使用NetBeans,这是第一个例子。");

}

}这个是程序最初级的

NetBeans IDE 7.2外成功运行等待答复,谢谢!

展开
收起
kun坤 2020-05-29 17:57:42 659 0
1 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
15分钟打造你自己的小程序 立即下载
小程序 大世界 立即下载
《15分钟打造你自己的小程序》 立即下载