Re: cant's compile with javac




<Ido.Yehieli@xxxxxxxxx> wrote:

> D:\java\server>echo %CLASSPATH%
> "d:\Program Files\Java\jdk1.5.0_05\bin";.

If the CLASSPATH environment variable points to just that directory, it
doesn't do you any good anyway, as there are no classes in that directory,
or at least it shouldn't be...

> was also that way when CLASSPATH was just . (period).

AFAIK Sun has recommended since jdk 1.2 to *not* set the CLASSPATH
environment variable at all, unless special circumstances demands it.

See what happens if you drop the CLASSPATH environment variable altogether.

Another question is where you have put the libraries.

Is the tools.jar in "d:\Program Files\Java\jdk1.5.0_05\lib" where it should
be?


// Bjorn A


.



Relevant Pages

  • High quality 19th century mapping of the UK
    ... Providing genealogists, geographers, scholars and libraries with instant ... access to an unrivalled collection of 19th and early 20th Century mapping. ... Prev by Date: ...
    (soc.genealogy.marketplace)
  • High quality 19th century mapping of the UK
    ... Providing genealogists, geographers, scholars and libraries with instant ... access to an unrivalled collection of 19th and early 20th Century mapping. ... Prev by Date: ...
    (soc.genealogy.marketplace)
  • High quality 19th-century mapping of the UK
    ... Providing genealogists, geographers, scholars and libraries with instant ... access to an unrivalled collection of 19th and early 20th Century mapping. ... Prev by Date: ...
    (soc.genealogy.marketplace)
  • British high quality 19th century mapping of the UK
    ... Providing genealogists, geographers, scholars and libraries with instant ... access to an unrivalled collection of 19th and early 20th Century mapping. ... Prev by Date: ...
    (soc.genealogy.marketplace)
  • British 19th & early 20th Century mapping
    ... Providing genealogists, geographers, scholars and libraries with instant ... access to an unrivalled collection of 19th and early 20th Century mapping ... Prev by Date: ...
    (soc.genealogy.marketplace)