How to install java and optifine

Hello @Jewza

please check Java in Endless 3.0.4 for more details