Re: Re: best Depends: line for an app that needs Java 5 but prefers Java 6

2007-05-14 Thread Elliott Hughes
Marcus Better wrote: > (Please don't CC me, I am subscribed to the list.) (sorry. i'm not, which is why it always looks like i'm starting a new thread, for which i also apologize.) > Elliott Hughes wrote: > > the application will be better with Java 6, so i'd really like > > to Depends: it, b

Re: Re: best Depends: line for an app that needs Java 5 but prefers Java 6

2007-05-14 Thread Marcus Better
(Please don't CC me, I am subscribed to the list.) Elliott Hughes wrote: > the application will be better with Java 6, so i'd really like > to Depends: it, but i don't want to shut out people on systems that have > an available sun-java5-jre but no sun-java6-jre. Why not? sun-java6-jre is availab

Re: Re: best Depends: line for an app that needs Java 5 but prefers Java 6

2007-05-14 Thread Elliott Hughes
Marcus Better wrote: > This advice is meant for packages in Debian, and only for build-depends. > You could for instance Build-depend on sun-java5-jdk and Depend on > something else. i was under a misapprehension about the JRE/JDK relationship on Debian. i see now, from looking at packages.debian.

Re: problem with jikes / httpclient

2007-05-14 Thread Blackwell
Flavio Rump wrote: thank you, it compiled! now I am getting the following though: java -cp /usr/share/java/commons-httpclient.jar HttpClientTutorial Exception in thread "main" java.lang.NoClassDefFoundError: HttpClientTutorial what's missing here? Flavio, to extend what Michael Koch said:

Re: Where is $JAVA_HOME/lib ?

2007-05-14 Thread Blackwell
Arnaud Vandyck wrote: On 5/8/07, jim <[EMAIL PROTECTED]> wrote: [...] The application starts from the browser or directly by: $JAVA_HOME/bin/java au.gov.bafcsi.clapi.crypto.CsiManager Can this work with java-gcj-compat? I don't know ;-) What would be the proper location for the files? I hav

Re: Where is $JAVA_HOME/lib ?

2007-05-14 Thread Arnaud Vandyck
On 5/8/07, jim <[EMAIL PROTECTED]> wrote: [...] The application starts from the browser or directly by: $JAVA_HOME/bin/java au.gov.bafcsi.clapi.crypto.CsiManager Can this work with java-gcj-compat? I don't know ;-) What would be the proper location for the files? I have: [...] /usr/lib/jvm

Re: best Depends: line for an app that needs Java 5 but prefers Java 6?

2007-05-14 Thread Marcus Better
Elliott Hughes wrote: > Marcus Better wrote: > > Benjamin Mesing wrote: > > > I want to build a package which requires Java 5. Therefore I > > > build-depend on (sun-java5-jdk | sun-java6-jdk). > > > > Please don't do this, just select one of them. > > I see Marcus' point, but I think that's