Usually, this happens when the JAVA_HOME environment variable
is not properly set. However, I only tested the distribution against
full JDKs, but not against mere JREs.

Could you check the value of the JAVA_HOME environment variable,
and also tell me whether you have a file with the path
$JAVA_HOME/lib/ct.sym ?

(0000269)
jrrk100 (Reporter)2013-01-31 16:55

You are correct, the compilation proceeds when JDK is used instead of JRE. lib/ct.sym is not present in the JRE. As far as runtime goes, the native executable solves the queens problem for an 8x8 board in 4ms. The java version, who knows - but a very long time.

(0000271)
xclerc (Administrator)2013-02-01 15:59

I don't know yet if it will be possible to support bare JREs,
but will take a look at it.

Regarding "queens.ml", the bug in OCaml-Java is indeed
in the "read_int" primitive... the computation is never launched.
If modified to remove the interactive part, the program
exhibit decent performances.