Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » M5: Ant doesn't find tools.jar in some cases
M5: Ant doesn't find tools.jar in some cases [message #122644] Thu, 27 November 2003 02:46 Go to next message
Eclipse UserFriend
Hi,

I would like to ask whether there already exists a bug report for the
following problem:

I have added tools.jar to my Ant classpath. Since 3.0M5 it happens from
time
to time, that Ant fails with

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

This is the same error message I am getting *without* tools.jar on the
classpath. Also note, that my problem is not completely reproducible:
If it happens, then I can run Ant again and again without any change.
But after restarting Eclipse, everything works fine.


Jochen
Re: Ant doesn't find tools.jar in some cases [message #122691 is a reply to message #122644] Thu, 27 November 2003 09:06 Go to previous message
Eclipse UserFriend
That is strange indeed.
We have https://bugs.eclipse.org/bugs/show_bug.cgi?id=47422 which I have not
been able to reproduce.
Do you have something similar in your .log? If so please provide any and all
details in the bug report.

If not please do not hesitate to open a new bug report so we can track the
problem down.

Thanks
Darins

"Jochen Wiedmann" <joe@ispsoft.de> wrote in message
news:bq4a4r$cjr$1@eclipse.org...
>
> Hi,
>
> I would like to ask whether there already exists a bug report for the
> following problem:
>
> I have added tools.jar to my Ant classpath. Since 3.0M5 it happens from
> time
> to time, that Ant fails with
>
> Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>
> This is the same error message I am getting *without* tools.jar on the
> classpath. Also note, that my problem is not completely reproducible:
> If it happens, then I can run Ant again and again without any change.
> But after restarting Eclipse, everything works fine.
>
>
> Jochen
>
>
Previous Topic:local history files...
Next Topic:Debug: "local variables unavailable"
Goto Forum:
  


Current Time: Mon Jul 14 10:39:06 EDT 2025

Powered by FUDForum. Page generated in 0.24988 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top