Re: Experience in converting to GCJ

2003-08-14 Thread Jan Schulz
Hallo David, * David Goodenough wrote: >Does anyone have experience they could share in converting a Java DEB to use >GCJ where available. RedHat has a nice project using gcj to compile a lot of packages. Also they have compield eclispe using ant and gcj. >In particular I want to convert kdeb

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-14 Thread David Goodenough
On Monday 11 August 2003 21:18, Matt Zimmerman wrote: > On Mon, Aug 11, 2003 at 09:58:03PM +0200, Jan Schulz wrote: > > * Matt Zimmerman wrote: > > >JAVA_HOME seems silly in Debian, where we have alternatives to manage > > > these things. I wish it would go away. > > > > I do not! > > > > The curr

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-14 Thread Matt Zimmerman
On Mon, Aug 11, 2003 at 04:40:11PM -0400, Michael R Head wrote: > On Mon, 2003-08-11 at 16:18, Matt Zimmerman wrote: > > This is what update-alternatives does. > > I actually use update-alternatives to point to > /usr/local/lib/j2sdk/bin/java which is a symlink to j2sdk1.4.2 or > whatever the lat

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-14 Thread Matt Zimmerman
On Mon, Aug 11, 2003 at 09:58:03PM +0200, Jan Schulz wrote: > * Matt Zimmerman wrote: > >JAVA_HOME seems silly in Debian, where we have alternatives to manage these > >things. I wish it would go away. > > I do not! > > The current update-alternatives system isn't working, when you don't > have

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-14 Thread David Goodenough
On Monday 11 August 2003 23:33, Michael R Head wrote: > On Mon, 2003-08-11 at 17:37, Matt Zimmerman wrote: > > On Mon, Aug 11, 2003 at 04:40:11PM -0400, Michael R Head wrote: > > > > > > Which is something that Unix users have been able to do since the dawn of > > time, in a more generic way, with

Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-14 Thread Jan Schulz
Hallo Matt, * Matt Zimmerman wrote: >JAVA_HOME seems silly in Debian, where we have alternatives to manage these >things. I wish it would go away. I do not! The current update-alternatives system isn't working, when you don't have a way to prevent 'not fit to the work' /usr/bin/java to use it.

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-14 Thread Adam Heath
On 11 Aug 2003, Michael R Head wrote: > I actually use update-alternatives to point to > /usr/local/lib/j2sdk/bin/java which is a symlink to j2sdk1.4.2 or > whatever the latest I have installed is. > > That said, using the JAVA_HOME variable (if it is set) allow a user on > the system to easily se

Experience in converting to GCJ

2003-08-12 Thread David Goodenough
Does anyone have experience they could share in converting a Java DEB to use GCJ where available. In particular I want to convert kdebindings so that it can be accepted into main. Looking at the configure file, and the bits that make it up, there is some specific hand coded function to look

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-12 Thread David Goodenough
On Monday 11 August 2003 23:33, Michael R Head wrote: > On Mon, 2003-08-11 at 17:37, Matt Zimmerman wrote: > > On Mon, Aug 11, 2003 at 04:40:11PM -0400, Michael R Head wrote: > > > > > > Which is something that Unix users have been able to do since the dawn of > > time, in a more generic way, with

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-11 Thread Michael R Head
On Mon, 2003-08-11 at 17:37, Matt Zimmerman wrote: > On Mon, Aug 11, 2003 at 04:40:11PM -0400, Michael R Head wrote: > > Which is something that Unix users have been able to do since the dawn of > time, in a more generic way, with a different environment variable (namely > PATH). I agree 100%. H

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-11 Thread David Goodenough
On Monday 11 August 2003 21:18, Matt Zimmerman wrote: > On Mon, Aug 11, 2003 at 09:58:03PM +0200, Jan Schulz wrote: > > * Matt Zimmerman wrote: > > >JAVA_HOME seems silly in Debian, where we have alternatives to manage > > > these things. I wish it would go away. > > > > I do not! > > > > The curr

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-11 Thread Matt Zimmerman
On Mon, Aug 11, 2003 at 04:40:11PM -0400, Michael R Head wrote: > On Mon, 2003-08-11 at 16:18, Matt Zimmerman wrote: > > This is what update-alternatives does. > > I actually use update-alternatives to point to > /usr/local/lib/j2sdk/bin/java which is a symlink to j2sdk1.4.2 or > whatever the lat

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-11 Thread Michael R Head
On Mon, 2003-08-11 at 16:18, Matt Zimmerman wrote: > On Mon, Aug 11, 2003 at 09:58:03PM +0200, Jan Schulz wrote: > > > What I would like to see: > > > > * add a script/way to recognise/install/make known any installed > > /bin/java, together with some rules/infos, what cpabilities this > > j

Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-11 Thread Jan Schulz
Hallo Matt, * Matt Zimmerman wrote: >JAVA_HOME seems silly in Debian, where we have alternatives to manage these >things. I wish it would go away. I do not! The current update-alternatives system isn't working, when you don't have a way to prevent 'not fit to the work' /usr/bin/java to use it.

Re: Use of update-alternatives or JAVA_HOME (was: Experience in converting to GCJ)

2003-08-11 Thread Matt Zimmerman
On Mon, Aug 11, 2003 at 09:58:03PM +0200, Jan Schulz wrote: > * Matt Zimmerman wrote: > >JAVA_HOME seems silly in Debian, where we have alternatives to manage these > >things. I wish it would go away. > > I do not! > > The current update-alternatives system isn't working, when you don't > have

Re: Experience in converting to GCJ

2003-08-11 Thread Jan Schulz
Hallo David, * David Goodenough wrote: >Does anyone have experience they could share in converting a Java DEB to use >GCJ where available. RedHat has a nice project using gcj to compile a lot of packages. Also they have compield eclispe using ant and gcj. >In particular I want to convert kdeb

Re: Experience in converting to GCJ

2003-08-11 Thread Matt Zimmerman
On Mon, Aug 11, 2003 at 04:23:55PM +0100, David Goodenough wrote: > Looking at the configure file, and the bits that make it up, there is some > specific hand coded function to look for various bits of the JVM that > is to be used, much of which does not exist in GCJ. For a start they > look for

Experience in converting to GCJ

2003-08-11 Thread David Goodenough
Does anyone have experience they could share in converting a Java DEB to use GCJ where available. In particular I want to convert kdebindings so that it can be accepted into main. Looking at the configure file, and the bits that make it up, there is some specific hand coded function to look

Re: Experience in converting to GCJ

2003-08-11 Thread Matt Zimmerman
On Mon, Aug 11, 2003 at 04:23:55PM +0100, David Goodenough wrote: > Looking at the configure file, and the bits that make it up, there is some > specific hand coded function to look for various bits of the JVM that > is to be used, much of which does not exist in GCJ. For a start they > look for