Subject: Re: java packages
To: Brook Milligan <firstname.lastname@example.org>
From: Alistair Crooks <email@example.com>
Date: 10/23/2001 21:50:15
On Tue, Oct 23, 2001 at 10:40:31AM -0600, Brook Milligan wrote:
> > I am trying to construct a package for some software that is written
> > in java (1.1 or 1.2). Presumably, I need to include a dependency for
> > one or more of the various java packages. However, this is my first
> > experience with java so I'm not sure exactly which package(s) to
> > install and how to get java programs running.
> Take a look at bsd.pkg.mk, around line 60. You'll see there's a
> USE_JAVA definition, which should do the right thing for the platform
> you're working on. You could also take a look at some of the other
> Java packages we have in pkgsrc, like www/jakarta-tomcat, to see
> how they've done things.
> Great. But ...
> The java brought in by the USE_JAVA definition yields a system that
> will handle v1.1 java code, but not v1.2 code. This gets me through
> part of the problem, but is there similar support for java 1.2?
> Thanks for the help.
No problems - my apologies that I didn't answer your question originally.
The pkgsrc/devel/javadeps uses 1.2 or later:
which will install the jdk 1.3 if 1.2 or later is not already installed
on the system.
However, I fear I'm missing out on something, and not answering your
question very well - feel free to contact me off list...