-
Notifications
You must be signed in to change notification settings - Fork 14
Description
First, thanks for a Java version of OCaml. For months I've been trying to find one programming language that's a good compromise between a number of things: functional, to go along with theorem proving, but with the potential for more easily tapping into parallel programming. I noticed your ForkJoin, MapReduce, etc., and since OCaml-Java is tied into Java, there's the possibility of Jcuda.
Now the problems. The second problem is the important one.
-
An easy problem is that the batch files don't work if there are spaces in the path. That's because there are no quotes around the jar file argument. A normal line looks like this:
"%OCJ_JAVA%" -Xss8M -jar %~dp0/../lib/ocamlc.jar %*
It's not a problem, really. I just put the argument in quotes.
-
The reason I'm submitting this is because
ocamljavagives the following error due to linking:E:\E_1\02-p\1o_jv_w rk_test> ocamljava -o "E:\E_1\02-p\1o_jv_w rk_test\hello_world.jar" "E:\E_1\02-p\1o_jv_w rk_test\hello_world.ml"
File "E:\E_1\02-p\1o_jv_w rk_test\hello_world.ml", line 1:
Error: Error during linking:
unable to open archive ("\ocamljava-2.0-alpha2\lib\ocaml\ocamlrun.jar")
Here is some additional information.
- I'm not having any problems like that for
ocaml,ocamlc, andocamlrun, which are the only other commands I've used. - If I compile and link in two steps, it still doesn't work.
- I get the same error with
ocamljava-2.0-alpha1. - I don't get that error with
ocamljava-2.0-early-access11.
Thanks.