You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Volosyuk (JIRA)" <ji...@apache.org> on 2006/12/27 13:51:21 UTC

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

[drlvm] vm doesn't start with custom java.library.path
------------------------------------------------------

                 Key: HARMONY-2897
                 URL: http://issues.apache.org/jira/browse/HARMONY-2897
             Project: Harmony
          Issue Type: Bug
         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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465143 ] 

Ivan Volosyuk commented on HARMONY-2897:
----------------------------------------

Agree, the jira is the duplicate of the previous one.
The idea here is not a missing class, but that java.library.path erases system java library path. This is wrong.

> [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
>         Assigned To: Gregory Shimansky
>
> 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

        

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

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky closed HARMONY-2897.
--------------------------------------

    Resolution: Duplicate
      Assignee: Gregory Shimansky

Closed as duplicate of HARMONY-2335.

> [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
>         Assigned To: Gregory Shimansky
>
> 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