On Sep 21, 2006, at 2:13 AM, Egor Pasko wrote:

On the 0x1EB day of Apache Harmony Geir Magnusson, Jr. wrote:
I modified the launcher to include both the vm directory as well as
the launcher directory on the PATH/LD_LIBRARY_PATH.

I am not catching .. the launcher directory is known without
PATH/LD_LIBRARY_PATH. Why should we look at PATH?

Oh - for windows, it sets PATH, for linux it sets LD_LIBRARY_PATH. So I was just describing things in general.


Can those that have been having troubles with shared lib loading give
it a try, and report back, and please mention the platform you are
running on...

SUSE 9:
* HelloWorld works without complaining, cool!
* JAVA_HOME crash is gone, great!
  (but are we not ignoring JAVA_HOME yet?)
* tests:
  * ThreadTest failed on JET (looks like a known issue:)
  * ~4 tests failed on OPT (ThreadTest too), I'll look at them

* Eclipse (3.2) runs, but reports NPE on startup. Is that a known bug?
java.lang.NullPointerException
at com.ibm.icu.lang.UCharacter.getProperty(UCharacter.java: 6073)
        at com.ibm.icu.lang.UCharacter.getType(UCharacter.java:2974)
at com.ibm.icu.lang.UCharacter.isWhitespace(UCharacter.java: 3162)
        at java.lang.Character.isWhitespace(Character.java:3091)
        at java.lang.Character.isWhitespace(Character.java:3078)

[SNIP]

I think this is a known problem that someone is looking into.

Ok - so it seems that for you, the problem has gone away. We still seem to have it on Gentoo for Armand...


geir


geir

On Sep 20, 2006, at 3:47 PM, Geir Magnusson Jr. wrote:

Ok - so to summarize, there are two things here :

1) We need to find a clean way to get bootclasspath.properties.  I
don't like JAVA_HOME.  I'd like to see if we can simply presume a
structure, with an override property for people that want to do
weird things.

2) We seem to have a simple problem w/ ld.so on our different
platforms.  I think the simple solution to avoid having to have
multiple copies of stuff is to ensure that the directory of the
launcher is included in LD_LIBRARY_PATH, which I thought it was.
It turns out it isn't, and I'm therefore trying to figure out why
it works on my box.

geir


On Sep 20, 2006, at 11:59 AM, Ivan Volosyuk wrote:

I think the whole idea with current behaviour of JAVA_HOME is bad.
Launcher should set JAVA_HOME according to it own invocation path.
Launcher should override the variable if it set incorrectly.
--
Ivan

On 9/20/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
That appears to be part of the problem Egor, and I've put the
initialization into r448241), however, I still get a failure to
create
the (IBM) VM when JAVA_HOME is pointing at a different JRE.  It
works ok
if home is pointing to the harmony jre or is unset.  The failure
looks
like an init args corruption?

Regards,
Tim

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



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



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



--
Egor Pasko, Intel Managed Runtime Division


---------------------------------------------------------------------
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