Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #32 from Microsoft/java7_on_osx_10.11
Browse files Browse the repository at this point in the history
Remove support for Java 7 on Mac OS X 10.11 and up
  • Loading branch information
olivierdagenais committed Mar 17, 2016
2 parents cf9f524 + bdd4e1d commit 76cdb89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions templates/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ This document explains how to obtain the Git Credential Manager for Mac and Linu

Great care was taken to avoid using any features of Java that would impact compatibility with Java 6. Unfortunately, at this time, only the JavaFX-based browser is available, which excludes Java 6. If you find a compatibility issue, please report it and provide as many details about your platform as necessary to reproduce the problem.

1. Mac OS X version 10.9.5 and up OR a GNU/Linux distribution with a desktop environment.
2. Oracle Java 7 Update 6 and up, Oracle Java 8, or OpenJDK with OpenJFX.
3. Git version 1.9 and up.
| Operating System | Minimum Java version | Minimum Git version | Notes |
|------------------|----------------------|---------------------|-------|
| Mac OS X 10.9.5 - 10.10 | Oracle Java 7 Update 6 | 1.9 | |
| Mac OS X 10.11 and up | Oracle Java 8 | 1.9 | It looks like [Java FX from Oracle Java 7 is broken on Mac OS X 10.11](http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8143907). |
| GNU/Linux | Oracle Java 8 <br /> - or - <br /> OpenJDK 8 [with OpenJFX](https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX) | 1.9 | You need a desktop environment, such as Gnome or KDE. |


## How to install
Expand Down
3 changes: 2 additions & 1 deletion templates/git-credential-manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ class GitCredentialManager < Formula

bottle :unneeded

depends_on :java => "1.7+"
depends_on :java => "1.8+" if MacOS.version >= :el_capitan
depends_on :java => "1.7+" unless MacOS.version >= :el_capitan

def install
libexec.install "git-credential-manager-#{version}.jar"
Expand Down

0 comments on commit 76cdb89

Please sign in to comment.