PojavLauncherTeam / PojavLauncher

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.
GNU Lesser General Public License v3.0
6.63k stars 1.27k forks source link

[BUG] Java 21 (aarch32) bugs #5477

Closed Cube5x59999 closed 2 weeks ago

Cube5x59999 commented 4 months ago

Describe the bug

I have downloaded java 21 for Minecraft 1.20.6, but there's a weird issue where the background paranoma wouldn't load and in-game the textures wouldn't load. I later found out it was a Java 21 specific feature as I tried Java 21 with 1.20.4, which works fine with Java 17.

The log file and images/videos

Latest log latestlog.txt

Images of missing paranoma Screenshot_20240521-104658_PojavLauncher (Minecraft Java Edition for Android)

Steps To Reproduce

1. Set Java 21 ad default
2. Play Minecraft 1.20.4+ (haven't tested any lower)
3. Wait for menu
4. Done

Expected Behavior

I expected it to work normally, as with Java 17 and 1.20.4

Platform

- Device model: Samsung Galaxy Tab A
- CPU architecture: armv8l
- Android version: 11
- PojavLauncher version: Edelweiss-20230928-9484d0c-v3_openjdk

Anything else?

The Java 21 runtime environment used jre21-aarch32.zip

Also tried JDK 21

aaaapai commented 4 months ago

Screenshot_20240524-225219 My mobile phone doesn't have this problem.It was running in JRE22 at that time.

Cube5x59999 commented 4 months ago

It was running in JRE22 at that time.

there's no JRE22.

aaaapai commented 4 months ago

It was running in JRE22 at that time.

there's no JRE22.

You are right. But it's in my repository. jre22-aarch64 I didn't build JRE22 for aarch32.But you can try using JRE21.0.4 jre21-aarch32

Cube5x59999 commented 4 months ago

It was running in JRE22 at that time.

there's no JRE22.

You are right. But it's in my repository. jre22-aarch64 I didn't build JRE22 for aarch32.But you can try using JRE21.0.4 jre21-aarch32

I used that exact jre 21 version which is causing the issue edit : i think the arm 32 version has this problem.

Janjack9618 commented 3 months ago

I still can't fix it

Mô tả lỗi

Tôi đã tải xuống java 21 cho Minecraft 1.20.6, nhưng có một vấn đề kỳ lạ là hiện tượng hoang tưởng nền không tải được và họa tiết trong trò chơi không tải được. Sau này tôi phát hiện ra đó là một tính năng dành riêng cho Java 21 khi tôi dùng thử Java 21 với 1.20.4, tính năng này hoạt động tốt với Java 17.

Tệp nhật ký và hình ảnh/video

Nhật ký mới nhất mới nhấtlog.txt

Hình ảnh chứng hoang tưởng mất tích Ảnh chụp màn hình_20240521-104658_PojavLauncher (Phiên bản Minecraft Java dành cho Android)

Các bước để tái tạo

1. Set Java 21 ad default
2. Play Minecraft 1.20.4+ (haven't tested any lower)
3. Wait for menu
4. Done

Hành vi dự kiến

Tôi đã mong đợi nó hoạt động bình thường, như với Java 17 và 1.20.4

Nền tảng

- Device model: Samsung Galaxy Tab A
- CPU architecture: armv8l
- Android version: 11
- PojavLauncher version: Edelweiss-20230928-9484d0c-v3_openjdk

Còn gì nữa không?

Môi trường thời gian chạy Java 21 được sử dụng jre21-aarch32.zip

Cũng đã thử JDK 21

GaucovyAero commented 3 months ago

mojang stopped supporting 32-bit devices as of 1.21

GaucovyAero commented 3 months ago

keeping as wontfix for now, there might be a patch later

Janjack9618 commented 3 months ago

mojang ngừng hỗ trợ các thiết bị 32 bit kể từ 1.21

oh no how sad I found out about this :((((

Janjack9618 commented 3 months ago

When you get the patch, can you let me know about it?

GaucovyAero commented 3 months ago

When you get the patch, can you let me know about it?

it might never come to be honest

Cube5x59999 commented 3 months ago

When you get the patch, can you let me know about it?

it might never come to be honest

hmmm, i just learnt my cpu is 64 bit, but os is 32, possible?

edit: if there was ability to bypass incompatible architecture error, I would have tried aarch64

Kingblu14 commented 2 months ago

Is 1.21 not compatible with 3ram and 32rom? Cuz I try every 21 runtime and the panorama is missing and it keeps crashing when I loaded a world

Cube5x59999 commented 2 months ago

Is 1.21 not compatible with 3ram and 32rom? Cuz I try every 21 runtime and the panorama is missing and it keeps crashing when I loaded a world

not for 32 bit but my cpu is 64, Android is 32

Merith-TK commented 2 months ago

When you get the patch, can you let me know about it?

it might never come to be honest

hmmm, i just learnt my cpu is 64 bit, but os is 32, possible?

edit: if there was ability to bypass incompatible architecture error, I would have tried aarch64

Not without either using a custom rom for your device, or creating and maintaining 64bit libraries for your device.

The problem is that manufacturers will ship an 32bit is with 64bit hardware so they can ship a peice-of-shit 64bit cpu, that performs at 32bit, so they can say its 64bit as its technically not a lie.

DonutEpicuS commented 2 months ago

i get this bug too, but if i want to join a world/server, it doesn't load

Cube5x59999 commented 1 month ago

creating and maintaining 64bit libraries for your device.

how? can you explain how can I do this?

Merith-TK commented 1 month ago

if you dont know what I mean by that, then you dont

This is not some elitist point of view or something, you would need indepth knowledge of java, C, and linux build tools