-
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
hi!
if you're using a windows-system:
do the following (you can type it anywhere in any folder):
set classpath=%classpath%;.
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.
good luck!!
"Afroze syeda" <syedaafrozmehdi@yahoo.com> 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
it
>shows the "noclassdeffounf error".can you please help me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|