Your message dated Tue, 16 Jan 2007 19:19:27 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#369574: Suggestion: Add support for gcj to libpg-java
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libpg-java
Version: 8.1-405-1
Severity: wishlist
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages libpg-java depends on:
ii gij [java1-runtime] 4:4.1.0-2 The GNU Java bytecode interpreter
ii gij-4.1 [java1-runtime] 4.1.0-2j1 The GNU Java bytecode interpreter
libpg-java recommends no packages.
-- no debconf information
Version of package gcj:
ii gcj 4.1.0-2 The GNU Java compiler
Hi,
using 'Class.forName("org.postgresql.Driver");' in a gcj-compiled programm
failed with ClassNotFoundException:
ClassNotFoundException
java.lang.ClassNotFoundException: org.postgresql.Driver not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
'strace' showed that it tried to load the library lib-org-postgresql-Driver.so.
I tried to create this library by compiling /usr/share/java/postgresql.jar. It
worked.
Therefore I would like to suggest adding lib-org-postgresql-Driver.so to
libpg-java.
Best Regards,
Ulrich Schmid
--- End Message ---
--- Begin Message ---
On Tue, May 30, 2006 at 11:39:20PM +0200, Ulrich Schmid wrote:
> On Tue, 30 May 2006 20:33:23 +0200
> Michael Koch <[EMAIL PROTECTED]> wrote:
>
> >
> > Why don't you just added postgresql.jar to the CLASSPATH when running
> > your app? The form of lib-org-postgresql-Driver.so looks you compiled
> > the jar to the old C++ ABI and not to the new BC ABI? The problems is
> > that the C++ ABI has several problems. When we finished the new Java
> > Policy we will have a standard way to build jars to BC-ABI native jars
> > easily. Then we can perhaps implement this. But doing this needs much
> > thinking about the pros and cons. Added the bytecode jar file to the
> > CLASSPATH is by far the most simple and recommended solution.
>
> I agree. Please cancle this request.
I had this reply to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=369574
in my inbox. Closing this request due to this.
Cheers,
Michael
--
.''`. | Michael Koch <[EMAIL PROTECTED]>
: :' : | Free Java Developer <http://www.classpath.org>
`. `' |
`- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B
--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers