{"id":15045969,"url":"https://github.com/aurumcodex/jdkenv","last_synced_at":"2026-04-09T10:47:56.912Z","repository":{"id":57629075,"uuid":"299133787","full_name":"aurumcodex/jdkenv","owner":"aurumcodex","description":"A tool to help with the selection of JDKs, written in Go.","archived":false,"fork":false,"pushed_at":"2020-10-13T00:35:58.000Z","size":194,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T13:23:49.780Z","etag":null,"topics":["go","golang","java","java-environment","jdk","openjdk","solus","solus-linux"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aurumcodex.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-27T22:52:35.000Z","updated_at":"2020-10-29T15:33:49.000Z","dependencies_parsed_at":"2022-09-26T20:10:56.528Z","dependency_job_id":null,"html_url":"https://github.com/aurumcodex/jdkenv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurumcodex%2Fjdkenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurumcodex%2Fjdkenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurumcodex%2Fjdkenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aurumcodex%2Fjdkenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aurumcodex","download_url":"https://codeload.github.com/aurumcodex/jdkenv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243451606,"owners_count":20293168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","java","java-environment","jdk","openjdk","solus","solus-linux"],"created_at":"2024-09-24T20:52:31.833Z","updated_at":"2025-12-29T10:31:28.166Z","avatar_url":"https://github.com/aurumcodex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"= jdkenv image:https://img.shields.io/github/workflow/status/aurumcodex/jdkenv/jdkenv-build?style=flat-square[GitHub Workflow Status]\n\nA simple Go program to manage and install (if not found) various JDKs.\n\nUseful for when you use multiple JDK implementations, or want to build on different versions to test your\nJava projects or other JVM language projects on different standard libraries.\n\nCreates a directory `.jdkenv` in the `$HOME` directory, and will contain the downloaded JDK .tar.gz archives\nfully extracted. Once a JDK has been selected, an `env` file will be created within the `.jdkenv` directory\nthat can then be sourced via a shell recfile. (`.bashrc`, `.zshrc`, `.profile`, etc.)\n\nTakes quite a lot of inspiration from how JetBrains' IntelliJ IDEA IDE can download and use various JDKs.\n(Even the `.toml` files take quite a lot of inspiration from IntelliJ's `*.intellij` files for its known JDKs.)\n\nNOTE: Environment variable setting not yet implemented. macOS testing needs to be done,\nas well as determining the best way of writing to Window's environment variables.\n\n== Dependencies\n- Go 1.15 (min version needs to be checked from deps)\n\n== Installation\n=== Using Go Modules\n- Make sure `$GOBIN` and `$GOPATH` are set, and `$GOBIN` is added to your `$PATH`\n- Run `go get -u github.com/aurumcodex/jdkenv`\n\n== Usage\nRunning this program without a subcommand will only print the set JDK\nand Java version given.\n\n----\nUsage:\n  jdkenv [flags]\n  jdkenv [command]\n\nAvailable Commands:\n  azul        Set usage of Azul Zulu Community JDK\n  corretto    Set usage of Amazon Corretto JDK\n  errors      Print error codes and their meanings\n  help        Help about any command\n  liberica    Set usage of BellSoft Liberica JDK\n  local       Set usage of a locally installed JDK\n  openjdk     Set usage of AdoptOpenJDK\n  oracle      Set usage of Oracle OpenJDK Reference Implementation\n  sapmachine  A brief description of your command\n  system      Set usage of system installed JDK\n\nFlags:\n  -h, --help       help for jdkenv\n  -j, --java int   use specific Java version (valid: 8, 11, 15) (default 8)\n      --no-color   use monochrome output\n      --spinner    disables the activity spinner (default true)\n----\n\n== Supported JDKs\n// - Oracle OpenJDK `(Windows and Linux only)`\n// ** JDK 8\n// ** JDK 11\n// ** JDK 15\n\n// - Amazon Corretto\n// ** JDK 8\n// ** JDK 11\n\n// - BellSoft Liberica\n// ** JDK 8\n// ** JDK 11\n// ** JDK 15\n\n// - AdoptOpenJDK\n// ** JDK 8  `(Hotspot JVM / OpenJ9 JVM)`\n// ** JDK 11 `(Hotspot JVM / OpenJ9 JVM)`\n// ** JDK 15 `(Hotspot JVM / OpenJ9 JVM)`\n\n// - SAP Sapmachine\n// ** JDK 11\n// ** JDK 15\n\n// - Azul Zulu Community™\n// ** JDK 8\n// ** JDK 11\n// ** JDK 15\n[options=\"header\",cols=\"h,4*\"]\n|===\n| JDK Implementation  | Java 8 | Java 11 | Java 15 | Notes\n| Oracle OpenJDK      | ✓      | ✓       | ✓       | `Windows and Linux Only`\n| Amazon Corretto     | ✓      | ✓       |         | `none`\n| BellSoft Liberica   | ✓      | ✓       | ✓       | `none`\n| AdoptOpenJDK        | ✓      | ✓       | ✓       | `Hotspot and OpenJ9 JVMs supported`\n| SAP Sapmachine      |        | ✓       | ✓       | `none`\n| Azul Zulu Community | ✓      | ✓       | ✓       | `none`\n|===\n\n== License\nJDKEnv is licensed under the Apache 2.0 License.\nSee link:LICENSE[LICENSE] for more details.\n\n.Third Party libraries used (and their licenses)\n- briandowns/spinner (Apache-2.0)\n- cavaliercoder/grab (BSD-3)\n- logrusorgru/aurora (Unlicense)\n- mholt/archiver     (MIT)\n- pelletier/go-toml  (MIT)\n- spf13/cobra        (Apache-2.0)\n- go-ini/ini         (Apache-2.0)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurumcodex%2Fjdkenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faurumcodex%2Fjdkenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faurumcodex%2Fjdkenv/lists"}