update on OpenOffice-3.0.1, JAVA, AMDE64

lux-integ lux-integ at btconnect.com
Sat Apr 25 14:01:49 PDT 2009


Greetings 

#######  thanks to all for suggestions.  Here is the updated state of play:

I downloaded jdk-6u13-linux-x64.bin  from the java sun website.  I had the old 
jdk-1_5_0_16-linux-amd64.bin  installed in /opt/jdk/jdk.  Here is my install 
sequence:-

################## install sequence of jdk
#uninstall old version of jdk
#mv -v /opt/jdk /opt/jdkOLD

cd  jdk-install
#ps  this directory   contains  the downloaded  jdk-6u13-linux-x64.bin
 
 cp -v jdk-6u13-linux-x64.bin jdk-mod.bin 
 chmod 755 jdk-mod.bin 
 sh  jdk-mod.bin

 cd jdk1.6.0_13 
install -v /opt/jdk
 install -v -d /opt/jdk/jdk-precompiled-1.6.0_13 
 mv -v * /opt/jdk/jdk-precompiled-1.6.0_13 
 chown -v -R root:root /opt/jdk/jdk-precompiled-1.6.0_13 



#post install conf
ln -v -nsf jdk-precompiled-1.6.0_13 /opt/jdk/jdk

cat > /etc/profile.d/30-jdk.sh << "EOF"
# Begin /etc/profile.d/jdk.sh
JAVA_HOME=/opt/jdk/jdk-precompiled-1.6.0_13
export JAVA_HOME

# Adjust PATH
export PATH="${PATH}:${JAVA_HOME}/bin"
# Auto Java Classpath Updating
# Create symlinks to this directory for auto classpath setting
AUTO_CLASSPATH_DIR=/usr/share/java
if [ -z ${CLASSPATH} ]; then
  CLASSPATH=.:${AUTO_CLASSPATH_DIR}
else
  CLASSPATH="${CLASSPATH}:.:${AUTO_CLASSPATH_DIR}"
fi
# Check for empty AUTO_CLASSPATH_DIR
ls ${AUTO_CLASSPATH_DIR}/*.jar &> /dev/null &&
for i in ${AUTO_CLASSPATH_DIR}/*.jar
  do CLASSPATH=${CLASSPATH}:"${i}"
done
export   CLASSPATH="$JAVA_HOME/lib:$CLASSPATH"
###################### end of install sequence for jdk


The above class path is modified from that which I used from the cblfs website 
for 1 build (~7 hours)  --with-java  in the configure script.    After update  
I then   tried another openoffice-3.0.1 compilation  --with-java in the 
configure script.  I left it cooking happily after  another ~7 hours.  This 
is what happened  (in both instances) at the end:-

*****************
making .dpslo
/OOO300_m15/forms/qa
Making dpj...


/opt/jdk/jdk/bin/javac -classpath ".:../unxlngx6.pro/class:/opt/jdk/jdk/jre/lib/rt.jar:.:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/ridl.jar:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/unoil.jar:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/jurt.jar:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/juh.jar:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/jut.jar:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/java_uno.jar:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/OOoRunner.jar:~/003Build/OOO300_m15/solver/300/unxlngx6.pro/bin/ConnectivityTools.jar" -d ../unxlngx6.pro/class  
@/tmp/mkL33DDo
integration/forms/TestCase.java:39: package complexlib does not exist
public abstract class TestCase extends complexlib.ComplexTestCase implements 
com.sun.star.lang.XEventListener

.......
........
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
dmake:  Error code 1, while 
making '../unxlngx6.pro/misc/FormIntegrationTest_dummy.java'

ERROR: Error 65280 occurred while making ~/003Build/OOO300_m15/forms/qa
rmdir /tmp/7577
dmake:  Error code 1, while making 'build_instsetoo_native'

******************

in otherwords same as before.


Suggstions welcomed

siincerely
lux-integ.



More information about the blfs-support mailing list