source: general/prog/jdk/compiled-j2sdk-exp.xml@ 74c1100

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
Last change on this file since 74c1100 was 74c1100, checked in by Larry Lawrence <larry@…>, 22 years ago

added j2sdk

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@83 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<sect2>
2<title>Command explanations</title>
3
4<para><userinput>export JAVA_HOME=$PWD/j2sdk&j2sdk-version; :</userinput>
5This command sets the location of the working java.</para>
6
7<para><userinput>export ALT_BOOTDIR="$JAVA_HOME" :</userinput> This
8command set the compiler variable that will execute the java compiler
9when needed during make.</para>
10
11<para><userinput>export ALT_MOTIF_DIR=$SRC :</userinput> This sets the
12variable that points to where you unzipped the motif headers.</para>
13
14<para><userinput>export ALT_MOZILLA_PATH=$SRC :</userinput> This sets the
15variable that points to where you unzipped the mozilla headers.</para>
16
17<para><userinput>export ALT_DEVTOOLS_PATH="/usr/bin" :</userinput> This
18changes the default to the correct value.</para>
19
20<para><userinput>export ALT_MILESTONE="blfscompiled" :</userinput> This
21will help you identify this compiled version of java by appending this
22to the version in the output to "java -version".</para>
23
24<para><userinput>export BUILD_NUMBER='date +%s' :</userinput> This will
25help you identify this compiled version of the runtime environment and
26virtual machine by appending this information to the version in the
27output to "java -version"."</para>
28
29<para><userinput>export DEV_ONLY=true :</userinput> This command
30eliminates compiling the documentation and eliminates a dependency for
31rpm. </para>
32
33<para><userinput>export OTHER_LDFLAGS="-lpthread" :</userinput> This
34command corrects compiling errors related to the pthread variables. </para>
35
36<para><userinput>unset JAVA_HOME :</userinput> This clears the JAVA_HOME
37variable and prevents misdirection during compile.</para>
38
39<para><userinput>unset CLASSPATH :</userinput> This clears the CLASSPATH
40variable and prevents misdirection during compile.</para>
41
42<para><userinput>export OTHER_CFLAGS=${CFLAGS} :</userinput> This makes
43j2sdk compile using our CFLAGS for optimizations.</para>
44
45<para><userinput>export OTHER_CXXFLAGS=${CXXFLAGS} :</userinput> This
46makes j2sdk compile using our CXXFLAGS for optimizations.</para>
47
48<para><userinput>unset CFLAGS :</userinput> Now that the optimizations
49are loaded, this clears the variable.</para>
50
51<para><userinput>unset CXXFLAGS :</userinput> Now that the optimizations
52are loaded, this clears the variable.</para>
53
54
55</sect2>
56
Note: See TracBrowser for help on using the repository browser.