Terminal error: operation couldnt be completed. Unable to locate a Java Runtime that supports apt. Please visit http://www.java.com for information

Joined
Aug 12, 2017
Messages
49
Reaction score
1
How to fix the following error received in Terminal:

"The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.
"Please visit http://www.java.com for information on installing Java."

I went to the link, installed Java using the link, but still no-go.

The command that generated this error was: apt update

My Mac: Mini running Ventura 13.4

Here's what Terminal is showing now:

doc@DOCs-Mac-mini opt % install.sh
zsh: command not found: install.sh
doc@DOCs-Mac-mini opt % cd Storm-Breaker
doc@DOCs-Mac-mini Storm-Breaker % ls
README.md install.sh requirements.txt storm-web
Settings.json modules st.py
doc@DOCs-Mac-mini Storm-Breaker % apt update
The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.
Please visit http://www.java.com for information on installing Java.

doc@DOCs-Mac-mini Storm-Breaker %


What to do?

Thanks!
 
Joined
May 7, 2023
Messages
465
Reaction score
70
I understand that you are running Storm-Breaker. When you installed it, it should install the latest version.

Were you able to install it? If you did there shoudl not be any updates.

Is there a particular dependency that youa re trying to update?

Also, it is recommended that if you use Storm-Breaker that you do so in a virtual machine, not directly on your main computer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top