Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 10:35:56 -0700 (MST)
From:      Nate Williams <nate@yogotech.com>
To:        Ernst de Haan <ernst@jollem.com>
Cc:        FreeBSD Java mailing list <freebsd-java@FreeBSD.ORG>
Subject:   Re: JDK install: Unpack source ?
Message-ID:  <15014.29052.149045.46268@nomad.yogotech.com>
In-Reply-To: <20010307113713.A2897@c187104187.telekabel.chello.nl>
References:  <20010307113713.A2897@c187104187.telekabel.chello.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
> When installing a JDK, the Java sources are usually installed with the JDK as
> a .zip or .jar file.

Correct.

> I would prefer unpacking the .jar file so I can browse
> the source code at ${JAVA_HOME}/src, *and* so I can refer to the source
> directory when generating Javadoc API docs (-sourcepath option). At the moment
> I need to unpack the sources manually, which is fairly cumbersome for someone
> that reinstalls JDK's every now and then.

So don't re-install the JDK so often. :)

> The only disadvantage I can think of is (a little) disk space.

Quite a little disk space.

> What are your thoughts about this? Should JDK installs unpack the sources by
> default ?

No way.  I *never* look at the source code anymore, but then again, I've
no need to look at the source code except in rare cases.  I try very
hard to program to the API, rather than to look at the implementation
because it makes my programs more portable.





Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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