Apache OpenOffice (AOO) Bugzilla – Issue 74906
Build with Java 1.4 instead of Java 1.5
Last modified: 2009-04-25 04:21:48 UTC
We need to build with Java 1.4 instead of Java 1.5 so that we can support users who have not updated their OS to the latest verision of Java. The configure flag --with-jdk-home=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home should help. However this may not work is a user does not have the latest version of Java 1.4.2. An extra flag on the javac compile lines will be needed to force Java 1.4 compatibility through -target 1.4 and -source 1.4 This would need to be changed in all compile lines in all Makefiles that use Java. This change would be best done with a configure switch to select the version of Java to compile support for. From http://tools.openoffice.org/policies/java_usage.html the baseline for Java is Java 1.3.1. However Java 1.3.1 does not play too nicely on Mac Intel. Generally on the Mac, Java 1.4.2 is seen as a baseline.
http://wiki.services.openoffice.org/wiki/Compiler_versions_used_by_port_maintainers_and_release_engineers may need to be updated. Found at http://tools.openoffice.org/servlets/ReadMsg?list=jdk&msgNo=228
jdk base line has been updated.
.