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