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

Re: ITP: openjdk-compiler



Hi

I have now determined that it can build using itself as compiler
(If I make a preliminary version bootstrapped with binary sun javac).
However it seems to require the jvm from sun to compile though...

/bin/cp src/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties build/classes/com/sun/tools/javac/resources/javac_zh_CN.properties
/bin/mkdir -p build/classes/com/sun/tools/javac/resources
/bin/cp src/share/classes/com/sun/tools/javac/resources/legacy.properties build/classes/com/sun/tools/javac/resources/legacy.properties
/bin/mkdir -p build/bootclasses
javac -d build/bootclasses -source 1.5 -g:source,lines @build/javac.srcfiles
Exception in thread "main" java.lang.ClassFormatError: com.sun.tools.javac.Main (unrecognized class file version)
   at java.lang.VMClassLoader.defineClass(libgcj.so.70)
   at java.lang.ClassLoader.defineClass(libgcj.so.70)
   at java.security.SecureClassLoader.defineClass(libgcj.so.70)
   at java.net.URLClassLoader.findClass(libgcj.so.70)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at java.lang.ClassLoader.loadClass(libgcj.so.70)
   at gnu.java.lang.MainThread.run(libgcj.so.70)
make[1]: *** [dist/lib/javac.jar] Fel 1
make[1]: Leaving directory `/home/ola/build/debian/_itp/openjdk-compiler-7-ea-src-b02-08-nov-2006'

Regards,

// Ola

On Mon, Nov 13, 2006 at 10:34:40PM +0100, Ola Lundqvist wrote:
> I just wanted to inform you on the debian-java list that I have
> filed an ITP on openjdk-compiler that was released today. I hope
> that I can compile it using only free software, so that it can
> go to main.
> 
> However if it really requires the class libraries from sun then
> we have to wait some more for them to release that as GPL software
> as well.
> 
> Regards,
> 
> // Ola
> 
> -- 
>  --------------------- Ola Lundqvist ---------------------------
> /  opal@debian.org                     Annebergsslingan 37      \
> |  opal@lysator.liu.se                 654 65 KARLSTAD          |
> |  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
> |  http://www.opal.dhs.org             UIN/icq: 4912500         |
> \  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
>  ---------------------------------------------------------------
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Annebergsslingan 37      \
|  opal@lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: