Unrecognized option: --installed
See original GitHub issueHello!
This might just be a problem with my setup, but I can’t figure out why cs java --installed
fails. Any idea?
$ brew info coursier
coursier/formulas/coursier: stable 2.1.0-M2-1
Launcher for Coursier
https://get-coursier.io
/usr/local/Cellar/coursier/2.1.0-M2-1 (5 files, 60.4MB) *
Built from source on 2021-12-15 at 17:56:45
From: https://github.com/coursier/homebrew-formulas/blob/HEAD/coursier.rb
==> Dependencies
Required: openjdk ✔
...
$ cs java --version
openjdk 17 2021-09-14
OpenJDK Runtime Environment (build 17+35-2724)
OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
$ cs java --available
adopt:1.8.0-181
adopt:1.8.0-192
adopt:1.8.0-202
adopt:1.8.0-212
...
$ cs java --installed
Unrecognized option: --installed
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Could not create the Java Virtual Machine. Error: A fatal ...
Unrecognized option : --version Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit · Ask ......
Read more >Unrecognized option - Launching a VM - Sonar Community
I've gone through the install docs and otehr reources, but can't seem to get past the error below. It would appear it's having...
Read more >linux - Unrecognized option: - Could not create the Java virtual ...
Unrecognised option : - Could not create the Java virtual machine. In my nohup.out. If I run java -v after setting the path...
Read more >unrecognized option · Issue #287 · sanger-pathogens/Artemis
I have just installed artemis via bioconda. When I start act, it exits, showing the errors below: (base) [zyw@localhost pkgs]$ act
Read more >Unrecognized option: -d64 occurs with IBM Informix installation
1 Answer 1 · I will try with downgrading my JDK version, but this installation came with . · Still same result after...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I recently open a wip pr restoring it where i asked that question and previously i did it in the original pr which removed it: https://github.com/coursier/coursier/pull/2188#issuecomment-1079935827
This issue is very confusing. Even
cs java --help
mentions the--installed
option, but then doesn’t recognize it. My guess is that it was removed by mistake.I think it’s a bad UX to install the latest milestone release from Homebrew instead of the latest stable release.