Changeset 06aea651 for general/prog/jdk/j2sdk-inst.xml
- Timestamp:
- 09/26/2003 03:51:46 PM (21 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_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2082ebf6
- Parents:
- df5b04d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/jdk/j2sdk-inst.xml
rdf5b04d r06aea651 1 1 <sect2> 2 <title>Installation of j2sdk</title>2 <title>Installation of <application>J2SDK</application></title> 3 3 4 <para>Both versions will be installed in parallel. You may choose to keep either5 or both.</para>4 <para>Both versions will be installed in parallel. You may choose to keep 5 either or both.</para> 6 6 7 <para>Installation of the precompiled JDK is easy, change the executable bit for8 the downloaded file, change to the directory where you want it installed9 and execute the downloaded file.</para>7 <para>Installation of the precompiled <acronym>JDK</acronym> is easy, change 8 the executable bit for the downloaded file, change to the directory where you 9 want it installed and execute the downloaded file.</para> 10 10 11 < para><screen><userinput>VERSION=&j2sdk-bin-version; &&11 <screen><userinput><command>VERSION=&j2sdk-bin-version; && 12 12 MV=`echo $VERSION | cut -d "_" -f 1,1` && 13 13 V=`echo ${VERSION} | sed -e "s/\./_/g"` && … … 16 16 cd j2sdk${VERSION} && 17 17 install -d /opt/j2sdk/j2sdk-precompiled-${MV} && 18 mv * /opt/j2sdk/j2sdk-precompiled-${MV}</ userinput></screen></para>18 mv * /opt/j2sdk/j2sdk-precompiled-${MV}</command></userinput></screen> 19 19 20 20 <para>The binary version is now installed.</para> … … 23 23 section.</para> 24 24 25 <para>Add the recently compiled JDKto the path.</para>26 <screen><userinput> export JAVA_HOME=/opt/j2sdk/j2sdk-precompiled-${MV} &&27 export PATH=$PATH:${JAVA_HOME}/bin</ userinput></screen>25 <para>Add the recently compiled <acronym>JDK</acronym> to the path.</para> 26 <screen><userinput><command>export JAVA_HOME=/opt/j2sdk/j2sdk-precompiled-${MV} && 27 export PATH=$PATH:${JAVA_HOME}/bin</command></userinput></screen> 28 28 29 29 <para>Unzip and patch the source:</para> 30 30 31 < para><screen><userinput>VERSION=&j2sdk-src-version; &&31 <screen><userinput><command>VERSION=&j2sdk-src-version; && 32 32 V=`echo $VERSION | sed -e "s/\./_/g"` && 33 33 unzip j2sdk-${V}-src-scsl.zip && … … 38 38 patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch && 39 39 patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch && 40 patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch</ userinput></screen></para>40 patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch</command></userinput></screen> 41 41 42 42 <para>Set some vars which affect the build:</para> 43 < para><screen><userinput>export ALT_BOOTDIR="$JAVA_HOME" &&43 <screen><userinput><command>export ALT_BOOTDIR="$JAVA_HOME" && 44 44 unset JAVA_HOME && 45 45 unset CLASSPATH … … 53 53 export INSANE=true && 54 54 export MAKE_VERBOSE=true && 55 export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</ userinput></screen></para>55 export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts</command></userinput></screen> 56 56 57 <para>Additionally, if you would like to make in parallel, add the following (adjust58 <envar>MAKE_PARALLEL</envar> to your liking):</para>59 < para><screen><userinput>export HOTSPOT_BUILD_JOBS=$MAKE_PARALLEL</userinput></screen></para>57 <para>Additionally, if you would like to make in parallel, add the following 58 (adjust <envar>MAKE_PARALLEL</envar> to your liking):</para> 59 <screen><userinput><command>export HOTSPOT_BUILD_JOBS=$MAKE_PARALLEL</command></userinput></screen> 60 60 61 <para>The included motif doesn't build properly with the current glibc/xfree86. 62 A solution is to build the motif library before compiling the j2sdk. Note that 63 the motif build fails during the first run owing to some syntax error. The 64 brute force and easiest solution is to rerun the make command:)</para> 61 <para>The included <application>Motif</application> doesn't build properly with 62 the current <application>Glibc</application>/<application>XFree86 63 </application>. A solution is to build the <application>Motif</application> 64 library before compiling the <application>J2SDK</application>. Note that 65 the <application>Motif</application> build fails during the first run owing to 66 some syntax error. The brute force and easiest solution is to rerun the 67 <command>make</command> command:)</para> 65 68 66 < para><screen><userinput>cd motif/lib/Xm &&69 <screen><userinput><command>cd motif/lib/Xm && 67 70 make || make && 68 cd ../../..</ userinput></screen></para>71 cd ../../..</command></userinput></screen> 69 72 70 <para>Make and Install j2sdk with the following commands. There will be a lot of 71 messages about missing files that look like errors. As long as the build doesn't 72 stop, the messages are harmless, so ignore them.</para> 73 <para>Make and Install <application>J2SDK</application> with the following 74 commands. There will be a lot of messages about missing files that look like 75 errors. As long as the build doesn't stop, the messages are harmless, so ignore 76 them.</para> 73 77 74 < para><screen><userinput>cd control/make &&78 <screen><userinput><command>cd control/make && 75 79 make && 76 80 cd ../.. && 77 81 cd control/build/linux-i?86 && 78 cp -a j2sdk-image /opt/j2sdk/j2sdk-&j2sdk-src-version;</ userinput></screen></para>82 cp -a j2sdk-image /opt/j2sdk/j2sdk-&j2sdk-src-version;</command></userinput></screen> 79 83 80 84 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.