{"id":19233060,"url":"https://github.com/reflexdemon/switch-jdk-debian-alternatives","last_synced_at":"2026-05-05T01:42:12.965Z","repository":{"id":73770182,"uuid":"248226142","full_name":"reflexdemon/switch-jdk-debian-alternatives","owner":"reflexdemon","description":"This is a simple tool to switch JDK on any dabian using alternatives","archived":false,"fork":false,"pushed_at":"2020-03-18T12:57:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T11:41:48.560Z","etag":null,"topics":["adoptopenjdk","bash","java","openjdk","shell","tools"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reflexdemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-18T12:31:06.000Z","updated_at":"2020-03-18T14:56:58.000Z","dependencies_parsed_at":"2023-09-21T03:45:40.718Z","dependency_job_id":null,"html_url":"https://github.com/reflexdemon/switch-jdk-debian-alternatives","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reflexdemon/switch-jdk-debian-alternatives","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fswitch-jdk-debian-alternatives","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fswitch-jdk-debian-alternatives/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fswitch-jdk-debian-alternatives/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fswitch-jdk-debian-alternatives/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reflexdemon","download_url":"https://codeload.github.com/reflexdemon/switch-jdk-debian-alternatives/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflexdemon%2Fswitch-jdk-debian-alternatives/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32632290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["adoptopenjdk","bash","java","openjdk","shell","tools"],"created_at":"2024-11-09T16:08:40.414Z","updated_at":"2026-05-05T01:42:12.926Z","avatar_url":"https://github.com/reflexdemon.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# switch-jdk-debian-alternatives\nThis is a simple tool to switch any AdoptOpenJDK on any Debian using alternatives like Ubuntu, Linux Mint etc.,\n\nThis is the outcome of my previous blog on switching JDKs: https://blog.vpv.io/2019/07/installing-open-jdk-on-ubundu.html\n\n## Usage\nThis tool can be used without installing on your computer. Using the command line tool like `curl` this can be used.\n\nThe usage is like this:\n\n```bash\n$ curl -s https://raw.githubusercontent.com/reflexdemon/switch-jdk-debian-alternatives/master/switch-jdk.sh | sudo bash -s 11\n```\n\nor\n\n```bash\n$ curl -s https://raw.githubusercontent.com/reflexdemon/switch-jdk-debian-alternatives/master/switch-jdk.sh | sudo bash /dev/stdin 11\n```\n\n# Installing the correct Adopt Open JDK please use this link\n\nTo install the latest AdoptOpenJDK visit https://adoptopenjdk.net/installation.html#linux-pkg\n\n## TODO\n\n1. Expand the installation beyond `HotSpot` and support `OpenJ9`\n2. May be later Support other JDKs like Oracle and Open JDKs\n3. Support other Linux distributions\n\n## Contribution\n\nI am open to take PR for any of the above mentioned TODOs. I am all ears for anything new that can be used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflexdemon%2Fswitch-jdk-debian-alternatives","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freflexdemon%2Fswitch-jdk-debian-alternatives","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflexdemon%2Fswitch-jdk-debian-alternatives/lists"}