[JSR308] NoSuchFieldError: RELEASE_7 on Mac

Mathias Ricken mgricken+jsr308 at gmail.com
Mon Sep 22 16:03:49 EDT 2008


Below is the conversation that happened on the  checkers mailing list
in response to my question. I'm sorry for not directing this to the
jsr308 mailing list right away as well.

In terms of the documentation for building on the Mac, I would
emphasize that users have to use langtools/dist/bin/javac. Copying
langtools/dist/lib/javac.jar into the binary directory and then
patching SoyLatte does not work. If they want to do that, they have to
write a wrapper script around SoyLatte's javac which puts the patched
tools.jar on the classpath.

Thanks for your help.


From: Mahmood Ali <mahmood at mit.edu>
Date: Mon, Sep 22, 2008 at 10:10 AM
To: Mathias Ricken <mgricken+jsr308 at gmail.com>
Cc: checkers at lists.csail.mit.edu

Greetings, Which binary did you copy javac.jar to?  Can you try using


From: Mathias Ricken <mgricken+jsr308 at gmail.com>
Date: Mon, Sep 22, 2008 at 1:40 PM
To: checkers at lists.csail.mit.edu

Hi Mahmood:
Yes, thank you, that works. At first I didn't realize that if I patch
a JDK, then the right tools.jar has to be on the boot classpath.

Thanks for your very quick response.


From: Michael Ernst <mernst at csail.mit.edu>
Date: Mon, Sep 22, 2008 at 2:55 PM
To: Mathias Ricken <mgricken+jsr308 at gmail.com>
Cc: checkers at lists.csail.mit.edu

Mathias or Mahmood, can you please follow up to the original mailing list?
I want others to:
 * know how to address the problem
 * not assume we ignored Mathias because they saw no response.

Also, Mathias, if you have any suggestions regarding how we can improve
the documentation, please let us know.



More information about the JSR308 mailing list