Comments (6)
You probably hit this issue: microsoft/oauth2-useragent#8
Any chance you can upgrade to JDK 8?
from git-credential-manager-for-mac-and-linux.
That looks likely, thanks for the reference!
It looks like the command line thinks it's java version "1.7.0_71"
but the control panel believes I have Java 8 update 111. I'm investigating how to reconcile the command line version with the control panel version.
Update: Read that specifically installing the JDK may be required, will report back.
Installing from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Specifically Mac OS X 227.39 MB jdk-8u111-macosx-x64.dmg
from git-credential-manager-for-mac-and-linux.
Most likely you installed GCM4ML when your java version was 1.7.0_71, and upgraded to java 8 v111 at a later time.
You can either modify your ~/.gitconfig file directly to use the latest jvm,
or run:
java -jar /usr/local/Cellar/git-credential-manager/1.3.0/libexec/git-credential-manager-1.3.0.jar install
to reinstall with latest java. Just make sure you are using latest jvm in your terminal first by verifying your java home and java executable version.
from git-credential-manager-for-mac-and-linux.
Excellent pointers!
I installed the SE above, which got my command line environment in line.
I used java -version
to figure out the exact version:
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
I used /usr/libexec/java_home -v 1.8
to determine the home directory for that version
/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home
and finally, I updated my ~/.gitconfig config file to point at the new version.
From
[credential]
helper = !/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/bin/java -Ddebug=false -jar /usr/local/Cellar/git-credential-manager/1.3.0/libexec/git-credential-manager-1.3.0.jar
to
[credential]
helper = !/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/bin/java -Ddebug=false -jar /usr/local/Cellar/git-credential-manager/1.3.0/libexec/git-credential-manager-1.3.0.jar
After that, my git pull showed the windows appropriately, and I was able to log in with my VSTS credentials.
Thanks much for the help!
from git-credential-manager-for-mac-and-linux.
I believe this issue is now resolved. Thank you.
from git-credential-manager-for-mac-and-linux.
Glad you got it resolved!
from git-credential-manager-for-mac-and-linux.
Related Issues (20)
- Ubuntu believes required packages are unused
- Java is Required for 'brew install' HOT 2
- Doesn't work with Linux Mint 19 Tara HOT 2
- Why do i need java to install a simple tool. HOT 4
- Unable to authenticate with GoDaddy managed Office 365 account
- Support for mainstream package managers.
- Fails when connected over SSH
- fatal: Authentication failed with GKR-message: received an invalid, unencryptable, or non-utf8 secret
- Secure storage unavailable on Ubuntu 18.04? HOT 19
- Web browser window doesn't open
- Fatal: java.lang.ExceptionInInitializerError encountered
- Cannot clone a repo - blank HOT 1
- Xcode Error When Installing From Brew HOT 1
- Better macOS support: GCM Core
- git-credential-manager on linux failed to get token HOT 1
- "gnome-keyring library not loadedjava.lang.UnsatisfiedLinkError: Unable to load library 'gnome-keyring': Native library (linux-x86-64/libgnome-keyring.so) not found in resource path" on Azure notebook. HOT 3
- support XDG Base Directory Specification
- Can't run credential manager with latest Mac updates
- YBS HOT 1
- Ios
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-credential-manager-for-mac-and-linux.