trouble using IBM 1.4.1 jdk for ppc on Debian
Hi, I have trouble using IBM 1.4.1 jdk for ppc on Debian. It runs quite fine once I set JITC_COMPILER_TYPE=6, as I have a G4 processor, BUT when a java program calls a native method, I get this kind of exception : java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [Xmlc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) [Xmlc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) [Xmlc] at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) .. This hapens in Netbeans, in Ant when calling an external compiler (xmlc in the example), ... I'm not sure where to look at... Is it a bug in IBM'jdk, a problem with gcc version, or what else ? What bothers me is that the exception refers to sun.reflect.* while I am using IBM jdk and all my environment variables are set to IBM jdk. Did any of you had success with IBM jdk 1.4.1 ? Has anyone any hint ? Thanks, Franck
Re: trouble using IBM 1.4.1 jdk for ppc on Debian
Hi, this problem also exists with 1.4.1. The problem is with following several symlinks. Just do a ln -s /pathtojdk/bin/java /usr/bin/java and it will work. But of course, you loose the 'alternative' facility for java... This bug has been reported on IBM's list in june for the previous version, but apparently not solved :-( Franck Messages d´origine De: Christian Leimer <[EMAIL PROTECTED]> Date: vendredi, octobre 24, 2003 3:20 pm Objet: Re: trouble using IBM 1.4.1 jdk for ppc on Debian > Am Fri, 24 Oct 2003 09:10:05 +0200 schrieb Frank Routier: > > > Hi, > > > > I have trouble using IBM 1.4.1 jdk for ppc on Debian. > > > > Hi! > > Did you tried the new SR1 its out since a few days. > How did you installed it? I tiried update-alternatives but I > always get > this error: JVM not found: libjvm.so - libjvm.so when I type > java or > javac. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > >
Re: trouble using IBM 1.4.1 jdk for ppc on Debian
Sure, you can find it here : https://www6.software.ibm.com/dl/lxdk/lxdk-p To go there, you can also go to www.ibm.com, follow developpers - java technology - IBM jdk Latest 1.4.1 version (SR3 ?) works fine on my Debian Tibook, with for example jonas, ant, jboss, barracuda or netbeans. Great stuff, although not free... Franck Messages d´origine De: Markus Frauenfelder <[EMAIL PROTECTED]> Date: mercredi, novembre 12, 2003 11:45 pm Objet: Re: trouble using IBM 1.4.1 jdk for ppc on Debian > Hi > > can anybody tell me where to find IBMs JDK1.4.1? I can only find a > versionment for intel-architecture :-(( > > thanks > markus > > > Frank Routier hat mal (am Fri, Oct 24, 2003 at 03:36:51PM +0200) > gesagt:> Hi, > > > > this problem also exists with 1.4.1. The problem is with > following several symlinks. > > > > Just do a ln -s /pathtojdk/bin/java /usr/bin/java and it will work. > > > > But of course, you loose the 'alternative' facility for java... > This bug has been reported on IBM's list in june for the previous > version, but apparently not solved :-( > > > > Franck > > > > Messages d´origine > > De: Christian Leimer <[EMAIL PROTECTED]> > > Date: vendredi, octobre 24, 2003 3:20 pm > > Objet: Re: trouble using IBM 1.4.1 jdk for ppc on Debian > > > > > Am Fri, 24 Oct 2003 09:10:05 +0200 schrieb Frank Routier: > > > > > > > Hi, > > > > > > > > I have trouble using IBM 1.4.1 jdk for ppc on Debian. > > > > > > > > > > Hi! > > > > > > Did you tried the new SR1 its out since a few days. > > > How did you installed it? I tiried update-alternatives but I > > > always get > > > this error: JVM not found: libjvm.so - libjvm.so when I type > > > java or > > > javac. > > > > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact > > > [EMAIL PROTECTED] > > > > > > > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED]> > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > >
Re: trouble using IBM 1.4.1 jdk for ppc on Debian
Forgot to say : choose IBM SDK for 32-bit iSeries/pSeries for the ppc version... (And it appears to be SR1). Regards, Franck Messages d´origine De: Frank Routier <[EMAIL PROTECTED]> Date: jeudi, novembre 13, 2003 10:41 am Objet: Re: trouble using IBM 1.4.1 jdk for ppc on Debian > Sure, > > you can find it here : > > https://www6.software.ibm.com/dl/lxdk/lxdk-p > > To go there, you can also go to www.ibm.com, follow developpers - > java technology - IBM jdk > > Latest 1.4.1 version (SR3 ?) works fine on my Debian Tibook, with > for example jonas, ant, jboss, barracuda or netbeans. > > Great stuff, although not free... > > Franck > > Messages d´origine > De: Markus Frauenfelder <[EMAIL PROTECTED]> > Date: mercredi, novembre 12, 2003 11:45 pm > Objet: Re: trouble using IBM 1.4.1 jdk for ppc on Debian > > > Hi > > > > can anybody tell me where to find IBMs JDK1.4.1? I can only find > a > > versionment for intel-architecture :-(( > > > > thanks > > markus > > > > > > Frank Routier hat mal (am Fri, Oct 24, 2003 at 03:36:51PM +0200) > > gesagt:> Hi, > > > > > > this problem also exists with 1.4.1. The problem is with > > following several symlinks. > > > > > > Just do a ln -s /pathtojdk/bin/java /usr/bin/java and it will > work.> > > > > But of course, you loose the 'alternative' facility for > java... > > This bug has been reported on IBM's list in june for the > previous > > version, but apparently not solved :-( > > > > > > Franck > > > > > > Messages d´origine > > > De: Christian Leimer <[EMAIL PROTECTED]> > > > Date: vendredi, octobre 24, 2003 3:20 pm > > > Objet: Re: trouble using IBM 1.4.1 jdk for ppc on Debian > > > > > > > Am Fri, 24 Oct 2003 09:10:05 +0200 schrieb Frank Routier: > > > > > > > > > Hi, > > > > > > > > > > I have trouble using IBM 1.4.1 jdk for ppc on Debian. > > > > > > > > > > > > > Hi! > > > > > > > > Did you tried the new SR1 its out since a few days. > > > > How did you installed it? I tiried update-alternatives but I > > > > always get > > > > this error: JVM not found: libjvm.so - libjvm.so when I > type > > > > java or > > > > javac. > > > > > > > > > > > > -- > > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > > with a subject of "unsubscribe". Trouble? Contact > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED]> > > > > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED] > > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] >