On 9/11/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:


Evgueni Brevnov wrote:
> On 9/9/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
>> There seems to be no easy solution, other than parse LD_LIBRARY_PATH or
>> PATH...
>
> Is vmcore.dll (now harmonyvm.dll) and kernel.jar should always reside
> in one directory?

I was thinking about this for packaging - that way you can have :

  jre/
     bin/
        j9/
        drlvm/

and setup a symlink if you wish.

if we have kernel.jar in jre/lib/boot as we do now, it's must less
convenient and probably error prone to switch back and forth.

 > If yes then we can take vmcore.dll base path as a
> location of kerenel.jar.

Sure - where will you get that?  and what do you w/ .so's in unix?  I've
come to the conclusion that the only way will be to manually run the
PATH (win) and LD_LIBRARY_PATH (linux)

geir

There is GetModuleBaseName function on Windows. So we call LoadLobrary
to get vmcore.dll's handle and pass it to GetModuleBaseName to get a
base path. It seems to be possible to achieve that on Linux as well...

Evgueni

>
>
>>
>> geir
>>
>> Geir Magnusson Jr. wrote:
>> > I'll figure this out myself if I don't get a quick answer, but I think
>> > we should put the DRLVM kernel classes jar(s) in the same directory as
>> > the rest of the DRLVM artifacts so that it's easy to switch between VMs
>> > using the launcher.  (J9 does this).
>> >
>> > How does DRLVM decide where to look?
>> >
>> > (I'm re-doing the DRLVM build to finish integrating the launcher
>> > properly, and figure that a nice thing to add is a DRLVM-snapshot that
>> > just drops into classlib/deploy/jdk/jre/bin the same way J9 does for
>> > developers....
>> >
>> > geir
>> >
>> > ---------------------------------------------------------------------
>> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to