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

Re: Packages that require Java 2 ?

On Tue, Sep 04, 2001 at 05:42:16PM +0200, Marcus Crafter wrote:

> JPDA is a Java 2 platform thing, and will only work with Java 2
> sdk/jdk's - is there a current policy recommendation for specifying
> this in 'depend' lists ? 

I suggest to use "j2sdk1.3 | j2re1.3 | java-vitual-machine-dummy".

This way, a user can install Sun's or IBM's JDK to /usr/local and install
your package without breaking its dependencies. You could test if the
JVM is Java 2 (either "java -version" or looking for
$JAVA_HOME/jre/lib/rt.jar) and print an error message if it's just JDK1.1.

Stefan Gybas

Reply to: