cant's compile with javac
- From: Ido.Yehieli@xxxxxxxxx
- Date: 27 Nov 2005 13:37:25 -0800
Hi, whenever I try to compile something with javac from the command
prompt (windows XP) i get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/tools/javac/Main
even if I just write "javac" without a file to compile i get the same
error.
The only time when i works correctly is when I'm in the bin directory
that contains javac, the i can compile everything. If i change to a
different directory it doesn't work and i get the afordmentioned error.
one more thing - when i compile from eclipse it works, i only get it
when manually compiling for the command prompt.
I'm using version 1.5 update 5 (the last one) but it happened with
earlier versions as well (1.5 update 1, update 2, etc..)
Thanks in advance for your help.
.
- Follow-Ups:
- Re: cant's compile with javac
- From: Roedy Green
- Re: cant's compile with javac
- From: Noodles Jefferson
- Re: cant's compile with javac
- From: Ido . Yehieli
- Re: cant's compile with javac
- Prev by Date: Re: IgnoreCase, how do i do it?
- Next by Date: Re: cant's compile with javac
- Previous by thread: Tomcat 5.5.12: Output unchanged when servlet changes
- Next by thread: Re: cant's compile with javac
- Index(es):
Relevant Pages
|