1 | <sect2>
|
---|
2 | <title>Introduction to j2sdk</title>
|
---|
3 |
|
---|
4 | <screen>Download location (HTTP): <ulink url="&j2sdk-download-http;"/>
|
---|
5 | Version used (binary): &j2sdk-bin-version;
|
---|
6 | Version used (source): &j2sdk-src-version;
|
---|
7 | Package size (binary): &j2sdk-bin-size;
|
---|
8 | Package size (source): &j2sdk-src-size;
|
---|
9 | Estimated Disk space required: &j2sdk-src-buildsize;</screen>
|
---|
10 |
|
---|
11 | <para>The j2sdk package contains Sun's java development environment.
|
---|
12 | This is useful for developing java programs and provides the runtime
|
---|
13 | environment necessary to run java programs. It also includes a plug-in
|
---|
14 | for browsers so that they can be java aware.</para>
|
---|
15 |
|
---|
16 | <para>
|
---|
17 | The JDK comes in two flavors, a precompiled binary and a source package. The
|
---|
18 | precompiled binary is linked against gcc2 libraries. Due to the incompatibilities
|
---|
19 | between gcc2 and gcc3, the precompiled java plugin causes problems when gcc3
|
---|
20 | compiled packages (for example mozilla) try to load the java plugin.
|
---|
21 | The source package requires registration at the Sun developer site and accepting
|
---|
22 | the Sun Community Source License.
|
---|
23 | The source code cannot be downloaded from some countries, so for users
|
---|
24 | from those countries, the binary may be the only option.
|
---|
25 | </para>
|
---|
26 |
|
---|
27 | <para>Even if you plan on compiling the jdk source, you will need to download
|
---|
28 | the binary version to bootstrap the jdk build.
|
---|
29 | Follow the above link to download both source and binary packages. When
|
---|
30 | downloading the source also download the mozilla headers package available at
|
---|
31 | the same location.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | <para>Download the patches for j2sdk source from <ulink url="&hfile-root;"/>
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | <para>If you have difficulties in building the jdk, check out the javafromscratch
|
---|
38 | hint for detailed information at <ulink url="http://www.linuxfromscratch.org/~tushar/"/>.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | <screen>j2sdk depends on:
|
---|
42 | <xref linkend="xfree86"/>, <xref linkend="zip"/>, <xref linkend="unzip"/>, <xref linkend="cpio"/>, <xref linkend="tcsh"/>, <xref linkend="gcc2lib"/></screen>
|
---|
43 |
|
---|
44 | </sect2>
|
---|