{"id":23840505,"url":"https://github.com/shonp40/java-installation-instructions-for-ubuntu","last_synced_at":"2025-09-07T17:31:51.792Z","repository":{"id":41273634,"uuid":"261755984","full_name":"ShonP40/Java-installation-instructions-for-Ubuntu","owner":"ShonP40","description":"Installation instructions for installing Oracle Java JDK on Ubuntu 16.04-22.04","archived":false,"fork":false,"pushed_at":"2022-04-29T18:03:26.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T19:22:09.048Z","etag":null,"topics":["java","jdk","jre","ubuntu"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"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/ShonP40.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}},"created_at":"2020-05-06T12:45:50.000Z","updated_at":"2023-06-04T10:52:56.000Z","dependencies_parsed_at":"2022-09-19T17:54:29.012Z","dependency_job_id":null,"html_url":"https://github.com/ShonP40/Java-installation-instructions-for-Ubuntu","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/ShonP40%2FJava-installation-instructions-for-Ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShonP40%2FJava-installation-instructions-for-Ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShonP40%2FJava-installation-instructions-for-Ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShonP40%2FJava-installation-instructions-for-Ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShonP40","download_url":"https://codeload.github.com/ShonP40/Java-installation-instructions-for-Ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232235495,"owners_count":18492774,"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":["java","jdk","jre","ubuntu"],"created_at":"2025-01-02T17:58:21.598Z","updated_at":"2025-09-07T17:31:51.784Z","avatar_url":"https://github.com/ShonP40.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java installation instructions for Ubuntu\nInstallation instructions for installing Oracle Java JDK 8 64-Bit on Ubuntu 16.04-24.04\n\n1. Go to [Oracle's website](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) and download the latest Linux x64 Compressed Archive\n\n2. Open Terminal and type `sudo mkdir  -p /opt/jdk`\n\n3. Go to your Downloads folder (or the folder that you downloaded the file to) and open Terminal from it (by right clicking and selecting \"Open in Terminal\")\n\n4. Type `sudo cp -rf jdk-8u(version number)-linux-x64.tar.gz /opt/jdk/`\n\n5. Type `cd /opt/jdk/`\n\n6. Type `sudo tar -zxf jdk-8u(version number)-linux-x64.tar.gz`\n\n7. Type `sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_(version number)/bin/java 100`\n\n8. Type `sudo update-alternatives --config java` (It will ask you to select the version of Java you downloaded from a list (0,1,2...))\n\n9. Type `sudo  nano /etc/environment`and paste `JAVA_HOME=/opt/jdk/jdk1.8.0_(version number)` and `JRE_HOME=/opt/jdk/jdk1.8.0_(version number)/jre`\n\n10. Verify your installation by typing `java -version`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshonp40%2Fjava-installation-instructions-for-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshonp40%2Fjava-installation-instructions-for-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshonp40%2Fjava-installation-instructions-for-ubuntu/lists"}