I want to write a javascript, and need to use some classes defined in Java.
Such as I need to create a instance like this:
Properties props = System.getProperties();
But the system prompt error when I execute, saying like this:
Process panel process.option in RAD display encountered error in line 4 (display,process.option)
Cannot evaluate expression (display,process.option)
Cannot evaluate expression (display,process.option)
Compilation of JavaScript function or expression failed
^
Properties props = System.getProperties();
Script <UNKNOWN> line 7: ERROR SyntaxError: missing ; before statement at char 12
What's wrong with this? Can any help? Thanks!


Reply With Quote
Bookmarks