Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2003 19:12:30 -0600
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
Cc:        java@FreeBSD.org
Subject:   Re: Native jdk1.4.1 working
Message-ID:  <20031001011230.GA6490@misty.eyesbeyond.com>
In-Reply-To: <200309041108.44760.ernst.dehaan@nl.wanadoo.com>
References:  <Pine.GSO.4.10.10308281531530.4610-100000@pcnet5.pcnet.com> <1062193328.1241.23.camel@hunter.muc.eu.mscsoftware.com> <20030904044719.GA35997@misty.eyesbeyond.com> <200309041108.44760.ernst.dehaan@nl.wanadoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Sep 04, 2003 at 11:21:19AM +0200, Ernst de Haan wrote:
> > The proper fix is to do this in the port.  If you look at the raw
> > download for the Linux JDK 1.4.2 (needs upgrading to 1.4.2_01 btw)
> 
> Just committed the update to 1.4.2_01...
> 
> > strip the shell script and unpack, but then don't perform the actions the
> > shell script portion of the install does.  One of these actions is to
> > create the system preference directory and appropriate files.  We really
> > need to preserve the shell script and run it during post-install or write
> > our own stuff to perform an equivalent set of actions.  The native 1.4.1
> > port needs to perform similar actions to create its system preference
> > stuff.
> 
> I could use a suggested patch for this *hint* *hint* :-)

A shell script like the attached (run as root) eliminates the warnings
for me.  However, it has the obvious problem of installing files outside
of the port.

The script in front of the install seems to have the option of putting
things in ${JAVA_HOME} instead of /etc/.java, but that doesn't seem to
work for me.  I need to look into this more and in particular look at
where the JDK searches for these files.

The intent would be to have a similar script that stores files inside
of the port run during post-install.

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org


--/04w6evG8XlLl3ft--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031001011230.GA6490>