Changeset 9255931
- Timestamp:
- 01/25/2004 02:38:24 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/inkscape-core-mods, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 7426781
- Parents:
- 1fdbdb4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/jdk/j2sdk-config.xml
r1fdbdb4 r9255931 28 28 </sect3> 29 29 30 <sect3><title>Handling CLASSPATH</title> 31 32 <para>When compiling packages, the <envar>CLASSPATH</envar> environment variable 33 is used JDK to locate classes at compile-time and run-time. It is tedious to 34 add all the classes used to the <envar>CLASSPATH</envar> manually. You may add 35 the following lines to your shell startup file to set <envar>CLASSPATH</envar> 36 automatically to include all JAR files in a specified directory, which in 37 the example below is <filename>/usr/lib/auto-java-classpath</filename>.</para> 38 39 <screen><userinput>AUTO_CLASSPATH_DIR=/usr/lib/auto-java-classpath 40 if [ -z $CLASSPATH ] 41 then 42 CLASSPATH=.:$AUTO_CLASSPATH_DIR 43 else 44 CLASSPATH=$CLASSPATH:.:$AUTO_CLASSPATH_DIR 45 fi 46 for i in $(ls $AUTO_CLASSPATH_DIR/*.jar 2>/dev/null) 47 do 48 CLASSPATH=$CLASSPATH:$i 49 done</userinput></screen> 50 51 </sect3> 52 30 53 </sect2> 31 54 -
general/prog/jdk/j2sdk-inst.xml
r1fdbdb4 r9255931 7 7 <para>Installation of the precompiled <acronym>JDK</acronym> is easy, change 8 8 the executable bit for the downloaded file, change to the directory where you 9 want it installed and execute the downloaded file.</para> 9 want it installed and execute the downloaded file. The following (slightly 10 cryptic version) allows automatic installation.</para> 10 11 11 12 <screen><userinput><command>VERSION=&j2sdk-bin-version; && 12 13 MV=`echo $VERSION | cut -d "_" -f 1,1` && 13 14 V=`echo ${VERSION} | sed -e "s/\./_/g"` && 15 sed -i "s:^PATH=.*::" j2sdk-${V}-linux-i?86.bin && 14 16 chmod +x j2sdk-${V}-linux-i?86.bin && 15 ./j2sdk-${V}-linux-i?86.bin && 17 mkdir -p bin && 18 ln -sf /bin/true bin/more && 19 yes | PATH=$PWD/bin:$PATH ./j2sdk-${V}-linux-i?86.bin && 16 20 cd j2sdk${VERSION} && 17 21 install -d /opt/j2sdk/j2sdk-precompiled-${MV} && … … 28 32 export PATH=$PATH:${JAVA_HOME}/bin</command></userinput></screen> 29 33 30 <para>Unzip and patchthe source:</para>34 <para>Unzip the source:</para> 31 35 32 36 <screen><userinput><command>VERSION=&j2sdk-src-version; && … … 34 38 unzip j2sdk-${V}-src-scsl.zip && 35 39 unzip j2sdk-${V}-mozilla_headers-unix.zip && 36 patch -Np1 -i j2sdk-${VERSION}-gcc33-1.patch && 37 patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch && 38 patch -Np1 -i j2sdk-${VERSION}-link-missing-libs.patch && 39 patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch && 40 patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch && 41 patch -Np1 -i j2sdk-${VERSION}-motif-mkmsgcat.patch && 42 patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch</command></userinput></screen> 40 unzip j2sdk-${V}-bin-scsl.zip</command></userinput></screen> 43 41 44 <para>Set some variables which affect the build:</para> 42 <para>Apply all the patches downloaded above.</para> 43 44 <screen><userinput><command>for PATCH in fix-inline-asm-1 gcc3-1 motif-mkmsgcat \ 45 remove-debug-image remove-fixed-paths-1 \ 46 static_cxx 47 do 48 patch -Np1 -i j2sdk-1.4.2-$PATCH.patch && 49 done</command></userinput></screen> 50 51 <para>Set/unset some variables which affect the build:</para> 45 52 <screen><userinput><command>export ALT_BOOTDIR="$JAVA_HOME" && 46 53 unset JAVA_HOME && … … 56 63 export MAKE_VERBOSE=true && 57 64 export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</command></userinput></screen> 65 66 <warning><para>Setting CFLAGS/CXXFLAGS/LDFLAGS is guaranteed to make the build fail. 67 If you are interested in optimizing the build, set OTHER_CFLAGS/OTHER_CXXFLAGS/OTHER_LDFLAGS 68 instead.</para></warning> 58 69 59 70 <para>Additionally, if you would like to make in parallel, add the following -
general/prog/jdk/j2sdk-intro.xml
r1fdbdb4 r9255931 38 38 <listitem><para>Download (HTTP): <ulink 39 39 url="&j2sdk-download-http;"/></para></listitem> 40 <!-- 40 41 <listitem><para>Download (FTP): <ulink 41 42 url="&j2sdk-download-ftp;"/></para></listitem> 43 --> 42 44 <listitem><para>Version used (binary): 43 45 &j2sdk-bin-version;</para></listitem> … … 52 54 <sect3><title>Additional downloads</title> 53 55 <itemizedlist spacing='compact'> 54 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-fix-intl-files.patch"/></para></listitem> 55 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-gcc33-1.patch"/></para></listitem> 56 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-link-missing-libs.patch"/></para></listitem> 57 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-motif-mkmsgcat.patch"/></para></listitem> 58 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-remove-fixed-paths.patch"/></para></listitem> 59 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-syntax-fixes.patch"/></para></listitem> 60 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.1-use-included-motif.patch"/></para></listitem> 56 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-fix-inline-asm-1.patch"/></para></listitem> 57 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-gcc33-1.patch"/></para></listitem> 58 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-motif-mkmsgcat.patch"/></para></listitem> 59 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-remove-debug-image.patch"/></para></listitem> 60 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-remove-fixed-paths-1.patch"/></para></listitem> 61 <listitem><para><ulink url="&patch-root;/j2sdk-1.4.2-static_cxx.patch"/></para></listitem> 61 62 </itemizedlist> 62 63 </sect3> … … 66 67 <sect4><title>Required</title> 67 68 <para><xref linkend="xfree86"/>, <xref linkend="zip"/>, <xref 68 linkend="unzip"/>, <xref linkend="cpio"/>, and <xref linkend="tcsh"/> 69 linkend="unzip"/>, <xref linkend="cpio"/>, <xref linkend="alsa"/>, 70 and <xref linkend="tcsh"/> 69 71 </para></sect4> 70 72 </sect3> -
general/prog/jdk/j2sdk.ent
r1fdbdb4 r9255931 5 5 <!ENTITY j2sdk-config SYSTEM "j2sdk-config.xml"> 6 6 <!ENTITY j2sdk-desc SYSTEM "j2sdk-desc.xml"> 7 <!ENTITY j2sdk-bin-version "1.4.2_0 1">8 <!ENTITY j2sdk-src-version "1.4. 1">7 <!ENTITY j2sdk-bin-version "1.4.2_03"> 8 <!ENTITY j2sdk-src-version "1.4.2"> 9 9 <!ENTITY j2sdk-download-http "http://freshmeat.net/projects/sunjdk"> 10 10 <!ENTITY j2sdk-download-ftp ""> -
introduction/welcome/changelog.xml
r1fdbdb4 r9255931 12 12 <itemizedlist> 13 13 14 <listitem><para>January 24th, 2003 [igor]: Updated to 14 <listitem><para>January 24th, 2004 [tushar]: Updated to 15 j2sdk-1.4.2_03 (binary) and j2sdk-1.4.2.</para></listitem> 16 17 <listitem><para>January 24th, 2004 [igor]: Updated to 15 18 KDE-3.1.5.</para></listitem> 16 19 17 <listitem><para>January 23rd, 200 3[igor]: Updated to20 <listitem><para>January 23rd, 2004 [igor]: Updated to 18 21 XFce-4.0.3.1.</para></listitem> 19 22 20 <listitem><para>January 21st, 200 3[igor]: Updated to xine User23 <listitem><para>January 21st, 2004 [igor]: Updated to xine User 21 24 Interface-0.9.23.</para></listitem> 22 25 23 <listitem><para>January 20th, 200 3[igor]: Updated to xine26 <listitem><para>January 20th, 2004 [igor]: Updated to xine 24 27 Libraries-1-rc3a.</para></listitem> 25 28 26 <listitem><para>January 19th, 200 3[igor]: Updated to Audio29 <listitem><para>January 19th, 2004 [igor]: Updated to Audio 27 30 File-0.2.5.</para></listitem> 28 31 29 <listitem><para>January 18th, 200 3[igor]: Updated to32 <listitem><para>January 18th, 2004 [igor]: Updated to 30 33 libtiff-3.6.1.</para></listitem> 31 34 32 <listitem><para>January 17th, 200 3[igor]: Updated to35 <listitem><para>January 17th, 2004 [igor]: Updated to 33 36 lcms-1.12.</para></listitem> 34 37 35 <listitem><para>January 17th, 200 3[tushar]: Updated to38 <listitem><para>January 17th, 2004 [tushar]: Updated to 36 39 mozilla-1.6.</para></listitem> 37 40
Note:
See TracChangeset
for help on using the changeset viewer.