List Info

Thread: Search libjvm.so by the java.library.path




Search libjvm.so by the java.library.path
user name
2007-08-23 10:28:43
To comment on the following update, log in, then open the
issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80975

                 Issue #|80975
                 Summary|Search libjvm.so by the
java.library.path
               Component|udk
                 VersionOG680_m2
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|jl
             Reported by|pmladek





------- Additional comments from pmladekopenoffice.org Thu Aug 23 15:28:41 +0000 2007
-------
gij is not detected on openSUSE-10.3 on i586. There is used
gij-4.2.1, so
/usr/lib/gcj-4.2.1/libjvm.so must be found.

It does not help to define the patch
"gcj-4.2.1/libjvm.so" in
GnuInfo::getRuntimePaths in
jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
because the /usr/lib prefix is not longer defined in
gnu.classpath.home.url

Instead the property java.library.path points to the
directory with libjvm.so.

It might be a bug in the openSUSE-10.3 gij, see
ht
tps://bugzilla.novell.com/show_bug.cgi?id=303904

On the other hand, the property java.library.path sounds
reasonable and it might
be worth to search it anyway.

I'll add a patch that searches the path defined by
java.library.path property.
The first path in the list is enough at least on
openSUSE-10.3.

------------------------------------------------------------
---------
Please do not reply to this automatically generated
notification from
Issue Tracker. Please log onto the website and enter your
comments.
http://qa.openoffice.org/issue_handling/
project_issues.html#notification

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribeudk.openoffice.org
For additional commands, e-mail: issues-helpudk.openoffice.org


Search libjvm.so by the java.library.path
user name
2007-08-23 10:30:01
To comment on the following update, log in, then open the
issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80975






------- Additional comments from pmladekopenoffice.org Thu Aug 23 15:30:00 +0000 2007
-------
Created an attachment (id=47752)
Proposed change.


------------------------------------------------------------
---------
Please do not reply to this automatically generated
notification from
Issue Tracker. Please log onto the website and enter your
comments.
http://qa.openoffice.org/issue_handling/
project_issues.html#notification

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribeudk.openoffice.org
For additional commands, e-mail: issues-helpudk.openoffice.org


Search libjvm.so by the java.library.path
user name
2007-08-23 10:38:59
To comment on the following update, log in, then open the
issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80975






------- Additional comments from cmcopenoffice.org Thu Aug 23
15:38:57 +0000 2007 -------
Sounds fine, if there's another property which can help find
the library, but
FWIW what's the output of this...

class findhome
{
        public static void main(String args[])
        {
               
System.out.println(System.getProperty("java.home")
);
               
System.out.println(System.getProperty("gnu.classpath.ho
me.url"));
               
System.out.println(System.getProperty("java.library.pat
h"));
        }
}
javac findhome.java 
java findhome
i.e. I have...
/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
file:///usr/lib64
/usr/lib64/gcj-4.1.2

and we're currently use the first value here as the first
place to look. What
does your one say, i.e. what location is your gcj-java
configured to think it's
installed into ?

------------------------------------------------------------
---------
Please do not reply to this automatically generated
notification from
Issue Tracker. Please log onto the website and enter your
comments.
http://qa.openoffice.org/issue_handling/
project_issues.html#notification

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribeudk.openoffice.org
For additional commands, e-mail: issues-helpudk.openoffice.org


Search libjvm.so by the java.library.path
user name
2007-08-23 10:56:06
To comment on the following update, log in, then open the
issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80975






------- Additional comments from pmladekopenoffice.org Thu Aug 23 15:56:05 +0000 2007
-------
My prints:

/usr
file:///usr/lib/gcc/i586-suse-linux/4.2.1
/usr/lib/gcj-4.2.1

Heh, it is a mess 

------------------------------------------------------------
---------
Please do not reply to this automatically generated
notification from
Issue Tracker. Please log onto the website and enter your
comments.
http://qa.openoffice.org/issue_handling/
project_issues.html#notification

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribeudk.openoffice.org
For additional commands, e-mail: issues-helpudk.openoffice.org


Search libjvm.so by the java.library.path
user name
2007-08-23 11:03:22
To comment on the following update, log in, then open the
issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80975






------- Additional comments from cmcopenoffice.org Thu Aug 23
16:03:21 +0000 2007 -------
Your patch is still probably a good idea, but I'd really
check with your gcj
guys if the output you report is the way it is intended to
be.

------------------------------------------------------------
---------
Please do not reply to this automatically generated
notification from
Issue Tracker. Please log onto the website and enter your
comments.
http://qa.openoffice.org/issue_handling/
project_issues.html#notification

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribeudk.openoffice.org
For additional commands, e-mail: issues-helpudk.openoffice.org


Search libjvm.so by the java.library.path
user name
2007-08-27 06:31:16
To comment on the following update, log in, then open the
issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80975



User jl changed the following:

                What    ld value 
               |New value
============================================================
====================
                  Status|NEW                       |STARTED
------------------------------------------------------------
--------------------
        Target milestone|---                       Oo 2.4
------------------------------------------------------------
--------------------




------- Additional comments from jlopenoffice.org Mon Aug 27
11:31:15 +0000 2007 -------
.

------------------------------------------------------------
---------
Please do not reply to this automatically generated
notification from
Issue Tracker. Please log onto the website and enter your
comments.
http://qa.openoffice.org/issue_handling/
project_issues.html#notification

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribeudk.openoffice.org
For additional commands, e-mail: issues-helpudk.openoffice.org


Search libjvm.so by the java.library.path
user name
2007-10-02 06:31:00
To comment on the following update, log in, then open the
issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80975






------- Additional comments from jlopenoffice.org Tue Oct  2
11:31:00 +0000 2007 -------
added to CWS jl77

------------------------------------------------------------
---------
Please do not reply to this automatically generated
notification from
Issue Tracker. Please log onto the website and enter your
comments.
http://qa.openoffice.org/issue_handling/
project_issues.html#notification

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribeudk.openoffice.org
For additional commands, e-mail: issues-helpudk.openoffice.org


[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )