The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Re: Can't find javaclass

There's something wrong in that the compiler is looking for a class called "javaaplication", but the class in the code you posted is called JavaApplication18. There might also be an issue with the way you've set up the files in the package. We'll know more after you post the exact error message - the whole thing - copied and pasted.

Re: Can't find javaclass

I am using the IDE Netbeans. I tried to load a picture but website, just goes to a white page for me.

--- Update ---

I found what I've done wrong. I took out the "public static void main(String[] args)" by accident, so it wasn't finding that class at all. I added that line back in and it seems to be giving me plenty of other errors. SO it is working haha. Thanks.