Giter Site home page Giter Site logo

coursier-m1's People

Contributors

alexarchambault avatar dependabot[bot] avatar gedochao avatar lwronski avatar scala-steward avatar tgodzik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coursier-m1's Issues

`No adoptium version` when running 2.1.6 `cs java`

Running on an M2 Pro with Mac OS 13.0 I am unable to install jvms with the aarch64 coursier at least for 2.1.6.

Steps to reproduce:

$ curl -L -o cs-aarch64-apple-darwin-2.1.6-Virtus.gz https://github.com/VirtusLab/coursier-m1/releases/download/v2.1.6/cs-aarch64-apple-darwin.gz
$ chmod a+x cs-aarch64-apple-darwin-2.1.6-Virtus
$ ./cs-aarch64-apple-darwin-2.1.6-Virtus version
2.1.6
$ ./cs-aarch64-apple-darwin-2.1.6-Virtus java --jvm 8 -version
JVM 8 not found in index: No adoptium version matching '1.8+' found

But the same setup works using the x86 binary (I have Rosetta2 emulation going):

$ curl -L -o cs-x86_64-apple-darwin-2.1.6-Virtus.gz https://github.com/VirtusLab/coursier-m1/releases/download/v2.1.6/cs-x86_64-apple-darwin.gz
$ gunzip cs-x86_64-apple-darwin-2.1.6-Virtus.gz
$ chmod a+x cs-x86_64-apple-darwin-2.1.6-Virtus
$ ./cs-x86_64-apple-darwin-2.1.6-Virtus java --jvm 8 -version
... installs the first time ...
openjdk version "1.8.0_392"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_392-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.392-b08, mixed mode)

We ran into this issue when trying to use the VirtusLab coursier for more recent M1 architecture binaries. pantsbuild/pants#20174

The aarch64 binary is able to perform other coursier functions without trouble like resolve or fetch org.scalameta::scalafmt-cli:2.4.2.

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.