This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

BeginJavaBlock

BeginJavaBlock[]
begins an evaluation block equivalent to a JavaBlock, except that it works across a larger span than the evaluation of a single expression.
  • To use BeginJavaBlock, you first need to load J/Link using Needs["JLink`"].