Re: Deploying noarch builds to specific arch's

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

 



On Wed, 2007-10-17 at 10:49 -0400, Deepak Bhole wrote:
> * Jesse Keating <jkeating@xxxxxxxxxx> [2007-10-17 10:25]:
> > On Wed, 17 Oct 2007 10:07:49 -0400
> > Deepak Bhole <dbhole@xxxxxxxxxx> 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.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux