Topic: example problem (comment by rafa)
Rafa - October 4, 2012 - Version 1.7
One of the simplest examples using JAVA does not work
The program throws an error when you try to call the JAVA's language library as it is done in the simplest example that appears in the user manual. The example: import java.lang.* print(30*30); throws the error: "Parse error at line 2, column 1. Encountered: print" If this error is corrected, I am going to increase the number of stars given in this review to five.
Answer: Thanks. Please put the semicolon after java.lang.*
The example should look as:
import java.lang.*; print(30*30);