wiki:jdk

Version 5 (modified by DJ Lucas, 14 years ago) ( diff )

--

JDK

If you are building JDK, KSH is necessary during the compile.

If your X Window System is installed anywhere other than /usr/X11R6, and you are building from JRL source:

Until the upstream source is fixed, you can use the following commands to modify the appropriate files without having the /usr/X11R6 compatibility symlink. Be sure to replace both instances of <$PREFIX> in the code block below with the appropriate path.

for file in `find . -name Makefile \
    -or -name Imakefile -or -name *.gmk`
do 
    sed -i 's@/usr/X11R6@<$PREFIX>@g' $file
done &&
sed -i 's@/usr/X11R6@<$PREFIX>@g' \
    j2se/src/solaris/native/sun/awt/fontpath.c \
    j2se/src/solaris/classes/sun/awt/motif/linux.fontconfig.Sun.properties \
    j2se/src/solaris/classes/sun/awt/motif/linux.fontconfig.RedHat.3.properties

If you use a timestamp based packager (install-log)

If you are using a package manager that logs installations such as install-log, you will need to touch each file after installation. Use the following commands:

for file in `find /opt/jdk/ -type f`
do
   touch $file
done

Up
Top

Note: See TracWiki for help on using the wiki.