You can generate Boogie from Java using BmlToBpl [1], which generates
a background theory from within its code [2], rather than having a
separate file. Similarly, FreeBoogie generates all the background
needed by Z3 from within its code (but that's almost nothing).
regards,
radu
[1] http://code.google.com/p/freeboogie/source/browse/#svn%2Ftrunk%2FBmlToBpl%253Fstate%253Dclosed
[2] http://code.google.com/p/freeboogie/source/browse/trunk/BmlToBpl/src/b2bpl/translation/Translator.java#470
Those procedure definitions should be generated by BmlToBpl, and they
should definitely *not* be shipped in a bpl file. There is nothing
special about the JRE.
I filed two bugs [1,2] against BmlToBpl. Thanks for reporting.
Unfortunately, there's also a similar problem [3] with abstract
methods. You may star these bug-reports to get news when they are
fixed.
I understand that it must be annoying to write the procedure
definitions by hand.
regards,
radu
[1] http://code.google.com/p/freeboogie/issues/detail?id=70
[2] http://code.google.com/p/freeboogie/issues/detail?id=69
[3] http://code.google.com/p/freeboogie/issues/detail?id=61
Thanks,
Cristiano