Hello, Afaik, JAVA HOME should be set to path to JDK, not JRE. There is no tools.jar in JRE, only in JDK.
Download and install JDK -----Original Message----- From: sariram [mailto:[email protected]] Sent: Tuesday, July 14, 2009 2:29 PM To: [email protected] Subject: Re: tools.jar Hello I m getting Error:in JAVA HOME ...NOT Found in:Java SDK=c:\progarm files\java\jre6\lib\tools.jar..... i want to know abt why tis error..and how i ll rectify tat error.... McElroy Sean wrote: > > Hello, > > > > I'm getting this error: java.lang.ClassNotFoundException: > com.sun.mirror.apt.AnnotationProcessorFactory, when I try to compile a > web-service project using jaxws-maven-plugin. I understand that this > problem relates to tools.jar. So having read the FAQ on the Maven site > I added this to my pom: > > > > <dependency> > > <groupId>com.sun</groupId> > > <artifactId>tools</artifactId> > > <version>1.6/version> > > <scope>system</scope> > > <systemPath>${java.home}/../lib/tools.jar</systemPath> > > </dependency> > > > > but this didn't fix the problem. I have read a few posts about this > but none have provided the answer. Has anyone solved this? > > > > Thanks, > > > > Seam > > > > > > > -- View this message in context: http://www.nabble.com/tools.jar-tp24256364p24477023.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
