caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* CamlJava w/ recent OCaml (3.11.1) and Sun's JVM (OpenJDK)
@ 2009-11-23 15:55 Stefano Zacchiroli
  2009-11-24 14:00 ` [Caml-list] CamlJava - patch to *build* w/ recent JDK Stefano Zacchiroli
  2009-12-01 10:52 ` CamlJava w/ recent JVMs - solved (patches needed and included) Stefano Zacchiroli
  0 siblings, 2 replies; 3+ messages in thread
From: Stefano Zacchiroli @ 2009-11-23 15:55 UTC (permalink / raw)
  To: OCaml Mailing List; +Cc: Xavier Leroy

Has anyone successfully built/used CamlJava [1] with recent OCaml and
the open sourced Sun's JVM (OpenJDK)?  I've tried for a while, but I'm
stuck at the basics, i.e. making the example shipped with CamlJava work.

First of all there is some needed gymnastic to build: apparently there
is no longer _a_ legacy libjvm.so, but several one depending on which
JRE you choose (at least: "Cacao" and "headless"). Of course they're in
different dirs and I'm not sure about which is the right way (or even
criteria) to choose one.

After having passed through that (with a dirty symlink to one of the two
libjvm.so), the shipped example fails with an exception while
initializing the JVM:

  LOG: [0x00002b9a57f73c80] exception thrown while VM is initializing: 
  LOG: [0x00002b9a57f73c80] NULL: java.lang.Object
  LOG: [0x00002b9a57f73c80] Aborting...

(this is with Cacao, with headless an exception its OCaml, but
apparently it is devoid of any inspectable content.)

Has any one here a success story to share?
Is there a planned future release of CamlJava?

Many thanks in advance,
Cheers.

[1] http://pauillac.inria.fr/~xleroy/software.html#camljava

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-01 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-23 15:55 CamlJava w/ recent OCaml (3.11.1) and Sun's JVM (OpenJDK) Stefano Zacchiroli
2009-11-24 14:00 ` [Caml-list] CamlJava - patch to *build* w/ recent JDK Stefano Zacchiroli
2009-12-01 10:52 ` CamlJava w/ recent JVMs - solved (patches needed and included) Stefano Zacchiroli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).