Help!

Sun's OpenJDK in Debian?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Java RSS
Next:  Packaging solr:  
Author Message
Jens Seidel
External


Since: Nov 20, 2004
Posts: 280



PostPosted: Sat Jun 09, 2007 10:50 pm    Post subject: Sun's OpenJDK in Debian?
Archived from groups: linux>debian>maint>java (more info?)

Hi,

I'm surprised that this wasn't discussed already in the past on this list
(or in the BTS of some important java packages), but what is the status
of Sun's Java architecture in Debian?

It is licensed under GPL2 and should be compatible with DFSG.

As far as I know only a few components are not yet freely available,
especially all which are subject to the Assembly Exception
(http://openjdk.java.net/legal/exception-modules-2007-05-08.html,
http://www.sun.com/software/opensource/java/faq.jsp).

Is this the main blocker for accepting OpenJDK in Debian? Would it be
possible to just omit the binary modules or to replace these with free
implementations from other free projects?

Please CC: me.

Jens


--
To UNSUBSCRIBE, email to debian-java-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Michael Koch
External


Since: Feb 18, 2005
Posts: 574



PostPosted: Sat Jun 09, 2007 11:00 pm    Post subject: Re: Sun's OpenJDK in Debian? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, Jun 09, 2007 at 10:12:55PM +0200, Jens Seidel wrote:
> Hi,
>
> I'm surprised that this wasn't discussed already in the past on this list
> (or in the BTS of some important java packages), but what is the status
> of Sun's Java architecture in Debian?
>
> It is licensed under GPL2 and should be compatible with DFSG.
>
> As far as I know only a few components are not yet freely available,
> especially all which are subject to the Assembly Exception
> (http://openjdk.java.net/legal/exception-modules-2007-05-08.html,
> http://www.sun.com/software/opensource/java/faq.jsp).
>
> Is this the main blocker for accepting OpenJDK in Debian? Would it be
> possible to just omit the binary modules or to replace these with free
> implementations from other free projects?

Yes, this is a big blocker for this. We are working on icedtea, a
temporary fork of openjdk, which tries to replace the the closed source
parts. This is mainly discussed on the openjdk mailing lists and on IRC.


Michael
--
.''`. | Michael Koch <konqueror.RemoveThis@gmx.de>
: :' : | Free Java Developer <http://www.classpath.org>
`. `' |
`- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B


--
To UNSUBSCRIBE, email to debian-java-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Mark Wielaard
External


Since: Aug 14, 2005
Posts: 13



PostPosted: Sun Jun 10, 2007 1:10 am    Post subject: Re: Sun's OpenJDK in Debian? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 2007-06-09 at 22:50 +0200, Michael Koch wrote:
> > Is this the main blocker for accepting OpenJDK in Debian? Would it be
> > possible to just omit the binary modules or to replace these with free
> > implementations from other free projects?
>
> Yes, this is a big blocker for this. We are working on icedtea, a
> temporary fork of openjdk, which tries to replace the the closed source
> parts. This is mainly discussed on the openjdk mailing lists and on IRC.

Since openjdk has so many lists, the one you are looking for is:
http://mail.openjdk.java.net/mailman/listinfo/distro-pkg-dev

Or in gmane start with this thread:
http://article.gmane.org/gmane.comp.java.openjdk.distro-packaging.devel/5

Only bootstraps on Fedora 7 for now, but we are making (very) slow
progress to get things to build fully on Debian also.
All help appreciated!

Cheers,

Mark


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Andrew Haley
External


Since: Nov 14, 2005
Posts: 17



PostPosted: Sun Jun 10, 2007 1:20 pm    Post subject: Re: Sun's OpenJDK in Debian? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mark Wielaard writes:

> Only bootstraps on Fedora 7 for now, but we are making (very) slow
> progress to get things to build fully on Debian also.

Ofergoodnessake, it's been three whole days! Smile

Andrew.

--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


--
To UNSUBSCRIBE, email to debian-java-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Mark Wielaard
External


Since: Aug 14, 2005
Posts: 13



PostPosted: Mon Jun 11, 2007 12:40 am    Post subject: Re: Sun's OpenJDK in Debian? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

(CC openjdk distro-pkg-dev to keep them in the loop about the progress)

On Sun, 2007-06-10 at 12:14 +0100, Andrew Haley wrote:
> Mark Wielaard writes:
>
> > Only bootstraps on Fedora 7 for now, but we are making (very) slow
> > progress to get things to build fully on Debian also.
>
> Ofergoodnessake, it's been three whole days! Smile

Four already! But...
IcedTea is served: openjdk/control/build/linux-i586

$ /home/mjw/icedtea/openjdk/control/build/linux-i586/bin/javac HelloWorld.java

$ /home/mjw/icedtea/openjdk/control/build/linux-i586/bin/java HelloWorld
Hello World!
Greetings Earth!

vm: OpenJDK Client VM
version: 1.7.0-internal-mjw_10_jun_2007_20_29-b00
vendor: Sun Microsystems Inc.

This is a bit faked though. It is on a Debian 3.0/Etch install, which
definitely doesn't have the latest gcj, so I build myself a gcc from svn
trunk. Michael and I found some small issues in his last
icedtea-builddeps that partially explain the problems found in:
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2007-June/000035.html
There is a serializer.jar which provides the xalan stuff and some parts
of the build seem to unconditionally use gawk. Both issues should be
solved by Michael's latest icedtea-builddeps package (available as apt
sources line at deb http://people.debian.org/~mkoch/java/ ./).

Also on this install ecj wasn't always picking up the bootstrap
classpath, so I had to fake that by adding the following to the javac
script in icedtea and by creating my own wrapper of ecj (and point
--with-ecj at it):

libgcjjar=/home/mjw/gcc/install/share/java/libgcj-4.3.0.jar

case "$*" in
*-bootclasspath*) ;;
*) bcoption="-bootclasspath $libgcjjar"
esac

CLASSPATH=/usr/share/java/ecj.jar${CLASSPATH:+:}$CLASSPATH \
/home/mjw/gcc/install/bin/gij \
org.eclipse.jdt.internal.compiler.batch.Main -1.5 -nowarn \
$bcoption $NEW_ARGS

Finally since I was using a x86 xen guest on a x86_64 xen host the build
guessed the architecture wrong at one point which I just manually
corrected. And since this xen guest doesn't have proper tls support I
had to fake out libunpack.so and libwaiters.so which (indirectly) seem
to use that.

And I didn't yet try to make it bootstrap itself.

So lots of tricks to play. But theoretically it is possible Smile

Cheers,

Mark


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Tom Marble
External


Since: May 27, 2006
Posts: 29



PostPosted: Wed Jun 13, 2007 10:00 pm    Post subject: Re: Sun's OpenJDK in Debian? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jens Seidel wrote:
> I'm surprised that this wasn't discussed already in the past on this list
> (or in the BTS of some important java packages), but what is the status
> of Sun's Java architecture in Debian?
>
> It is licensed under GPL2 and should be compatible with DFSG.

As previously discussed we are quite keen on getting OpenJDK into Debian.
Getting a complete and fully functional OpenJDK into Debian, Fedora
and other major Linux distributions is one of my top priorities.

The IcedTea project is an great step in this direction to help
close the remaining binary encumbrances.

Regards,

--Tom


--
To UNSUBSCRIBE, email to debian-java-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Java All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum