如何在net beans IDE上运行项目 [英] How can I run project on net beans IDE

查看:86
本文介绍了如何在net beans IDE上运行项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在netbeans IDE中运行下载的java项目。它给出错误:无法找到或加载主类



我尝试过:


。将此文件夹放在nb project.import现有项目中然后运行它。

i run the downloaded java project in netbeans IDE. it gives error : could not find or load main class

What I have tried:

after downloading project extract files in a folder. place this folder in nb project.import existing project then run it.

推荐答案

你的程序不完整,你需要检查源代码,看看为什么它缺少一个主要方法。请参阅 Java™教程 [ ^ ]。
You program is not complete, you need to examine the source to see why it is missing a main method. See The Java™ Tutorials[^].


这篇关于如何在net beans IDE上运行项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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