Re: cant's compile with javac
- From: Noodles Jefferson <silverbells@xxxxxxxxxxxxxx>
- Date: Sun, 27 Nov 2005 15:47:26 -0600
In article <1133127445.931575.32890@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Ido.Yehieli@xxxxxxxxx took the hamburger, threw it on the grill, and I
said "Oh wow"...
> 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.
>
>
cd go/to/the/directory/where/your/javafile/is
then javac Yourfile.java
--
Noodles Jefferson
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM
"Our earth is degenerate in these latter days, bribery and corruption
are common, children no longer obey their parents and the end of the
world is evidently approaching."
--Assyrian clay tablet 2800 B.C.
.
- Follow-Ups:
- Re: cant's compile with javac
- From: Ido . Yehieli
- Re: cant's compile with javac
- From: Ido . Yehieli
- Re: cant's compile with javac
- References:
- cant's compile with javac
- From: Ido . Yehieli
- cant's compile with javac
- Prev by Date: Re: cant's compile with javac
- Next by Date: Re: cant's compile with javac
- Previous by thread: Re: cant's compile with javac
- Next by thread: Re: cant's compile with javac
- Index(es):
Relevant Pages
|
|