Java For Mac Os 10.4

Автор:

Table of Contents

SoyLatte Project Goals

Here is how one goes about upgrading to 10.4 in more detail. Offers the most current Java for 10.4, and thus the most current Java you can run concurrently with Mac OS 9's Classic running in the background. If you need a more current Java, see this tip on 10.5 & 10.6 Java versions, and this tip about upgrading to 10.5. Note if your Apple menu - About This Mac says you have an Intel processor, you can upgrade to 10.6.8 for less than 10.5 through 10.5.8. Apple released J2SE 5.0 Release 4 on Tuesday, an update for Mac OS X 10.4.5 Tiger users. According to notes provided with the update the release delivers improved reliability and compatibility for.

  • Support for Java 6 Development on Mac OS X 10.5 and later (including Mac OS X 10.7 Lion)
  • OpenJDK support for Java 7 on Mac OS X
  • On-time release of Java 7 for Mac OS X

Update - January 10th, 2010

The official Mac OS X OpenJDK7 project has been established!

Introduction

SoyLatte is a functional, X11-based port of the FreeBSD Java 1.6 patchset to Mac OS X Intel machines. SoyLatte is initially focused on supporting Java 6 development; however, the long-term view far more captivating: open development of Java 7 for Mac OS X, with a release available in concert with the official Sun release, supported on all recent versions of Mac OS X.

Soylatte is now officially a part of the OpenJDK BSD-Port project, representing the culmination of work by Greg Lewis, Kurt Miller, Dalibor Topic, and myself. All future development on OpenJDK 7 for Mac OS X will be coordinated as part of OpenJDK, and future releases of Soylatte will be based on OpenJDK 6.

The name 'SoyLatte' was chosen to clearly differentiate from Sun's trademarks -- Red Hat has already claimed IcedTea, and I drank a lot of double soy lattes while working on this (I think it's funny).

Download

License

You must be a licensee in good standing under the Java Research License to download JRL-licensed releases. To ensure compliance, downloading requires authentication:

  • Username: 'jrl'
  • Password: 'I am a Licensee in good standing'

OpenJDK releases are provided under the GPLv2 and GPLv2+CP licenses, and no authentication is required.

Source

  • Mercurial Development Branch: http://hg.bikemonkey.org/javasrc_1_6_jrl_darwin/.
  • Mercurial Stable Branch: http://hg.bikemonkey.org/javasrc_1_6_jrl_darwin_stable/.

The current release tag is jdk6_1.0.3

By downloading these binaries or source code, you certify that you are a Licensee in good standing under the Java Research License of the Java 2 SDK, and that your access, use, and distribution of code and information you may obtain at this site is subject to the License. Please review the license at http://java.net/jrl.csp.

Binaries

Binaries are available for Mac OS X 10.4 and 10.5. The soylatte directory can be placed anywhere on your system -- I chose /usr/local/soylatte16-amd64. Like other Java platforms, setting the JAVA_HOME and PATH environmental variables to point at this location will work as expected.

To provide a JRL 'click-through' agreement, authentication is required to download these binaries. Username 'jrl', Password 'I am a Licensee in good standing'.

  • 32-bit JDK for Mac OS X 10.4 and 10.5: soylatte16-i386-1.0.3.tar.bz2 (sig)
  • 64-bit JDK for Mac OS X 10.5: soylatte16-amd64-1.0.3.tar.bz2 (sig)
  • 32-bit OpenJDK 6 Beta 1 for Mac OS X 10.4 and 10.5 Intel(Beta Release): openjdk6-b16-24_apr_2009-r1.tar.bz2 (sig)
  • 32-bit OpenJDK 7 Beta 1 for Mac OS X 10.5 PowerPC(Beta Release): openjdk7-macppc-2009-12-16-b4.tar.bz2 (sig)

SoyLatte legacy binaries are based on the BSD Port of Sun's Java 6 JDK, and are made available under the Java Research License. JDK and Java are trademarks of Sun. While SoyLatte is a port of Java, it is not Sun's Java, JDK, or OpenJDK. SoyLatte is made available under the JRL.

By downloading these binaries or source code, you certify that you are a Licensee in good standing under the Java Research License of the Java 2 SDK, and that your access, use, and distribution of code and information you may obtain at this site is subject to the License. Outline in word not working. Please review the license at http://java.net/jrl.csp.

OpenJDK binaries are based on the bsd-port OpenJDK project, and are made available under the GPLv2 with Class Path Exception.

Building

Due to bugs in 10.4's compiler, building the sources currently requires a Mac OS X 10.5 machine.

OpenMotif is the only required dependency. I installed OpenMotif using MacPorts -- if you install it using Fink, or manually, you must modify the ALT_MOTIF_DIR build setting.

To build the 32-bit JDK:

The following additional make options are available:

  • BSD_OVERRIDE_ARCH: Set to amd64 to build the 64-bit JVM
  • DARWIN_SDK: Set to target a specific Mac OS X SDK

To target Tiger, set the MACOSX_DEPLOYMENT_TARGET environmental variable to '10.4', and pass DARWIN_SDK=/Developer/SDKs/MacOSX10.4u.sdk as a make flag.

Usage

Installation

To install, place the jdk directory anywhere on your file system. I chose /usr/local/soylatte16-amd64

Command Line

To use the new JDK with tools like Apache Ant, set the JAVA_HOME environment variable to the full path of your soylatte installation (eg, /usr/local/soylatte16-amd64).

To ensure that the Soylatte binaries are preferred over the system's 1.5 installation, add the installation directory to your PATH (eg, export PATH=/usr/local/soylatte16-amd64/bin:$PATH)

Eclipse

SoyLatte can be added as an Apple JVM to your Eclipse configuration. There may be some issues with this work around, see Michael Allman's patch to allow 'Standard VMs', attached to Eclipse Bug 211648

Netbeans

On Mac OS X, Netbeans expects all JVMs to be located in the /System/Library/Frameworks/JavaVM.framework directory. Users have reported success in symlinking /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home to the SoyLatte directory.

Contributing

The SoyLatte work is now a part of OpenJDK, via the OpenJDK BSD-Port project. Sony vaio bluetooth mouse vgp bms21 drivers for mac pro. Please consider joining the mailing list, building and testing the JDK, and sending in your bug reports and patches.