Re: cant's compile with javac



In article <1133141057.346011.321100@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Ido.Yehieli@xxxxxxxxx took the hamburger, threw it on the grill, and I
said "Oh wow"...

> OK, bit the question is not why it is compilng with eclipse, but rather
> isn't it compiling when using javac outside of JAVA_HOME\bin?
> I mean, if it was a PATH problem, then why is "java" working?
> and if it was a problem with "javac" then why is it working in
> JAVA_HOME\bin directory but not in any other directory?
>
>

Your JAVA_HOME variable's set wrong. Lose the \bin.

--
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.
.



Relevant Pages

  • Re: cants compile with javac
    ... > OK, bit the question is not why it is compilng with eclipse, but rather ... > isn't it compiling when using javac outside of JAVA_HOME\bin? ... I think you may be confusing PATH with CLASSPATH. ... Eclipse handles your CLASSPATH for you by letting you add additional class ...
    (comp.lang.java.help)
  • Re: cants compile with javac
    ... OK, bit the question is not why it is compilng with eclipse, but rather ... isn't it compiling when using javac outside of JAVA_HOME\bin? ... I mean, if it was a PATH problem, then why is "java" working? ...
    (comp.lang.java.help)