aspose file tools*
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
Author

need help urgent please

alan james
Greenhorn

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
Rancher

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
Sheriff

Joined: Oct 13, 2005
Posts: 39773
    
  28
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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help urgent please