question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unrecognized option: --installed

See original GitHub issue

Hello!

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:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jneiracommented, Apr 7, 2022

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

0reactions
laughedeliccommented, Apr 7, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found