Trouble getting PlayN to compile.

80 views
Skip to first unread message

Soren Johnson

unread,
Aug 27, 2011, 5:16:48 PM8/27/11
to PlayN
I am trying to get PlayN to run, but I am getting this error below
after following the Getting Started steps. The tools.jar is in the
JDK's lib folder, but tools-1.6.jar doesn't seem to exist on my
computer. I am using the JDK 1.7 and my JAVA_HOME is pointing to that
folder (as is my eclipse.ini) Anyone know where I can get this file or
what I might be doing wrong? Thanks!

The container 'Maven Dependencies' references non existing library 'C:
\Users\sejohnson.m2\repository\com\sun\tools\1.6\tools-1.6.jar'

Ray Cromwell

unread,
Aug 27, 2011, 6:25:41 PM8/27/11
to pl...@googlegroups.com
Soren,
Try editing the root pom.xml and remove the section in <profiles>
that declares the tools.jar dependency, or, edit the <systemPath> to
point exactly to the location of the tools.jar on your disk.

-Ray

Michael Bayne

unread,
Aug 27, 2011, 8:23:23 PM8/27/11
to pl...@googlegroups.com
On Sat, Aug 27, 2011 at 3:25 PM, Ray Cromwell <cromw...@google.com> wrote:
> Try editing the root pom.xml and remove the section in <profiles>
> that declares the tools.jar dependency

What is that needed for anyway? That was on my list of cruft to
eventually remove (same with the "prod" profile).

-- m...@samskivert.com

Dorian Manning

unread,
Aug 27, 2011, 10:10:36 PM8/27/11
to pl...@googlegroups.com
If we could get rid of it that would be great because using those run as maven targets to build there is no issue with my project finding the tools.jar, but I can't seem to get rid of the eclipse errors without removing the profile.
Reply all
Reply to author
Forward
0 new messages