Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-17 Thread Geir Magnusson Jr.
What? That error is related to not being able to find a built classlib. One easy way, if you are using /enhanced/trunk as per the directions in the getting started section of the website, is to rename the example "drlvm.properties.example" in working_vm/build and use that. geir Leo Li wrote

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-17 Thread Leo Li
Hi, Alexey: Thank you. I have started to build the system. Besides, I think the problem is not related to classlib. Since I have let fork called in a native function, but it fails on J9. On 10/17/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote: This is due to incorrect classlib loc

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-17 Thread Alexey Varlamov
This is due to incorrect classlib location specified. Please ensure you provide correct (better absolute) path in build\drlvm.properties (if you use it) or "external.dep.CLASSLIB.loc" property value in cmdline: sh build.sh -Dexternal.dep.CLASSLIB.loc=$classlib This should point to the root of (pre

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
Hi, all: I tried to build drlvm on linux, but when build update, it reports such error: [echo] downloading XALAN from no_settings_in_config_or_environment [echo] no_settings_in_config_or_environment BUILD FAILED /root/workspaces/workspace/drlvm/build/make/build.xml:240: The following

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Alexey Varlamov
2006/10/16, Leo Li <[EMAIL PROTECTED]>: It seems not quite related to actual memory stress although the reported error is ENOMEM. I have run it both in eclipse and console. And there are enough memory available. Furthermore, the case can be repeated even though in the same time a C program runs

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Geir Magnusson Jr.
Leo Li wrote: It seems not quite related to actual memory stress although the reported error is ENOMEM. I have run it both in eclipse and console. And there are enough memory available. Furthermore, the case can be repeated even though in the same time a C program runs well when using fork().

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Geir Magnusson Jr.
Paulex Yang wrote: Geir Magnusson Jr. wrote: I'm confused. Didn't you just report this on Ubuntu? Let Leo speak for himself, but I thought Leo meant IBM VME + Harmony classlib failed on Ubuntu and Redhat, but Alexey just reported that both (VME and DRLVM) works on SUSE, that's why it seems

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
It seems not quite related to actual memory stress although the reported error is ENOMEM. I have run it both in eclipse and console. And there are enough memory available. Furthermore, the case can be repeated even though in the same time a C program runs well when using fork(). I suspect that i

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
Ya. What I found is that harmony and IBM VM fails when running Runtime.exec both on RedHat and Unbuntu. But drlvm seems passes. I have not tried suse. On 10/16/06, Paulex Yang <[EMAIL PROTECTED]> wrote: Geir Magnusson Jr. wrote: > I'm confused. Didn't you just report this on Ubuntu? Let Leo s

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Paulex Yang
Geir Magnusson Jr. wrote: I'm confused. Didn't you just report this on Ubuntu? Let Leo speak for himself, but I thought Leo meant IBM VME + Harmony classlib failed on Ubuntu and Redhat, but Alexey just reported that both (VME and DRLVM) works on SUSE, that's why it seems interesting. I have

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Geir Magnusson Jr.
I'm confused. Didn't you just report this on Ubuntu? I have had similar forking problems on Ubuntu 6 (I once found a bug in classlib related to forking...). I never figured out why Unbuntu does this, but it seemed that under memory stress, Ubuntu's fork() fails. Try this - close Eclipse and

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Geir Magnusson Jr.
Alexey Varlamov wrote: > 2006/10/16, Spark Shen <[EMAIL PROTECTED]>: >> Alexey Varlamov 写道: >> > Both DRLVM and J9 works for me (SUSE9). >> Not sure whether SUSE9 env. is identical to our RedHat Enterprise 4 and >> Unbuntu. >> BTW, is there off-the-peg DRLVM for download on popular platform? > >

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Alexey Varlamov
2006/10/16, Spark Shen <[EMAIL PROTECTED]>: Alexey Varlamov 写道: > Both DRLVM and J9 works for me (SUSE9). Not sure whether SUSE9 env. is identical to our RedHat Enterprise 4 and Unbuntu. BTW, is there off-the-peg DRLVM for download on popular platform? Other than JRE snapshots, no. Best rega

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Spark Shen
Alexey Varlamov 写道: Both DRLVM and J9 works for me (SUSE9). Not sure whether SUSE9 env. is identical to our RedHat Enterprise 4 and Unbuntu. BTW, is there off-the-peg DRLVM for download on popular platform? Best regards -- Alexey 2006/10/16, Leo Li <[EMAIL PROTECTED]>: Hi, all: The harmony

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
Thank you. I have just run it on drlvm of unbuntu, it works. What a qurious problem! On 10/16/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote: Both DRLVM and J9 works for me (SUSE9). -- Alexey 2006/10/16, Leo Li <[EMAIL PROTECTED]>: > Hi, all: > The harmony Runtime.exec fails on Linux with

Re: [classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Alexey Varlamov
Both DRLVM and J9 works for me (SUSE9). -- Alexey 2006/10/16, Leo Li <[EMAIL PROTECTED]>: Hi, all: The harmony Runtime.exec fails on Linux with ENOMEM. Here is the testcase: public class Exec { public static void main(String[] args) throws Exception { Runtime.getRuntime().exe

[classlib][luni]Runtime.exec fails on Linux

2006-10-16 Thread Leo Li
Hi, all: The harmony Runtime.exec fails on Linux with ENOMEM. Here is the testcase: public class Exec { public static void main(String[] args) throws Exception { Runtime.getRuntime().exec("ls");} } I have tried it on RedHat Enterprise 4 and Unbuntu, both get ENOMEM in na