[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Deploying noarch builds to specific arch's



On Wed, 2007-10-17 at 10:49 -0400, Deepak Bhole wrote:
> * Jesse Keating <jkeating redhat com> [2007-10-17 10:25]:
> > On Wed, 17 Oct 2007 10:07:49 -0400
> > Deepak Bhole <dbhole redhat com> wrote:
> > 
> But that would create arch specific packages, which would not get
> shipped on ppc. Packages built with icedtea can run on ppc with gcj in
> interpreted mode.

But doesn't icedtea by default generate byte-code targeted to a later
version than gij can handle ? i.e...

[caolan Jehannum ~]$ /usr/lib/jvm/java-1.7.0-icedtea/bin/javac \
  findhome.java 
[caolan Jehannum ~]$ gij findhome
Exception in thread "main" java.lang.ClassFormatError: findhome
(unrecognized class file version)
   at java.lang.VMClassLoader.defineClass(libgcj.so.8rh)
   at java.lang.ClassLoader.defineClass(libgcj.so.8rh)
   at java.security.SecureClassLoader.defineClass(libgcj.so.8rh)
   at java.net.URLClassLoader.findClass(libgcj.so.8rh)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.8rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.8rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.8rh)
   at gnu.java.lang.MainThread.run(libgcj.so.8rh)
[caolan Jehannum ~]$ /usr/lib/jvm/java-1.7.0-icedtea/bin/javac \
  -target 1.5 findhome.java 
[caolan Jehannum ~]$ gij findhome
all ok

C.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]