| 
| unable to find javac compiler [message #51548] | Fri, 04 April 2003 07:42  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: mikeamickey.web.de 
 Hi everybody.
 
 When running ant tasks I get the following message.
 
 [javac] BUILD FAILED: file:D:/Sun ONE
 Projects/noah/NoahJava/build.xml:235: 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
 
 I added JAVA_HOME in Preferences->Java->Classpath Variables with the JDK
 root folder but it still does not work.
 
 Thanks,
 Michael
 |  |  |  | 
|  | 
| 
| Re: unable to find javac compiler [message #51596 is a reply to message #51574] | Fri, 04 April 2003 12:00  |  | 
| Eclipse User  |  |  |  |  | Or you can start eclipse with your JDK install using the -vm arg...then tools.jar will be added automatically.
 
 Darins
 
 "Stoil Valchkov" <ssv_1234@hotmail.com> wrote in message
 news:b6k2h3$6e3$1@rogue.oti.com...
 > You should try to add tools.jar in runtime settings for ant.
 > regards,
 > stoil
 > "Michael Hartmann" <mikeamickey@web.de> wrote in message
 > news:b6juio$1oh$1@rogue.oti.com...
 > > Hi everybody.
 > >
 > > When running ant tasks I get the following message.
 > >
 > > [javac] BUILD FAILED: file:D:/Sun ONE
 > > Projects/noah/NoahJava/build.xml:235: 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
 > >
 > > I added JAVA_HOME in Preferences->Java->Classpath Variables with the JDK
 > > root folder but it still does not work.
 > >
 > > Thanks,
 > > Michael
 > >
 >
 >
 |  |  |  | 
| 
| Re: unable to find javac compiler [message #592520 is a reply to message #51548] | Fri, 04 April 2003 08:55  |  | 
| Eclipse User  |  |  |  |  | You should try to add tools.jar in runtime settings for ant. regards,
 stoil
 "Michael Hartmann" <mikeamickey@web.de> wrote in message
 news:b6juio$1oh$1@rogue.oti.com...
 > Hi everybody.
 >
 > When running ant tasks I get the following message.
 >
 > [javac] BUILD FAILED: file:D:/Sun ONE
 > Projects/noah/NoahJava/build.xml:235: 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
 >
 > I added JAVA_HOME in Preferences->Java->Classpath Variables with the JDK
 > root folder but it still does not work.
 >
 > Thanks,
 > Michael
 >
 |  |  |  | 
| 
| Re: unable to find javac compiler [message #592529 is a reply to message #51574] | Fri, 04 April 2003 12:00  |  | 
| Eclipse User  |  |  |  |  | Or you can start eclipse with your JDK install using the -vm arg...then tools.jar will be added automatically.
 
 Darins
 
 "Stoil Valchkov" <ssv_1234@hotmail.com> wrote in message
 news:b6k2h3$6e3$1@rogue.oti.com...
 > You should try to add tools.jar in runtime settings for ant.
 > regards,
 > stoil
 > "Michael Hartmann" <mikeamickey@web.de> wrote in message
 > news:b6juio$1oh$1@rogue.oti.com...
 > > Hi everybody.
 > >
 > > When running ant tasks I get the following message.
 > >
 > > [javac] BUILD FAILED: file:D:/Sun ONE
 > > Projects/noah/NoahJava/build.xml:235: 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
 > >
 > > I added JAVA_HOME in Preferences->Java->Classpath Variables with the JDK
 > > root folder but it still does not work.
 > >
 > > Thanks,
 > > Michael
 > >
 >
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.04399 seconds