Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.44k stars 2.94k forks source link

Problem #9990

Closed V2lenta1n closed 2 months ago

V2lenta1n commented 3 months ago

Platforms

Windows

Build

147

Issue

After i buy & download official Minecraft, Mindustry doesn't launch

Steps to reproduce

1.Buy Minecraft license; 2.Install Minecraft launcher; 3.Try to open Mindustry; 4.Mindustry doesn't launch.

Mods used

No response

Save file

No response

(Crash) logs

No response

Submission

camelStyleUser commented 3 months ago

man got the 147 dev release care to share?(real)

Leo-MathGuy commented 3 months ago

Probably Java versions issue

mahdoosh1 commented 3 months ago

what is your java version?

camelStyleUser commented 3 months ago

also thanks for paywalling the bug reproduction :smiling_face_with_three_hearts:

TheCorruptedKing commented 3 months ago

This has to be either a typo or the biggest fucking joke in existence.

Have you tried turning your PC off and on again

kenos1 commented 3 months ago

there is no way lmao

V2lenta1n commented 3 months ago

what is your java version?

my java is 21 version

V2lenta1n commented 3 months ago

This has to be either a typo or the biggest fucking joke in existence.

Have you tried turning your PC off and on again

yes, but this dont help

TheCorruptedKing commented 3 months ago

yes, but this dont help

Try talking to Microsoft Support and see if you can request assistance on running mindustry on the Minecraft launcher :D👍

Yarplay1 commented 3 months ago

what is your java version?

my java is 21 version

maybe try using different java version? tho i have no idea why it breaks, mine works fine.

kennarddh commented 3 months ago

what is your java version?

my java is 21 version

try 17

Yarplay1 commented 3 months ago

what is your java version?

my java is 21 version

try 17

maybe 17 is wrong too. because this is a joke issue

TG-TG-TG-TG-TG-TG commented 3 months ago

Minecraft 1.21 need java 21 and can't start with diffrent version if i remeber correct idk if mindustry want specific java version too

Matita008 commented 3 months ago

what is your java version?

my java is 21 version

try 17

Iirc mindustry doesn't need java to run, since it's a compiled .exe file and not a .jar

mahdoosh1 commented 3 months ago

what is your java version?

my java is 21 version

try 17

Iirc mindustry doesn't need java to run, since it's a compiled .exe file and not a .jar

java doesnt compile to exe. the exe file is used to execute the desktop.jar (actual game) file in the jre/ directory;

using the java version installed in jre/bin and jre/lib sub directory.

but .exe file checks if java is installed if it is, uses the installed version in the os. if it is not, then it uses the one in jre/bin

if java version in the os isnt compatible, then it simply doesnt lunch

TheCorruptedKing commented 3 months ago

Would it be possible to see a receipt of which copy of Minecraft you bought in order to better assess how we can get your mindustry running? Your email should contain it.

Internally dying

mahdoosh1 commented 3 months ago

what is your java version?

my java is 21 version

downgrade it to 17 or 16.

minecraft doesn't install java automatically (into os), minecraft has a jre for every version in its data in %AppData%/Roaming/minecraft/runtime

unless the luncher needs it.

see if java 16 or java 17 works.

Matita008 commented 3 months ago

what is your java version?

my java is 21 version

try 17

Iirc mindustry doesn't need java to run, since it's a compiled .exe file and not a .jar

java doesnt compile to exe. the exe file is used to execute the desktop.jar (actual game) file in the jre/ directory;

using the java version installed in jre/bin and jre/lib sub directory.

but .exe file checks if java is installed if it is, uses the installed version in the os. if it is not, then it uses the one in jre/bin

if java version in the os isnt compatible, then it simply doesnt lunch

Does the .APK also contain the java VM? If not, how does it run it?

mahdoosh1 commented 3 months ago

Does the .APK also contain the java VM? If not, how does it run it?

No, java VM is already installed in android phones. java is a cross platform language and most android apps are written in kotlin or java.

Android apps (.apk) are just zip files. in every apk file there are class files named classes.dex or classes2.dex

these are integrations of all compiled classes of the source code of the app. in this case Mindustry apk file has only classes.dex.

Leo-MathGuy commented 3 months ago

what is your java version?

my java is 21 version

try 17

Iirc mindustry doesn't need java to run, since it's a compiled .exe file and not a .jar

java doesnt compile to exe. the exe file is used to execute the desktop.jar (actual game) file in the jre/ directory;

using the java version installed in jre/bin and jre/lib sub directory.

but .exe file checks if java is installed if it is, uses the installed version in the os. if it is not, then it uses the one in jre/bin

if java version in the os isnt compatible, then it simply doesnt lunch

Thats the magic of java - its compiled to bytecode, which is run by the jvm. Only the jvm needs to be compiled separately for different devices, so everyone can run the same code. A .jar or .apk is just a zip file of .class files and other assets

mahdoosh1 commented 3 months ago

Thats the magic of java - its compiled to bytecode, which is run by the jvm. Only the jvm needs to be compiled separately for different devices, so everyone can run the same code. A .jar or .apk is just a zip file of .class files and other assets

were not supposed to explain java in the issue tracker.

and the author of this issue seems to be ignoring his issue and not playing mindustry anymore.

Anuke please close this issue.