Wednesday, May 19, 2010

[Java] Re: NoClassDefFoundError exception

 



hi friend
1.give scpace between javac and first.java.(javac first.java)
2the java program is
public class hello
{
public static void main(String args[])
{
System.out.println("hello friend");
}
}

save the file name with hello.java

for compiling javac hello.java
for running java hello

2.class path
goto system>properties>advanced>environmetvaribles>uservariebles>new

name PATH
value is like this C:\Program Files\Java\jdk1.6.0_17\bin

__._,_.___
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