File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes need help urgent please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "need help urgent please " Watch "need help urgent please " New topic

need help urgent please

alan james

Joined: Oct 17, 2010
Posts: 1
this is my first time using java on Netbeans IDE 6.9.1

iam trying to run this program but this message comes up

"Run Project"
"javaaplication7,BankAccount class wasn't found in JavaApplication7 project"

"Select the main class"
<No main classes found>


Tom Reilly

Joined: Jun 01, 2010
Posts: 618
I can guess at a couple of things:
1. The error is complaining that javaaplication7,BankAccount does not exist but you posted code that called the class javaaplication7.Account
2. The class javaaplication7.Account does not have a method called main(), which is required to start a Java application

I'm curious. Why is this help so urgently needed? Should I be hiding my money inside my mattress? I think I'm starting to panic.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46320
Welcome to JavaRanch

You might be better off not using an IDE (I think you are on NetBeans, from the code posted), but using the command line, if you are a new programmer. You have already had two mistakes noticed; correct them and see what happens thereafter,

Please avoid writing vague subject lines, and we do not like "urgent" at all. I have edited your post, since you are new, by adding code tags, which you should always use for code. See how much better it looks with the tags .
subject: need help urgent please
It's not a secret anymore!