isJavaInitialized("initialize Java with .JavaInit()")
jlabel <- .JavaConstructor("javax.swing.JButton",
"Welcome the R-Java interface")
f <- .JavaConstructor("org.omegahat.Environment.GUITools.GenericFrame",
jlabel, TRUE)
# optionally execute code.
if(isJavaInitialized()) {
.Java("System", "getProperty", "java.class.path")
}
Run the code above in your browser using DataLab