harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [drlvm] final stretch to using the launcher
Date Thu, 03 Aug 2006 15:19:05 GMT


Salikh Zakirov wrote:
> Geir Magnusson Jr wrote:
>> The biggie is that it appears that all the DRVM artifacts (.so) have to
>> be in the jre/bin directory, rather than in bin/default.  This isn't a
>> showstopper right now - I'll do a  snapshot w/ them in there, but it
>> would be nice to figure this out.  I tried using vm.boot.library.path :
>>
>> java -vm:vmcore -vmdir:default -Dvm.boot.library.path=default -cp . Test
> 
> Have you tried '-vmdir:.' ?

Of course, and that works, but it would be nice to be good citizens and
keep our detritus in a subdir of jre/bin so people can install other
Harmony-compatible VMs and use them easily.

> 
>> The second thing is that I'm going to change the launcher so that it can
>> be called "java-launcher" or something, so I can then invoke from a
>> shell script on linux like we do now, to set the LD_LIBRARY_PATH.
> 
> I looked through launcher code once, and have got an impression that there is no need
> for that, because it does configures LD_LIBRARY_PATH and then re-exec()'s
> itself.

Ah, thanks.  I just re-tested and that worked well as long as all our
.so's are in bin/

geir


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message