![eclipse for mac 10.4 eclipse for mac 10.4](https://i.stack.imgur.com/84k4n.png)
When creating a Java project, Eclipse prompts for the desired JRE version in the new project dialog box.
![eclipse for mac 10.4 eclipse for mac 10.4](https://mac-cdn.softpedia.com/screenshots/Solar-Eclipse-Maestro_3.jpg)
Eclipse can be used to develop for multiple Java versions. This brings us to Eclipse, the Java development environment. The output of java_home is intended to be assigned to the JAVA_HOME environment variable in a shell initialization script (like. By default, java_home just returns the home value appropriate based on the selection in the Java Preferences utility, but command line arguments can request different versions (see the manual page linked earlier). To support this, Apple introduced a new utility called /usr/libexec/java_home. Also, some scripts might require different versions of Java. Some command line scripts expect the JAVA_HOME environment variable to be set to the directory that contains the Java distribution being used. Mac OS X 10.6 (Snow Leopard) appears to include only Java SE 6, but includes both 32 and 64-bit versions, so it should allow Java 1.6 to be run on the oldest Intel Macs (no PPC because Snow Leopard does not support PPC). The Java Preferences application will change around symlinks to correspond to your new choices. So to default to using Java 1.6 for everything, you can just drag Java SE 6 to the top of both the application and applet lists. There you can drag the Java versions into any order you wish for both applications and applets. To make Java 1.6 the default Java execution environment, run the Java Preferences application (found in the Utilities subfolder of the Applications folder). This meant no Java 1.6 support on Mac OS X 10.4, no support for PowerPC systems, and no support on the early 32-bit Intel Macs released in 2006. Unfortunately, this release has some limitations: it only runs in 64-bit mode and only on Mac OS X 10.5 (Leopard).
#ECLIPSE FOR MAC 10.4 FOR MAC OS X#
Mac OS X lagged behind for some time on adopting Java 1.6, but it was finally released as Java for Mac OS X 10.5 Update 1. These are some notes on using Java 1.6 on Mac OS X with Eclipse.