Git Product home page Git Product logo

Comments (11)

karianna avatar karianna commented on June 6, 2024

@AlexTrotsenko We've moved to adoptium.net and are producing Eclipse Temurin binaries. You'll want to uninstall the adop binary and move to that. See adoptium.net and go to the installers section :-)

from homebrew-openjdk.

AlexTrotsenko avatar AlexTrotsenko commented on June 6, 2024

@karianna thanks for link, it's indeed helpful. How about the installation from the terminal?
Does it mean that we need to use GUI now on or?

from homebrew-openjdk.

karianna avatar karianna commented on June 6, 2024

Same homebrew style installation is available

from homebrew-openjdk.

AlexTrotsenko avatar AlexTrotsenko commented on June 6, 2024

@karianna thanks for pointing out.

I have used the instructions from the home page as following, but I can't have jdk 11 installed.

% brew uninstall --cask adoptopenjdk11
% brew uninstall --cask adoptopenjdk  
% brew untap AdoptOpenJDK/openjdk
% brew install --cask temurin
% java -version
openjdk version "17.0.2" 2022-01-18

Tried to install jdk 11

% brew install --cask temurin11
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 2 formulae.
==> Updated Casks
Updated 1 cask.

Error: Cask 'temurin11' is unavailable: No Cask with this name exists.

And then jdk8 as in the README

% brew install --cask temurin8
Error: Cask 'temurin8' is unavailable: No Cask with this name exists.

Search gives me nothing either.

% brew search temurin  
==> Formulae
maturin

==> Casks
temurin ✔

Can possibly point out me to the page where it's described how to install individual jdk version as it used to be in the README of this repo?
https://github.com/AdoptOpenJDK/homebrew-openjdk#available-versions

from homebrew-openjdk.

karianna avatar karianna commented on June 6, 2024

try brew install temurin11 without the cask directive

from homebrew-openjdk.

AlexTrotsenko avatar AlexTrotsenko commented on June 6, 2024

@karianna thanks for the clarifications. However I am still not able to install it (see the logs below).

Do you possibly know what might be wrong?

% brew install temurin11
Warning: No available formula with the name "temurin11".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

from homebrew-openjdk.

karianna avatar karianna commented on June 6, 2024

Hmmmmmm.

What does brew doctor tell you?

Also I assume you've run brew update first?

from homebrew-openjdk.

AlexTrotsenko avatar AlexTrotsenko commented on June 6, 2024

@karianna yes, I did run brew update before any software update. I did once again today. Here is what I got:

% brew update
Updated 1 tap (homebrew/core).
==> Updated Formulae
aws-elasticbeanstalk     cppp                     djhtml                   localstack               node@14                  youtubedr
ballerina                dbmate                   just                     mmctl                    pip-tools                yt-dlp
bee                      deno                     lmod                     newrelic-cli             teleport

You have 32 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
% brew install temurin11
Warning: No available formula with the name "temurin11".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
% brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.1.


Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc

Warning: Your Xcode (12.5.1) is outdated.
Please update to Xcode 13.1 (or delete it).
Xcode can be updated from the App Store.


Warning: Broken symlinks were found. Remove them with `brew cleanup`:
  /usr/local/share/man/man5/package-locks.5
  /usr/local/share/man/man5/shrinkwrap-json.5

from homebrew-openjdk.

karianna avatar karianna commented on June 6, 2024

OK try:

brew tap homebrew/cask-versions
brew install --cask temurin11

from homebrew-openjdk.

AlexTrotsenko avatar AlexTrotsenko commented on June 6, 2024

@karianna sorry for replying with the delay - doing brew tap homebrew/cask-versions did help!
Thanks a lot for the help and troubleshooting.

May I possibly ask you why did I need to run this command at all? E.g. what was wrong with my previous set-up?

from homebrew-openjdk.

karianna avatar karianna commented on June 6, 2024

Really not sure sorry!

from homebrew-openjdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.