classpath for running java prog
I have installed jdk1.2 and jdk1.1.1. i can compile the programms but could'nt
able to run it.i tried to set the path & the classpath several time but it
shows the "noclassdeffounf error".can you please help me.
Re: classpath for running java prog
if you're using a windows-system:
do the following (you can type it anywhere in any folder):
explanation: the "." means that the directory where you're at always
will be added to the classpath. this is the reason for the fact that
your own java-class was not able to run. don't forget to set all java
libs in your classpath, but you've probably done that already.
"Afroze syeda" <firstname.lastname@example.org> wrote:
>I have installed jdk1.2 and jdk1.1.1. i can compile the programms but could'nt
>able to run it.i tried to set the path & the classpath several time but
>shows the "noclassdeffounf error".can you please help me.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL