You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2007/01/16 10:16:28 UTC

[jira] Commented: (HARMONY-2897) [drlvm] vm doesn't start with custom java.library.path

    [ https://issues.apache.org/jira/browse/HARMONY-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465083 ] 

Vladimir Beliaev commented on HARMONY-2897:
-------------------------------------------

I support it is duplicate of HARMONY-2335. Because:

1. if you run DRLVM with HelloWorld with native part printing greeting, and use ''." for -Djava.library.path=. then drlvm runs correctly.

2. if you move native (for HellowWorld real application) to ./tmp dir and run drlvm with Djava.library.path=tmp then drlvm fails with output given in HARMONY-2335.

3. if you run DRLVM with non-existing application (like described in this JIRA) with "." in -Djava.library.path then it throws NoClassDefFoundError:
    Uncaught exception in main:
    java.lang.NoClassDefFoundError: nothing
    Caused by: java.lang.ClassNotFoundException: nothing
            at java.net.URLClassLoader.findClass(URLClassLoader.java:623)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader$SystemClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    FAILED to invoke JVM.

   Note, that RI exists with the same error but a bit poorer  output (bea 1.5.0 win-ia32):

       java.lang.NoClassDefFoundError: nothing

4. Finally, if you run DRLVM with non-existing application (like described in this JIRA) with "tmp" in -Djava.library.path then it drlvm exists with output described in HARMONY-2335.

Resume: duplicate.

VB


> [drlvm] vm doesn't start with custom java.library.path
> ------------------------------------------------------
>
>                 Key: HARMONY-2897
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2897
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux
>            Reporter: Ivan Volosyuk
>
> VM doesn't start with the following command line:
>     java -Djava.library.path=. nothing

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira