hello, you have not mentioned whether you have set the PATH in ENVIRONMENTAL variables in MY COMPUTER Properties?
ktjoseph
--- On Tue, 4/5/10, loyal_barber <loyal_barber@
From: loyal_barber <loyal_barber@
Subject: [Java] Re: NoClassDefFoundErro
To: Java_Official@
Date: Tuesday, 4 May, 2010, 12:12 AM
Would you give us the code and your class path? Those will almost
certainly make it clear where the error is.
Loyal
--- In Java_Official@ yahoogroups. com, krunal bhatt <bhatt.krunal@ ...> wrote:
>
> Hello friends,
> i installed jdk1.6.5_05 and jre1.6.5_05 in my system and just to check
> whether the installation is ok or not i wrote a simple "Hello World". When i
> compile it using javac , it shows no error but when i run the program i get
> the following error.
>
> D:\projects\ Java_Projects> *javac first.java*
>
> D:\projects\ Java_Projects> *java first*
> *Exception in thread "main" java.lang.NoClassDe fFoundError: first
> Caused by: java.lang.ClassNotF oundException: first
> at java.net.URLClassLo ader$1.run( Unknown Source)
> at java.security. AccessController .doPrivileged( Native Method)
> at java.net.URLClassLo ader.findClass( Unknown Source)
> at java.lang.ClassLoad er.loadClass( Unknown Source)
> at sun.misc.Launcher$ AppClassLoader. loadClass( Unknown Source)
> at java.lang.ClassLoad er.loadClass( Unknown Source)
> at java.lang.ClassLoad er.loadClassInte rnal(Unknown Source)
>
> *D:\projects\ Java_Projects>
>
> please provide solution for this..
> --
> Regards,
> Krunal Bhatt
>
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]
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
No comments:
Post a Comment