Wednesday, May 19, 2010

Re: [Java] NoClassDefFoundError exception

 

Type *java -version* to check if jre is correctly installed into your
system.

Then check if your class that contains the main method is public and has the
same name of your file (first).

Another important point is that you should not create classes using lower
case. Classes should follow the Camel Case model (
http://en.wikipedia.org/wiki/CamelCase).

That is not the source of your problem but that is a bad practice.

Cheers.

Vinícius de Souza.

On Tue, May 18, 2010 at 6:41 PM, André A. Santos
<ti.andreasantos@gmail.com>wrote:

> first

--
Vinícius de Souza
vs.souza@gmail.com
http://jornadaemcodigos.blogspot.com/

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
Visit http://aiaiai.com or http://jgame.org for more groups to join.
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.


Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.


Hobbies & Activities Zone: Find others who share your passions! Explore new interests.

.

__,_._,___

No comments:

Post a Comment