From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_SOFTFAIL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 3264EBBC1 for ; Sun, 2 Mar 2008 11:46:03 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAEsUykdbeR7Snmdsb2JhbACQcAEBAQEBBgQGBwoYmF8 X-IronPort-AV: E=Sophos;i="4.25,434,1199660400"; d="scan'208";a="23258488" Received: from 27.mail-out.ovh.net ([91.121.30.210]) by mail4-smtp-sop.national.inria.fr with SMTP; 02 Mar 2008 11:46:02 +0100 Received: (qmail 350 invoked by uid 503); 2 Mar 2008 11:57:50 -0000 Received: from b7.ovh.net (HELO mail173.ha.ovh.net) (213.186.33.57) by 27.mail-out.ovh.net with SMTP; 2 Mar 2008 11:57:50 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 2 Mar 2008 10:46:04 -0000 Received: from mut38-5-82-246-191-110.fbx.proxad.net (HELO ?192.168.0.10?) (forum%x9c.fr@82.246.191.110) by ns0.ovh.net with SMTP; 2 Mar 2008 10:46:02 -0000 Message-Id: From: "forum@x9c.fr" To: caml-list@yquem.inria.fr In-Reply-To: <666572260803011103g4c8466b4uf52620930ffe466b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [Caml-list] [ANN] OCaml-Java project : beta version Date: Sun, 2 Mar 2008 11:46:00 +0100 References: <14B4D706-F25C-44DB-8B66-4FB01683C34A@x9c.fr> <666572260803011103g4c8466b4uf52620930ffe466b@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) X-Ovh-Remote: 82.246.191.110 (mut38-5-82-246-191-110.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam: no; 0.00; ocaml:01 cygwin:01 mingw:01 ocaml:01 bug:01 bytecode:01 toplevel:01 1.5:98 1.5:98 1.6:98 1.6:98 stack:01 exception:01 msvc:01 caml-list:01 Le 1 mars 08 =E0 20:03, Adrien a =E9crit : > 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-=20= 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 =20 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 =20= producing Java 1.6 bytecode and giving up 1.5 compatibility. This should =20 hopefully make ocamljava a little faster, notably at startup where 1.6-introduced =20 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 =20= some toplevel enhancements such as the access to session history, as well =20 as the ability to save this history to a file. Xavier Clerc=