javacAvailable top-level property

bool get javacAvailable

Whether javac is available (fixture tests skip otherwise).

Implementation

bool get javacAvailable {
  try {
    return Process.runSync('javac', ['-version']).exitCode == 0;
  } on ProcessException {
    return false;
  }
}