Re: update-alternatives problem for java?

2003-08-11 Thread Egon Willighagen
On Friday 08 August 2003 15:15, Matt Zimmerman wrote: > On Fri, Aug 08, 2003 at 02:54:56PM +0200, Egon Willighagen wrote: > > On Friday 08 August 2003 14:26, Hein Meling wrote: > > > Every time I do an update, and there is a new version of sablevm (I > > > think), the alternatives system returns

Re: trying to make a new .deb

2003-08-11 Thread egonw
Quoting Paolo Ariano <[EMAIL PROTECTED]>: > Il gio, 2003-08-07 alle 16:50, Paolo Ariano ha scritto: > > now i'll read http://pkg-java.alioth.debian.org/ and start to modify the > > skeleton to give more sense > > hi * > > i used (as suggested) > > dh_make --single -c blank -e [EMAIL PROTECTED]

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

Re: Use of update-alternatives or JAVA_HOME (was: Experience inconverting 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 inconverting 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

Re: trying to make a new .deb

2003-08-11 Thread Paolo Ariano
Il gio, 2003-08-07 alle 16:50, Paolo Ariano ha scritto: > now i'll read http://pkg-java.alioth.debian.org/ and start to modify the > skeleton to give more sense hi * i used (as suggested) dh_make --single -c blank -e [EMAIL PROTECTED] i obtained the new directory debian/ with the skeleton but

Re: trying to make a new .deb

2003-08-11 Thread egonw
Quoting Paolo Ariano <[EMAIL PROTECTED]>: > Il gio, 2003-08-07 alle 16:50, Paolo Ariano ha scritto: > > now i'll read http://pkg-java.alioth.debian.org/ and start to modify the > > skeleton to give more sense > > hi * > > i used (as suggested) > > dh_make --single -c blank -e [EMAIL PROTECTED]

Re: trying to make a new .deb

2003-08-11 Thread Paolo Ariano
Il lun, 2003-08-11 alle 12:41, [EMAIL PROTECTED] ha scritto: > Yes, it would indeed be nice to have a dh_make that would generate > a debian/ directory that uses Ant instead of Makefile... All, is this one > of the new program in the works? yes it would be really nice ;) i don't understand the que

Re: trying to make a new .deb

2003-08-11 Thread Arnaud Vandyck
On 11 Aug 2003 15:34:54 +0200 Paolo Ariano <[EMAIL PROTECTED]> wrote: > so you used Ant to make the build.xml and than you obtained the > Makefile...? mmm i've an original build.xml wrote by the upstream > author, how do i use it ? There are some explanations on http://pkg-java.aliot

Re: trying to make a new .deb

2003-08-11 Thread egonw
Quoting Paolo Ariano <[EMAIL PROTECTED]>: > > The Jmol program uses a Makefile wrapper around the Ant build.xml file... > > so you used Ant to make the build.xml and than you obtained the > Makefile...? No, Ant is the program that compiles the software based on the build.xml... Ant is to build.x

Re: trying to make a new .deb

2003-08-11 Thread Paolo Ariano
Il lun, 2003-08-11 alle 15:06, [EMAIL PROTECTED] ha scritto: > No, Ant is the program that compiles the software based on the build.xml... > Ant is to build.xml, what make is to Makefile... ok perfect, i have understood but as dh_make use the Makefile to write the debian/rules and i've only a buil

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

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

Java database application development

2003-08-11 Thread Mirko Scurk
My goal is to use Debian linux as development platform for (classical – two tier) database (MySQL) applications. I thought that Java would be ideal for that purpose. Am I right? Is there better free tool (language) for development of such application that can run on both Linux and Windows? Are ther

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

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 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

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 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

2003-08-11 Thread Jan Schulz
Hallo Matt, Reply to the list, as I suspect, that you just missed the right key :) At least I haven't found anything private in this mail * Matt Zimmerman wrote: >On Mon, Aug 11, 2003 at 10:58:18PM +0200, Jan Schulz wrote: >> * Matt Zimmerman wrote: >> >This is what update-alternatives does. >> T

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

2003-08-11 Thread Matt Zimmerman
On Mon, Aug 11, 2003 at 11:39:55PM +0200, Jan Schulz wrote: > Reply to the list, as I suspect, that you just missed the right key :) > At least I haven't found anything private in this mail I did not, in fact, miss the right key. I replied privately because I was responding to a private message

Java Environment Setup

2003-08-11 Thread Jerry Haltom
I was curious if anybody had given thought to setting up a Java environment script of some sort that would set up JAVA_HOME and CLASSPATH depending on the alternitives set. I think this is actually a small thing Debian itself lacks. Some other distros I have used, such as Gentoo, provide a env.d f

Re: Use of update-alternatives or JAVA_HOME

2003-08-11 Thread Jan Schulz
Hallo Matt, * Matt Zimmerman wrote: >I did not, in fact, miss the right key. I replied privately because I was >responding to a private message from you, and it is generally impolite to >reply publicly to a private message (as you have done here, though in this >case no harm has been done). Sor