caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "forum@x9c.fr" <forum@x9c.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] [ANN] OCaml-Java project : beta version
Date: Sun, 2 Mar 2008 11:46:00 +0100	[thread overview]
Message-ID: <BB1B3C9F-E481-42FE-81CF-2E189DBD0857@x9c.fr> (raw)
In-Reply-To: <666572260803011103g4c8466b4uf52620930ffe466b@mail.gmail.com>


Le 1 mars 08 à 20:03, Adrien a écrit :

> Hi,
>
> I am running under Vista right now (this is unusual for me). This
> computer does not have ocaml installed, nor cygwin, mingw, msys or
> msvc. The only related program it has is java 1.6. However the same
> happens under winXP.
>
> In a command prompt if I run "javaw ocaml.jar", I get a graphical
> message box telling me :
>  Java Virtual Machine Launcher
>  ---------------------------
>  Could not find the main class. Program will exit.
>
> If I rather run "java ocaml.jar", the error message is:
>  Exception in thread "main" java.lang.NoClassDefFoundError: ocaml/jar

You should rather run "java -jar ocaml.jar".
I was not aware of the existence of a "javaw" utility; it is a Windows- 
only thing ?


> I've seen in your roadmap you have to port it to java 1.6. Does it
> mean that meanwhile it is absolutely impossible to run ocamljava with
> java6 ?

No, ocamljava should run on any 1.5+ JVM provided that:
	- JVMs remains backward compatible (this should be the case, as a Sun  
policy)
	- there is no ocamljava-related bug that show up only on later JVMs

The roadmap mentions a move from Java 1.5 to Java 1.6; it will induce  
producing
Java 1.6 bytecode and giving up 1.5 compatibility. This should  
hopefully make
ocamljava a little faster, notably at startup where 1.6-introduced  
stack frames should
have some impact.


> PS : by the way, your ocaml repl works really nicely ; I've used it
> under internet explorer, k-meleon, opera, firefox, xp or vista (only
> k-meleon and ie then) but not linux as I usually don't have the jvm.
> It has been useful several times. Thanks. :)

Thanks for the testing.
I did not mention it in my previous post but the beta update features  
some
toplevel enhancements such as the access to session history, as well  
as the
ability to save this history to a file.


Xavier Clerc

  parent reply	other threads:[~2008-03-02 10:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-01 11:46 forum
2008-03-01 19:03 ` [Caml-list] " Adrien
2008-03-01 20:01   ` Adrien
2008-03-02 10:53     ` forum
2008-03-07 15:51       ` forum
2008-03-22 18:38         ` Adrien
2008-03-24 21:24           ` forum
2008-03-02 10:46   ` forum [this message]
2008-03-02 20:38     ` Florian Weimer
2008-03-01 22:51 ` Richard Jones
2008-03-02 10:52   ` forum
2008-03-02 12:26     ` Richard Jones

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=BB1B3C9F-E481-42FE-81CF-2E189DBD0857@x9c.fr \
    --to=forum@x9c.fr \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).