Skip to content

Commit

Permalink
Remove instructions for openjdk-8 (#486)
Browse files Browse the repository at this point in the history
`openjdk-8` is deprecated.
  • Loading branch information
algent-al authored Feb 13, 2024
1 parent fff31c5 commit 27114de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
8 changes: 1 addition & 7 deletions docs/user/software/development/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,7 @@ Before we can start we need to setup our build environment ready for building An

### Installing Build Dependencies

Android 7 (Nougat) and Android 8 (Oreo) require OpenJDK 8. Android 5 (Lollipop) and Android 6 (Marshmallow) require OpenJDK 7 which is not currently in the repository.

To install OpenJDK 8 run:

```bash
sudo eopkg it openjdk-8-devel
```
Android 7 (Nougat) and Android 8 (Oreo) require OpenJDK 8. Android 5 (Lollipop) and Android 6 (Marshmallow) require OpenJDK 7. Both OpenJDK 7 and OpenJDK 8 are not currently in the repository.

Next we need to install packages from the `system.devel` component, these provide common build tools for general software development.

Expand Down
9 changes: 0 additions & 9 deletions docs/user/software/development/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The following table lists the versions of Java available in the Solus repositori

| Version | Package name | Installation directory | Included components | Notes |
| ------- | ------------ | ----------------------- | ------------------- | --------------------- |
| Java 8 | `openjdk-8` | `/usr/lib64/openjdk-8` | JRE, JDK | See _openjdk-8_ below |
| Java 11 | `openjdk-11` | `/usr/lib64/openjdk-11` | JRE, JDK, OpenJFX | |
| Java 17 | `openjdk-17` | `/usr/lib64/openjdk-17` | JRE, JDK | |

Expand All @@ -37,11 +36,3 @@ There are multiple ways to execute Java applications in Solus:
- Create a script that sets `JAVA_HOME` before running the application.
- Symlink the java executable from `/path/to/jdk/bin` to `/usr/bin`.
- Add `/path/to/jdk/bin` to your PATH environment variable.

## openjdk-8

:::danger Important

openjdk-8 is scheduled for removal in the near future. It is not recommended that you use it today.

:::

0 comments on commit 27114de

Please sign in to comment.