Changeset 9255931 for general/prog/jdk/j2sdk-inst.xml
- Timestamp:
- 01/25/2004 02:38:24 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 7426781
- Parents:
- 1fdbdb4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.