System.out.println("Using DRM systems: \"" +
session.getDrmSystem() + "\"");
System.out.println("Using DRMAA implementations: \"" +
session.getDrmaaImplementation() + "\"");
Version version = session.getVersion();
System.out.println("Using DRMAA version " + version.toString());
session.exit();
} catch (DrmaaException e) {
System.out.println("Error: " + e.getMessage());
}