Issue 74906 - Build with Java 1.4 instead of Java 1.5
Summary: Build with Java 1.4 instead of Java 1.5
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: current
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: maho.nakata
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 11:56 UTC by shaunmcdonald131
Modified: 2009-04-25 04:21 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description shaunmcdonald131 2007-02-27 11:56:15 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.
Comment 2 maho.nakata 2009-04-25 04:21:34 UTC
jdk base line has been updated.
Comment 3 maho.nakata 2009-04-25 04:21:48 UTC
.