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

Re: j2sdk build-depends cannot be satisfied?



On Fri, Nov 22, 2002 at 01:51:02PM +0100, Stefan Gybas wrote:
> Ola Lundqvist wrote:
> 
> > "Java libraries must depend on the needed runtime environment 
> > (java1-runtime and/or java2-runtime) but should not depend (only 
> > suggest) java-virtual-machine."
> 
> Does a "runtime" include a virtual machine or just the core classes? 
A runtime is just the core classes. That is my definition anyway.
The java-virtual-machine is not a part of the "runtime".

> The list of virtual packages does not state this:
> 
> java-compiler           Any java compiler, for Java version 1
> java2-compiler,         Any java compiler, for Java version 2
> java-virtual-machine    Any JAVA virtual machine
> java1-runtime           Any Java runtime environment, Java version 1
> java2-runtime.          Any Java runtime environment, Java version 2
> 
> IMHO Java libraries should not have any dependencies on either a 
> runtime or a virtual machine. The reason is simple: Let's say I have a 
> Java library package in main (so it can be built with jikes or gcj) 
> that build depends on another Java library package (of course also in 
> main).
> 
> Why should I have to install a runtime environment or a virtual 
> machine to build the package? Installing jikes | gcj-3.2, classpath | 
> libgcj3 and the required other library package is sufficient (if 
> something like Ant is not used at). The classpath and libgcj3 packages 
> contain the core classes but do not provide any virtual package.

Don't you need the core classes (runtime env) to build the native package?

Regards,

// Ola

> Regards,
> Stefan Gybas
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Annebergsslingan 37      \
|  opal@lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: