Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » running esclipse
running esclipse [message #66887] Thu, 19 May 2005 22:43 Go to next message
Eclipse UserFriend
Originally posted by: henry.le.u210565.wamu.net

Hi,

Anybody know why Eclipse could not find the compiler even I installed both
java SDK and JRE? I also set the path corectly. If I try to build it from
the DOS prompt, it comipiled successfully.

The following is error messages:
******************************************************
Buildfile: D:\projects\Autoboard\build.xml
clean:
[echo] D:/Projects/autoboard/classes
compile:
[javac] Compiling 87 source files to D:\Projects\autoboard\classes
BUILD FAILED: D:\projects\Autoboard\build.xml:32: 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
************************************************************

Thank you,

HL
Re: running esclipse [message #66903 is a reply to message #66887] Thu, 19 May 2005 22:48 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
What you need to ensure is that you have either set JAVA_HOME to the jdk
install OR start Eclipse using the JDK OR explicitly add the tools.jar from
the JDK install to your Ant runtime classpath.

HTH
Darins

"Henry Le" <henry.le.u210565@wamu.net> wrote in message
news:88eaf567345a0aff82354b6b014a4e53$1@www.eclipse.org...
> Hi,
>
> Anybody know why Eclipse could not find the compiler even I installed both
> java SDK and JRE? I also set the path corectly. If I try to build it from
> the DOS prompt, it comipiled successfully.
>
> The following is error messages:
> ******************************************************
> Buildfile: D:\projects\Autoboard\build.xml
> clean:
> [echo] D:/Projects/autoboard/classes
> compile:
> [javac] Compiling 87 source files to D:\Projects\autoboard\classes
> BUILD FAILED: D:\projects\Autoboard\build.xml:32: 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
> ************************************************************
>
> Thank you,
>
> HL
>
Re: running esclipse [message #66984 is a reply to message #66903] Fri, 20 May 2005 10:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sandip.abc.com

I have the same problem running JSP on Eclipse.
But I can not understand the solution given by as I am new to Eclipse.

Please say in details.

Thanks in advance
Sandip
Re: running esclipse [message #67100 is a reply to message #66984] Fri, 20 May 2005 15:21 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

sandip wrote:
> I have the same problem running JSP on Eclipse.
> But I can not understand the solution given by as I am new to Eclipse.
>
> Please say in details.

Please read the tutorials and the Help.

Eric
Previous Topic:installed log4j plugin, but...
Next Topic:Subversion Support
Goto Forum:
  


Current Time: Mon Dec 30 16:34:46 GMT 2024

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

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

Back to the top