Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11608 > unrolled thread

jdk folder structure, sample folder

Started byUlrich Scholz <d7@thispla.net>
First post2012-01-25 07:00 -0800
Last post2012-01-26 08:49 -0500
Articles 5 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  jdk folder structure, sample folder Ulrich Scholz <d7@thispla.net> - 2012-01-25 07:00 -0800
    Re: jdk folder structure, sample folder Roedy Green <see_website@mindprod.com.invalid> - 2012-01-25 14:27 -0800
      Re: jdk folder structure, sample folder Ulrich Scholz <d7@thispla.net> - 2012-01-26 04:44 -0800
        Re: jdk folder structure, sample folder Jeff Higgins <jeff@invalid.invalid> - 2012-01-26 08:26 -0500
          Re: jdk folder structure, sample folder Jeff Higgins <jeff@invalid.invalid> - 2012-01-26 08:49 -0500

#11608 — jdk folder structure, sample folder

FromUlrich Scholz <d7@thispla.net>
Date2012-01-25 07:00 -0800
Subjectjdk folder structure, sample folder
Message-ID<0bcb1839-5247-41fe-b717-710486aeb53a@j42g2000vbt.googlegroups.com>
I'm looking for a way to cut down the size of my JDK (Java 6).  In
Oracle's explanation of the file structure (http://docs.oracle.com/
javase/6/docs/technotes/tools/windows/jdkfiles.html#additional), it
mentions some additional files and directories that presumably can be
removed.

Now, there is an additional sample folder that is not explained. From
its name, I guess I can remove it, too. Right? Please point me to an
official page explaining this folder. Searching the web did not reveal
one.

Thanks, Ulrich

[toc] | [next] | [standalone]


#11613

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-01-25 14:27 -0800
Message-ID<1b01i7t1sarodo6gbtjlv4ovi2dus5sgu6@4ax.com>
In reply to#11608
On Wed, 25 Jan 2012 07:00:30 -0800 (PST), Ulrich Scholz
<d7@thispla.net> wrote, quoted or indirectly quoted someone who said :

>(http://docs.oracle.com/
>javase/6/docs/technotes/tools/windows/jdkfiles.html#additional)

that url lists the optional directories
                  jdk1.6.0
                 ___________|__________ 
                |           |          |       
              demo      include     src.zip
             ___|___ _________ __________
            |       |         |          |
          applets  jfc       jpda      plugin

It also tells you what they are for, so you can tell if you want them.

e.g. demo is source demos.
src.zip is the source code for the built-in Java classes.
etc.
In these days of terabyte disks, I am am surprised you would think
such pruning worth the candle.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
One of the most useful comments you can put in a program is 
"If you change this, remember to change ?XXX? too".
 

[toc] | [prev] | [next] | [standalone]


#11614

FromUlrich Scholz <d7@thispla.net>
Date2012-01-26 04:44 -0800
Message-ID<37e5fc54-761e-4330-8419-0d401e64d48f@s18g2000vby.googlegroups.com>
In reply to#11613
Thanks. But my JDK has a "sample" folder that is not described on this
page.
Do you know an official description of it.

And yes, in my case it makes a difference.

Ulrich

On 25 Jan., 23:27, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> On Wed, 25 Jan 2012 07:00:30 -0800 (PST), Ulrich Scholz
> <d...@thispla.net> wrote, quoted or indirectly quoted someone who said :
>
> >(http://docs.oracle.com/
> >javase/6/docs/technotes/tools/windows/jdkfiles.html#additional)
>
> that url lists the optional directories
>                   jdk1.6.0
>                  ___________|__________
>                 |           |          |
>               demo      include     src.zip
>              ___|___ _________ __________
>             |       |         |          |
>           applets  jfc       jpda      plugin
>
> It also tells you what they are for, so you can tell if you want them.

[toc] | [prev] | [next] | [standalone]


#11615

FromJeff Higgins <jeff@invalid.invalid>
Date2012-01-26 08:26 -0500
Message-ID<jfrjog$3fv$1@dont-email.me>
In reply to#11614
On 01/26/2012 07:44 AM, Ulrich Scholz wrote:
> Thanks. But my JDK has a "sample" folder that is not described on this
> page.
> Do you know an official description of it.
>

In the README file, under the heading "Contents of the JDK" and the sub 
heading "Sample Code" is a description. The description could have been 
expanded, I suppose, but I'm sure that the detailed descriptions of the 
individual samples are documented where the sample is created.

<http://www.oracle.com/technetwork/java/javase/readme-142177.html#contents>

Apparently, with JDK7, the sample, demo, example code has been moved to 
a separate download.

[toc] | [prev] | [next] | [standalone]


#11617

FromJeff Higgins <jeff@invalid.invalid>
Date2012-01-26 08:49 -0500
Message-ID<jfrl3n$ai6$1@dont-email.me>
In reply to#11615
On 01/26/2012 08:26 AM, Jeff Higgins wrote:
> On 01/26/2012 07:44 AM, Ulrich Scholz wrote:
>> Thanks. But my JDK has a "sample" folder that is not described on this
>> page.
>> Do you know an official description of it.
>>
>
> In the README file, under the heading "Contents of the JDK" and the sub
> heading "Sample Code" is a description. The description could have been
> expanded, I suppose, but I'm sure that the detailed descriptions of the
> individual samples are documented where the sample is created.
>
> <http://www.oracle.com/technetwork/java/javase/readme-142177.html#contents>
>
Additionally, see the later section "The Java Runtime Environment (JRE 
TM )", subsection "Optional Files and Directories" where the samples/ 
directory is listed as optional.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web