Re: How to express dependencies for Java(TM)?
On Sun, May 22, 2005 at 02:19:14PM -0400, Roberto C. Sanchez wrote:
> Michael Koch wrote:
> > On Sun, May 22, 2005 at 01:22:19PM -0400, Roberto C. Sanchez wrote:
> >
> >>elijah wright wrote:
> >>
> >>>>I am trying to package a couple of programs that depend on IBM or Sun
> >>>>JDK (for build) and JRE (for execution). I know that this means the
> >>>>packages will end up in contrib. However, I am not sure what the
> >>>>correct way to express the depends and build- depends. Can someone
> >>>>help me out on this?
> >>>
> >>>
> >>>do they *really* depend on a non-free jdk, or will they run with kaffe
> >>>or sablevm?
> >>>
> >>>--elijah
> >>>
> >>>
> >>
> >>Yes. All are heavy Swing/AWT apps. TTBOMK, that makes any free java a
> >>non-player.
> >
> >
> > Better try it out before doing such statements. AWT mainly just works.
> > Swing is progressing fast. The above statement depends heavily on the app
> > you wanna run and it should not be just said to try to avoid free software
> > alternatives.
> >
> >
> > Michael
>
> Point taken. One I know for certain uses features specific to the Sun
> JDK (it is for a school project). Eventually I hope to be able to get
> rid of the Sun-isms. In the mean time, I would like to be able to get
> the pacakge built properly.
>
> Also, are there any good references on getting Java apps to compile with
> free Java development tools? (No, I have not yet Googled for this info).
Most free runtimes provide directly or indirectly a JDK-like environment.
So if you use ant just point JAVA_HOME to it.
Michael
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
Join the community at http://planet.classpath.org/
Reply to: