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

GCM fails to detect java binary under /usr/bin/java #72

Open
dragan224 opened this issue Jan 25, 2018 · 3 comments
Open

GCM fails to detect java binary under /usr/bin/java #72

dragan224 opened this issue Jan 25, 2018 · 3 comments
Labels
Milestone

Comments

@dragan224
Copy link

dragan224 commented Jan 25, 2018

root@dragan224-VirtualBox:~# git-credential-manager
/usr/bin/git-credential-manager: 2: /usr/bin/git-credential-manager: /bin/java: not found
root@dragan224-VirtualBox:~# which java
/usr/bin/java
root@dragan224-VirtualBox:~# 

Thanks.

@novak novak added the bug label Sep 17, 2018
@novak novak added this to the 2.0.5 milestone Sep 17, 2018
@conilas
Copy link

conilas commented Feb 26, 2019

any workarounds on this?

@tecandrew
Copy link

running into this after doing the ubuntu rpm workaround found here :(

@Jaben
Copy link

Jaben commented Jun 18, 2019

As a temporary workaround, creating a symbolic link worked for me:

sudo ln -s /usr/bin/java /bin/java

Also to fix the RPM issue, sudo apt-get install alien and use that instead:

sudo alien --install ${project.artifactId}-${project.version}-1.noarch.rpm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants