Changeset 1bf950c
- Timestamp:
- 01/30/2003 08:04:11 AM (22 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a40092c
- Parents:
- 860ca0e
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/j2sdk.xml
r860ca0e r1bf950c 1 <sect1 id="j2sdk" xreflabel="j2sdk-&j2sdk- version;">1 <sect1 id="j2sdk" xreflabel="j2sdk-&j2sdk-src-version;"> 2 2 <?dbhtml filename="j2sdk.html" dir="general"?> 3 <title>j2sdk-&j2sdk- version;</title>3 <title>j2sdk-&j2sdk-src-version;</title> 4 4 5 5 &j2sdk-intro; … … 7 7 &j2sdk-exp; 8 8 &j2sdk-config; 9 &cj2sdk-intro;10 &cj2sdk-inst;11 &cj2sdk-exp;12 &cj2sdk-config;13 9 &j2sdk-desc; 14 10 -
general/prog/jdk/j2sdk-config.xml
r860ca0e r1bf950c 2 2 <title>Configuring j2sdk</title> 3 3 4 <sect3><title>Config files</title> 5 <para><userinput>/etc/profile, ~/.bash_profile, ~/.profile, ~/.bashrc</userinput></para> 4 <sect3><title>Configuration Information</title> 5 6 <para>We have two Java 2 SDK's installed in /opt/j2sdk. Decide on which one you 7 would like to use as the default. For example if you decide to use the source 8 compiled j2sdk, do the following:</para> 9 10 <para><screen><userinput>ln -nsf j2sdk-&j2sdk-src-version; /opt/j2sdk/j2sdk 11 </userinput></screen></para> 12 13 <para>Add the following lines to your shell startup file (e.g. /etc/profile). 14 </para> 15 16 <para><screen><userinput>export JAVA_HOME=/opt/j2sdk/j2sdk 17 export PATH=$PATH:$JAVA_HOME/bin</userinput></screen></para> 18 19 <para>Add $JAVA_HOME/man to your MANPATH variable or to /etc/man.conf</para> 20 21 <para>The java plugin is in the directory <userinput>$JAVA_HOME/jre/plugin/i?86/ns610/</userinput>. 22 Make a symbolic link to the file in that directory from your plugins directory. 23 </para> 24 6 25 </sect3> 7 26 8 <sect3><title>Configuration Information</title>9 10 <para>Add the following lines to the appropriate file listed11 above.</para>12 13 <para><screen><userinput>export JAVA_HOME=<path to>/j2sdk&j2sdk-version;14 export PATH=$PATH:$JAVA_HOME/bin</userinput></screen></para>15 16 <para>You now have a java development environment installed on your17 machine, however it is compiled with a different library than the other18 programs which creates incompatabilities. Specifically, the plug-in19 will not work with browsers compiled on your machine.</para>20 21 <para>There is a solution if you are willing to accept the SUN COMMUNITY22 SOURCE LICENSE for the Java 2 Platform Standard Edition. Note that you23 are not allowed to distribute the resulting JDK/JRE and you also cannot24 use the resulting JDK to compile programs for distribution unless they25 pass Sun's compatiblity tests. In short don't use the resulting JDK26 except for your personal use.</para>27 </sect3>28 27 </sect2> 29 28 -
general/prog/jdk/j2sdk-exp.xml
r860ca0e r1bf950c 2 2 <title>Command explanations</title> 3 3 4 <para><userinput> chmod 711 j2sdk*.bin :</userinput> Makes the downloaded bin file executible.</para>4 <para><userinput>T=`grep...:</userinput> Determines the part where the tarfile begins in the self extracting archive.</para> 5 5 6 <para><userinput>cp ../libstdc++-libc6.1-1.so.2 j2sdk&j2sdk-version;/jre/lib/i386 :</userinput> Puts the linked gcc2 library where java can find it.</para> 6 <para><userinput>export ALT_BOOTDIR="$JAVA_HOME" :</userinput> This 7 var sets location of the bootstrap JDK. 8 </para> 9 10 <para><userinput>export ALT_MOZILLA_PATH=$PWD :</userinput> This sets the 11 variable that points to where you unzipped the mozilla headers.</para> 12 13 <para><userinput>export ALT_DEVTOOLS_PATH="/usr/bin" :</userinput> This 14 changes the location where the build finds the needed executables. 15 </para> 16 17 <para><userinput>export BUILD_NUMBER="blfs-`date +%s`" :</userinput> This will 18 help you identify this compiled version of the runtime environment and 19 virtual machine by appending this information to the version in the 20 output to "java -version".</para> 21 22 <para><userinput>export DEV_ONLY=true :</userinput> This command 23 eliminates compiling the documentation and eliminates a dependency for 24 rpm. </para> 25 26 <para><userinput>unset JAVA_HOME :</userinput> This clears the JAVA_HOME 27 variable and prevents misdirection during compile.</para> 28 29 <para><userinput>unset CLASSPATH :</userinput> This clears the CLASSPATH 30 variable and prevents misdirection during compile.</para> 31 32 <para><userinput>unset CFLAGS... :</userinput> These flags cause miscompilation 33 of the build. Never set these. 34 </para> 35 36 <para><userinput>export INSANE=true:</userinput> Unless you specify that you 37 are insane the build will not proceed. The certified platform for the build is 38 Redhat 6.1. The above variable ensures that all the errors related to 39 compiling on a non-certifiedi platform will be converted to warnings.</para> 40 41 <para><userinput>export MAKE_VERBOSE=true:</userinput> Allows the current 42 compilation command to be displayed on the console.</para> 43 44 <para><userinput>export ALT_CACERTS_FILE...: </userinput> Specifies the certificate 45 file to use.</para> 7 46 8 47 </sect2> -
general/prog/jdk/j2sdk-inst.xml
r860ca0e r1bf950c 2 2 <title>Installation of j2sdk</title> 3 3 4 <para>Before installing j2sdk, you need to 5 download <filename>libstdc++-libc6.1-1.so.2.bz2</filename> 6 from <ulink url="&ffile-root;"/> and decompress it 7 to your source directory.</para> 4 <para>Both versions will be installed in parallel. You may choose to keep either 5 or both.</para> 8 6 9 <para>Install j2sdk by running the following commands:</para>7 <para>Install the binary version of the jdk by running the following commands:</para> 10 8 11 <para><screen><userinput>mkdir java && 12 mv j2sdk*.bin java && 13 cd java && 14 chmod 711 j2sdk*.bin && 15 ./j2sdk*.bin && 16 mv j2sdk*.bin .. && 17 cp ../libstdc++-libc6.1-1.so.2 j2sdk&j2sdk-version;/jre/lib/i386</userinput></screen></para> 9 <para><screen><userinput> 10 VERSION=&j2sdk-bin-version && 11 MV=`echo $VERSION | cut -d "_" -f 1,1` && 12 V=`echo ${VERSION} | sed -e "s/\./_/g"` && 13 T=`grep -a tail j2sdk-${V}-linux-i?86.bin | cut -f 2 -d " "` && 14 tail $T j2sdk-${V}-linux-i?86.bin > install.sfx.$$ && 15 chmod +x install.sfx.$$ && 16 ./install.sfx.$$ && 17 cd j2sdk${VERSION} && 18 install -d /opt/j2sdk/j2sdk-precompiled-${MV} && 19 mv * /opt/j2sdk/j2sdk-precompiled-${MV} 20 </userinput></screen></para> 18 21 19 <para>T est the installation with the following commands:</para>22 <para>The binary version is now installed.</para> 20 23 21 <para> <screen><userinput>export JAVA_HOME=$PWD/j2sdk&j2sdk-version; &&22 j2sdk&j2sdk-version;/jre/bin/java -version</userinput></screen></para>24 <para>If you don't want to compile the source, skip ahead to the configuration 25 section.</para> 23 26 24 <para> If you get a version line, a description of the runtime25 environment and a desrciption of the client VM (virtual machine), you are ready 26 to go.</para>27 <para>Add the recently compiled JDK to the path.</para> 28 <screen><userinput>export JAVA_HOME=/opt/j2sdk/j2sdk-precompiled-${MV} && 29 export PATH=$PATH:${JAVA_HOME}/bin</userinput></screen> 27 30 28 <para>If you are not going to compile java from scratch, move the java 29 tree to <filename>/opt</filename>:</para> 31 <para>Unzip and patch the source:</para> 30 32 31 <para><screen><userinput>mv j2sdk&j2sdk-version; /opt/java</userinput></screen></para> 33 <para><screen><userinput> 34 VERSION=&j2sdk-src-version && 35 V=`echo $VERSION | sed -e "s/\./_/g"` && 36 unzip j2sdk-${V}-src-scsl.zip && 37 unzip j2sdk-${V}-mozilla_headers-unix.zip && 38 patch -Np1 -i j2sdk-${VERSION}-fix-intl-files.patch && 39 patch -Np1 -i j2sdk-${VERSION}-link-missing-libs.patch && 40 patch -Np1 -i j2sdk-${VERSION}-remove-fixed-paths.patch && 41 patch -Np1 -i j2sdk-${VERSION}-syntax-fixes.patch && 42 patch -Np1 -i j2sdk-${VERSION}-use-included-motif.patch 43 </userinput></screen></para> 44 45 <para>Set some vars which affect the build:</para> 46 <para><screen><userinput> 47 export ALT_BOOTDIR="$JAVA_HOME" && 48 unset JAVA_HOME && 49 unset CLASSPATH && 50 unset CFLAGS && 51 unset CXXFLAGS && 52 unset LDFLAGS && 53 export ALT_DEVTOOLS_PATH="/usr/bin" && 54 export BUILD_NUMBER="blfs-`date +%s`" && 55 export DEV_ONLY=true && 56 export ALT_MOZILLA_PATH=$PWD && 57 export INSANE=true && 58 export MAKE_VERBOSE=true && 59 export ALT_CACERTS_FILE=${ALT_BOOTDIR}/jre/lib/security/cacerts 60 </userinput></screen></para> 61 62 <para>Make and Install j2sdk with the following commands:</para> 63 64 <para><screen><userinput> 65 cd control/make && 66 make && 67 cd ../.. && 68 cd control/build/linux-i?86 && 69 cp -a j2sdk-image /opt/java/j2sdk-&j2sdk-src-version; && 70 </userinput></screen></para> 71 32 72 </sect2> 33 73 -
general/prog/jdk/j2sdk-intro.xml
r860ca0e r1bf950c 1 1 <sect2> 2 <title>Introduction to j2sdk (binary version)</title>2 <title>Introduction to j2sdk</title> 3 3 4 4 <screen>Download location (HTTP): <ulink url="&j2sdk-download-http;"/> 5 Download location (FTP): <ulink url="&j2sdk-download-ftp;"/> 6 Version used: &j2sdk-version; 7 Package size: &j2sdk-size; 8 Estimated Disk space required: &j2sdk-buildsize;</screen> 5 Version used (binary): &j2sdk-bin-version; 6 Version used (source): &j2sdk-src-version; 7 Package size (binary): &j2sdk-bin-size; 8 Package size (source): &j2sdk-src-size; 9 Estimated Disk space required: &j2sdk-src-buildsize;</screen> 9 10 10 <para>The j2sdk package contains Sun's java development environment - 11 precompiled. This is needed to fulfull the circular dependency when we 12 compile java.</para> 11 <para>The j2sdk package contains Sun's java development environment. 12 This is useful for developing java programs and provides the runtime 13 environment necessary to run java programs. It also includes a plug-in 14 for browsers so that they can be java aware.</para> 13 15 16 <para> 17 The JDK comes in two flavors, a precompiled binary and a source package. The 18 precompiled binary is linked against gcc2 libraries. Due to the incompatibilities 19 between gcc2 and gcc3, the precompiled java plugin causes problems when gcc3 20 compiled packages (for example mozilla) try to load the java plugin. 21 The source package requires registration at the Sun developer site and accepting 22 the Sun Community Source License. 23 The source code cannot be downloaded from some countries, so for users 24 from those countries, the binary may be the only option. 25 </para> 26 27 <para>Even if you plan on compiling the jdk source, you will need to download 28 the binary version to bootstrap the jdk build. 29 Follow the above link to download both source and binary packages. When 30 downloading the source also download the mozilla headers package available at 31 the same location. 32 </para> 33 34 <para>Download the patches for j2sdk source from <ulink url="&ffile-root;"/> 35 </para> 36 37 <para>If you have difficulties in building the jdk, check out the javafromscratch 38 hint for detailed information at <ulink url="http://www.linuxfromscratch.org/~tushar/"/>. 39 </para> 40 41 <screen>j2sdk depends on: 42 <xref linkend="xfree86"/>, <xref linkend="zip"/>, <xref linkend="unzip"/>, <xref linkend="cpio"/>, <xref linkend="tcsh"/>, gcc2-lib</screen> 14 43 15 44 </sect2> -
general/prog/jdk/j2sdk.ent
r860ca0e r1bf950c 5 5 <!ENTITY j2sdk-desc SYSTEM "j2sdk-desc.xml"> 6 6 <!ENTITY j2sdk-config SYSTEM "j2sdk-config.xml"> 7 <!ENTITY j2sdk-buildsize "82 MB"> 8 <!ENTITY j2sdk-version "1.4.0_01"> 7 <!ENTITY j2sdk-bin-size "59 MB"> 8 <!ENTITY j2sdk-src-buildsize "1186 MB"> 9 <!ENTITY j2sdk-src-size "77 MB"> 10 <!ENTITY j2sdk-bin-version "1.4.1_01"> 11 <!ENTITY j2sdk-src-version "1.4.1"> 9 12 <!ENTITY j2sdk-download-http "http://freshmeat.net/projects/sunjdk"> 10 <!ENTITY j2sdk-download-ftp "">11 <!ENTITY j2sdk-size "39.8 MB">12 <!ENTITY cj2sdk-intro SYSTEM "compiled-j2sdk-intro.xml">13 <!ENTITY cj2sdk-inst SYSTEM "compiled-j2sdk-inst.xml">14 <!ENTITY cj2sdk-exp SYSTEM "compiled-j2sdk-exp.xml">15 <!ENTITY cj2sdk-config SYSTEM "compiled-j2sdk-config.xml">16 <!ENTITY cj2sdk-buildsize "1186 MB">17 <!ENTITY cj2sdk-version "1.4.0">18 <!ENTITY cj2sdk-download-http "http://wwws.sun.com/software/java2/download.html">19 <!ENTITY cj2sdk-download-ftp "">20 <!ENTITY cj2sdk-size "52.2 MB">21 13 22 14 -
index.xml
r860ca0e r1bf950c 3 3 "/usr/share/docbook/docbookx.dtd" [ 4 4 5 <!ENTITY version "200301 29">6 <!ENTITY releasedate "January 29th, 2003">5 <!ENTITY version "20030130"> 6 <!ENTITY releasedate "January 30th, 2003"> 7 7 8 8 <!ENTITY % book SYSTEM "book/book.ent"> -
introduction/welcome/changelog.xml
r860ca0e r1bf950c 10 10 11 11 <itemizedlist> 12 13 <listitem><para>January 30th, 2003 [tushar]: j2sdk: Updated to j2sdk-1.4.1 and 14 merged two instructions. 15 </para></listitem> 12 16 13 17 <listitem><para>January 29th, 2003 [bdubbs]: rc scripts: fixed
Note:
See TracChangeset
for help on using the changeset viewer.