Skip to content

ota doc and legacy compat fixes#4

Open
SirRGB wants to merge 4 commits into
FOSSonTop:masterfrom
SirRGB:main
Open

ota doc and legacy compat fixes#4
SirRGB wants to merge 4 commits into
FOSSonTop:masterfrom
SirRGB:main

Conversation

@SirRGB
Copy link
Copy Markdown
Contributor

@SirRGB SirRGB commented Dec 22, 2025

No description provided.

@SirRGB SirRGB requested a review from sounddrill31 December 22, 2025 11:55
```bash
sudo dnf install temurin-8-jdk
```
The [Lineage wiki](https://wiki.lineageos.org/devices/flounder/build/#java) has a comprehensive guide on that for ubuntu/-based distros and fedora lets you [set up temurin 8](https://docs.fedoraproject.org/en-US/quick-docs/installing-java/#_installing_an_older_java_version) easily
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to fetch this from conda?

Does this work? https://anaconda.org/channels/main/packages/java-1.8.0-openjdk-el8-x86_64/overview

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds really nice, but Id rather go for something more well proven and audited, which this doesnt really imply:
Total Downloads
25

Copy link
Copy Markdown
Contributor

@sounddrill31 sounddrill31 Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I kind of agree... I'll see if they have a better package

Update: how about openjdk==8.0.472 from https://anaconda.org/channels/conda-forge/packages/openjdk/overview? These are zulu openJDK builds, I think, according to https://stackoverflow.com/a/72366938

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, description says it is zulu too.
Last updated in dec 2025 and 15k downloads is good ig.
We could also go the weird way and tell people to download the jdk and export some variables, which is independant of python. I do so for dockdroid and it just works. :)

Comment thread legacy/build-legacy-android.md
@sounddrill31
Copy link
Copy Markdown
Contributor

sounddrill31 commented Mar 11, 2026

I've used pixi(by prefix.dev) for a while now and if the package exists on conda, the process becomes trivial.
Something like pixi global install condapackagename, or even better:

pixi init # initializes pixi project
pixi add condapackagename # adds it to pixi.toml

then

pixi run yourcommandhere

or

pixi shell # enters a shell with that package set up 
yourcommandshere

I'm not sure if this works in an android build environment but if it does, it will make a lot of things simpler

@SirRGB
Copy link
Copy Markdown
Contributor Author

SirRGB commented Mar 11, 2026

Pyenv is dead simple as well one set up (you can do it using a single shell script).
pyenv install 2
pyenv global 2
Thats what Ive been using for dockdroid

@sounddrill31
Copy link
Copy Markdown
Contributor

Pyenv is dead simple as well one set up (you can do it using a single shell script). pyenv install 2 pyenv global 2 Thats what Ive been using for dockdroid

true... Objective is the jdk though: This is a big pain point for legacy builders!

The python thing was personal curiosity, since we're playing with paths here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants