Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: CHAAR Rabih <rabih.chaar@lyxor.com>
To: Sebastien Ferre <Sebastien.Ferre@irisa.fr>,
	caml-list <caml-list@inria.fr>
Subject: RE: [Caml-list] ocaml-java + lablgtk2
Date: Fri, 9 Mar 2012 16:53:10 +0100	[thread overview]
Message-ID: <B66871E7AAD8D042B5465B799105975F1BB12498A1@MBXBSJ603V2.hermes.si.socgen> (raw)
In-Reply-To: <4F5A0F0D.7000201@irisa.fr>

It still works for java 1.6 (windows)

Sincerely

-----Original Message-----
From: Sebastien Ferre [mailto:Sebastien.Ferre@irisa.fr] 
Sent: Friday,March 09,2012 3:09 PM
To: caml-list
Subject: Re: [Caml-list] ocaml-java + lablgtk2

Hi,

On 03/08/2012 03:12 PM, Gerd Stolpmann wrote:
> Am Donnerstag, den 08.03.2012, 14:58 +0100 schrieb Sebastien Ferre:
>> Hi,
>>
>> I am considering developping an OCaml
>> application using Lablgtk2 for the GUI,
>> and using ocaml-java/Nickel for calling
>> a Java library (namely, OWL-API). I am
>> working on Linux.
>>
>> Has anybody tried this ? I am a bit afraid
>> of potential dependency problems...
>
> This cannot work. ocaml-java is running in a JVM, but lablgtk2 is
> written for the standard runtime, and assumes standard conventions for
> the C bindings it needs.
>
> What you could try to do is to use the standard runtime, and load the
> JVM dynamically for running the Java library, and connect both via JNI.
> There is a generator for such cross calls by Xavier:
>
> http://gallium.inria.fr/~xleroy/software.html#camljava
>
> I've never used it, though.

This looks promising, and adequate to my needs.
However, the last version dates back to 2004, and
is for java-1.4. Is there any chance it stills
works ? Has anybody used it recently ?

Sébastien

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

*************************************************************************
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or
falsified.
                              ************
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et susceptibles de contenir des informations couvertes 
par le secret professionnel. 
Ce message est etabli a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. 
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************


  reply	other threads:[~2012-03-09 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08 13:58 Sebastien Ferre
2012-03-08 14:12 ` Gerd Stolpmann
2012-03-09 14:09   ` Sebastien Ferre
2012-03-09 15:53     ` CHAAR Rabih [this message]
2012-03-09 16:06     ` Stefano Zacchiroli
2012-03-09 22:31       ` Sebastien Ferre
2012-03-09 17:48   ` forum
2012-03-14 17:34     ` Sebastien Ferre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B66871E7AAD8D042B5465B799105975F1BB12498A1@MBXBSJ603V2.hermes.si.socgen \
    --to=rabih.chaar@lyxor.com \
    --cc=Sebastien.Ferre@irisa.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox