2002-08-10 10:42:59 +08:00
|
|
|
<sect2>
|
2003-01-30 16:04:11 +08:00
|
|
|
<title>Introduction to j2sdk</title>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
|
|
|
<screen>Download location (HTTP): <ulink url="&j2sdk-download-http;"/>
|
2003-04-07 01:54:24 +08:00
|
|
|
Download location (FTP): <ulink url="&j2sdk-download-ftp;"/>
|
2003-02-07 06:55:29 +08:00
|
|
|
Version used (binary): &j2sdk-bin-version;
|
|
|
|
Version used (source): &j2sdk-src-version;
|
|
|
|
Package size (binary): &j2sdk-bin-size;
|
|
|
|
Package size (source): &j2sdk-src-size;
|
2003-01-30 16:04:11 +08:00
|
|
|
Estimated Disk space required: &j2sdk-src-buildsize;</screen>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
2003-01-30 16:04:11 +08:00
|
|
|
<para>The j2sdk package contains Sun's java development environment.
|
|
|
|
This is useful for developing java programs and provides the runtime
|
|
|
|
environment necessary to run java programs. It also includes a plug-in
|
|
|
|
for browsers so that they can be java aware.</para>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
2003-01-30 16:04:11 +08:00
|
|
|
<para>
|
|
|
|
The JDK comes in two flavors, a precompiled binary and a source package. The
|
|
|
|
precompiled binary is linked against gcc2 libraries. Due to the incompatibilities
|
|
|
|
between gcc2 and gcc3, the precompiled java plugin causes problems when gcc3
|
|
|
|
compiled packages (for example mozilla) try to load the java plugin.
|
|
|
|
The source package requires registration at the Sun developer site and accepting
|
|
|
|
the Sun Community Source License.
|
|
|
|
The source code cannot be downloaded from some countries, so for users
|
|
|
|
from those countries, the binary may be the only option.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>Even if you plan on compiling the jdk source, you will need to download
|
|
|
|
the binary version to bootstrap the jdk build.
|
|
|
|
Follow the above link to download both source and binary packages. When
|
|
|
|
downloading the source also download the mozilla headers package available at
|
|
|
|
the same location.
|
|
|
|
</para>
|
|
|
|
|
2003-02-04 11:25:57 +08:00
|
|
|
<para>Download the patches for j2sdk source from <ulink url="&hfile-root;"/>
|
2003-01-30 16:04:11 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>If you have difficulties in building the jdk, check out the javafromscratch
|
2003-03-03 03:24:15 +08:00
|
|
|
hint at <ulink url="http://www.linuxfromscratch.org/~tushar/"/> for some workarounds.
|
2003-01-30 16:04:11 +08:00
|
|
|
</para>
|
|
|
|
|
2003-03-01 01:10:11 +08:00
|
|
|
<para>For users who do cannot download the j2sdk source owing to license
|
|
|
|
restrictions, blackdown has a gcc3 based precompiled version.
|
|
|
|
Check out <ulink url="http://www.blackdown.org/"/> for more information.</para>
|
|
|
|
|
2003-01-30 16:04:11 +08:00
|
|
|
<screen>j2sdk depends on:
|
2003-04-07 01:54:24 +08:00
|
|
|
<xref linkend="xfree86"/>, <xref linkend="zip"/>, <xref linkend="unzip"/>,
|
|
|
|
<xref linkend="cpio"/>, <xref linkend="tcsh"/> and <xref linkend="gcc2"/></screen>
|
2002-08-10 10:42:59 +08:00
|
|
|
|
|
|
|
</sect2>
|