doctorpangloss
4fd4dca16a
Add GraalVM detection and make this JVM name check a bajillion times more sane
7 years ago
doctorpangloss
b448d59d9f
Ignore .time files
7 years ago
doctorpangloss
16f01d2e18
Update license to include copyrights from other contributors
7 years ago
doctorpangloss
d3fd842450
Do not imply version discovery
7 years ago
doctorpangloss
44a6394f4d
Set launchdaemon plist
7 years ago
doctorpangloss
2be276c3a6
Updating README and fixing jenv-add
7 years ago
doctorpangloss
58dcd3d7a8
.gitignore common Java and editor files
7 years ago
doctorpangloss
c73b47728d
Merge branch 'LIttleAncientForestKami-zulu'
7 years ago
doctorpangloss
cca5535ee0
Merge branch 'zulu' of git://github.com/LIttleAncientForestKami/jenv into LIttleAncientForestKami-zulu
...
- Fixes the whitespace in the jenv-add file to be much more readable
7 years ago
Benjamin Berman
f97c5252c9
Merge pull request #6 from mengbo/patch-1
...
Fix shell version when invoked from a script
7 years ago
Benjamin Berman
df8f6706c7
Merge pull request #5 from twlz0ne/add-fish-shell-support
...
Add fish shell support
7 years ago
Benjamin Berman
fb9315f301
Merge pull request #4 from vinny2020/fix/readme-bad-parameter
...
fixed incorrect 'j' typo for jenv shell command
7 years ago
Benjamin Berman
4145ccdcda
Merge pull request #3 from apapanico/patch-1
...
Fix redundant alias in new Java versions
7 years ago
Benjamin Berman
2e857ddd62
Merge pull request #2 from fbiville/issue_160
...
Support with space-containing path
7 years ago
Benjamin Berman
fc2f3b72d3
Merge pull request #1 from az82/master
...
Merge az82 fix: zsh completion fixed
7 years ago
Gong Qijian
cdb62a8b37
Add fish shell support
7 years ago
Florent Biville
0617e57fd7
Support with space-containing path
...
Fixes #160 .
7 years ago
Vincent Stoessel
7f7a3d852f
fixed incorrect 'j' typo for jenv shell command
7 years ago
apapanico
8530c19e6c
Fix redundant alias in new Java versions
...
It seems that newer versions of Java go away from the 1.X.X version format. Perhaps a new version parser is needed but this fixes a current issue where JAVA_SHORTVERSION and JAVA_VERSION are equal and jenv tries to add the version alias twice.
7 years ago
Meng Bo
676cc8a82f
Fix shell version when invoked from a script
...
When invoked from a shell script, `$(jenv init -)` did not get theshell name correct.
These code is get from rbenv.
8 years ago
Andreas Zitzelsberger
b336ebfbd4
zsh completion fixed
8 years ago
madumlao
ab64b81132
Fix shell detection code to use upstream detection
...
Shell detection using $SHELL variable breaks in the case of
for example X sessions which are started with bash when the user
has a different shell session set. The fix applies the rbenv
code for shell detection which is more exhaustive.
8 years ago
madumlao
ed0e5c8f16
Merge branch 'master' of github.com:madumlao/jenv
8 years ago
Kai Weber
6a71912fe6
Don't run jenv javahome twice
...
The second call to "jenv javahome" to set JDK_HOME is unnecessary. It
adds 60ms on my system.
8 years ago
Gildas Cuisinier
d8a8a70ab3
#128 Manage JDK_HOME In addition to JAVA_HOME
8 years ago
madumlao
e77ec3a183
Add gitignore
8 years ago
madumlao
dceefcd9ca
Set zsh emulation before running zsh-specific init.
...
Some users prefer to unify their bash and zsh profile variables by having .zprofile reference .profile as follows:
> emulate bash
> . $HOME/.profile
> emulate zsh
This causes export_jenv_hook to fail with "unknown condition: -z" as apparently the if clause uses zsh specific syntax.
This commit forces 'emulate zsh' before executing the zsh init, then returns the emulation settings after the zsh commands.
8 years ago
Gildas Cuisinier
a8e674d507
#181 Support --skip-existing in jenv-add
8 years ago
Dale Wijnand
7b08724979
Fix code block in README for export plugin
8 years ago
杨博 (Yang Bo)
4cc4346133
Fix #160
8 years ago
Kai Weber
fb068a2e99
Don't run jenv javahome twice
...
The second call to "jenv javahome" to set JDK_HOME is unnecessary. It
adds 60ms on my system.
8 years ago
Gildas Cuisinier
d991dc59fb
update version to 0.4.4
8 years ago
Gildas Cuisinier
d1bc6fd637
#128 Manage JDK_HOME In addition to JAVA_HOME
8 years ago
Thurston Sandberg
0787be1b5b
fixed --unset for global-options
8 years ago
Gildas Cuisinier
c0e821f5be
Document jenv export plugin
8 years ago
Tomasz "LAFK_pl" Borek
02ed7b3804
Zulu provider now recognized aside from OpenJDK.
...
Reasons for distinction are nicely illustrated by Azul's CTO, Gil Tene:
https://groups.google.com/forum/#!topic/mechanical-sympathy/jQGahuzJKM4
https://news.ycombinator.com/item?id=8496003
And on Support forum for Zulu:
https://support.azul.com/hc/en-us/community/posts/200966724-Zulu-vs-OpenJDK-
Since I know of no other OpenJDK binaries which are CERTIFIED to be
TCK-compliant, seems like a good reason to have it.
Another is the fact, that SDKMAN installs it when you chose to install
Java.
8 years ago
Tomasz "LAFK_pl" Borek
9ecbdf94d7
Indentation and phrasing around export plugin.
...
Inspired by https://github.com/gcuisinier/jenv/pull/154
It has conflicts now so it was faster this way.
Forgot to mention previous commit was inspired by
https://github.com/gcuisinier/jenv/pull/164
Thanks @johnjohndoe and @fmassart !
8 years ago
Tomasz "LAFK_pl" Borek
4b5b800a22
Bold doesn't work in Markdown if you use too many spaces - corrected formatting
8 years ago
Tomasz "LAFK_pl" Borek
f20a15ee5c
Indentation
8 years ago
Tomasz Borek
2a0383ef95
Merge pull request #1 from spitchell/patch-1
...
fix typos and make small text amendments
8 years ago
Mark Mitchell
a9f591f2fe
fix typos and make small text amendments
8 years ago
Gildas Cuisinier
e253e3654e
#181 Support --skip-existing in jenv-add
8 years ago
Gildas Cuisinier
002e1d7bc0
Merge pull request #157 from kwbr/master
...
Don't run jenv javahome twice
8 years ago
Gildas Cuisinier
66bb5b1892
Merge pull request #172 from dwijnand/patch-1
...
Fix code block in README for export plugin
9 years ago
Dale Wijnand
06c284b973
Fix code block in README for export plugin
9 years ago
David Kowis
b3afb7c2a5
Copying rbenv's way of handling rehash for fish
9 years ago
Gildas Cuisinier
3d383882a1
Merge pull request #161 from Atry/patch-1
...
Fix #160
9 years ago
杨博 (Yang Bo)
936a4cba90
Fix #160
9 years ago
Kai Weber
6d4e218865
Don't run jenv javahome twice
...
The second call to "jenv javahome" to set JDK_HOME is unnecessary. It
adds 60ms on my system.
9 years ago
Gildas Cuisinier
15104a38f7
update version to 0.4.4
10 years ago