#Java don't Open

157 messages · Page 1 of 1 (latest)

halcyon oasis
raven marlinBOT
#

This post has been reserved for your question.

Hey @halcyon oasis! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

raven marlinBOT
high helm
# raven marlin

In my experience, the installers from there are more reliable (and don't have questionable licensing)

#

Alternatively try opening the installer from the command-line and check the output

halcyon oasis
high helm
halcyon oasis
#

No, the java file does not open as shown in the video.

high helm
halcyon oasis
#

Yes, I want to download JavaSetup8u421 but it does not open

high helm
#

So you specifically want to install Java 8?

halcyon oasis
#

No, I downloaded it from Java's own website but it wasn't opening.

high helm
#

Do you want to develop Java applications or do you only want to run them?

halcyon oasis
high helm
halcyon oasis
#

I want to run this because minecraft won't open

high helm
#

So you only need it for running Minecraft?

#

Which Minecraft version are you using?

halcyon oasis
halcyon oasis
#

I watched all the videos on youtube but it didn't work

high helm
#

ok so I think that uses Java 17

#

then you don't need the one from java.com

#

if you really want to use the one on java.com, try running it from the terminal

halcyon oasis
#

I downloaded the zip version

high helm
#

oh the msi is the easiest to install I think, I forgot to mention that

halcyon oasis
#

then let me download it

halcyon oasis
#

Are these reliable?

high helm
#

The one from Adoptium? yes

halcyon oasis
#

Which one should I choose?

high helm
#

if you have admin permissions, I'd probably install it for all users - that way it would still work if you use another user

halcyon oasis
#

I have administrator permission

#

ok I select it for all users

high helm
#

yeah

#

btw there will be a selection asking you what to install

halcyon oasis
#

ok i downloaded it

high helm
#

otherwise it's fine

halcyon oasis
#

I passed immediately

#

Nothing will happen, right?

high helm
#

it's fine

#

I would have checked about you selecting some things that might help for things to work automatically

halcyon oasis
#

what should i do now

high helm
#

Did you install it?

halcyon oasis
#

Should I try to open minecraft?

high helm
#

yeah

halcyon oasis
#

okay

high helm
#

maybe you need to tell Minecraft where Java is installed

#

but just try it

halcyon oasis
#

it didn't work

high helm
#

What happens?

halcyon oasis
high helm
#

What's the error?

halcyon oasis
high helm
#

I think you should be able to select installations > select your isntallation > 3 dots > edit

#

then more options

#

and then configure where to get Java from

halcyon oasis
#

I don't have a java

high helm
#

click on the browse button

halcyon oasis
#

I want to download JavaSetup8u421

#

but it is not opening

halcyon oasis
high helm
high helm
#

There you need to find where you installed Java

#

I think if you go to C:\Program Files, there should be a directory named Eclipse Adoptium

halcyon oasis
#

I deleted the java when we just downloaded it.

high helm
halcyon oasis
#

Okay wait

halcyon oasis
#

I found

high helm
#

go there

halcyon oasis
#

yes

high helm
#

there should be a bin directory with a java.exe file

#

that's the file you need to select

halcyon oasis
#

Okay I selected

high helm
halcyon oasis
high helm
# halcyon oasis

when selecting it there, that field should be filled correctly

#

looks about right

halcyon oasis
#

save?

high helm
#

Can you translate the text of the checkbox?

#

that thing starting with "Java sürüm"

#

I don't speak turkish or whatever language that is xd

halcyon oasis
#

wait

#

this?

high helm
#

yes

#

What does that mean?

halcyon oasis
#

Java version under control

high helm
#

I am not sure what that's supposed to mean so just click on save

halcyon oasis
#

Okay

#

I save

#

I started game

high helm
high helm
halcyon oasis
#

cmd closed and opened and the game crashed

high helm
high helm
halcyon oasis
#

No

halcyon oasis
high helm
#

where exactly did it crash?

#

id the window show anything?

halcyon oasis
#

a black cmd opened and closed

high helm
#

oh ok

#

that's something else

halcyon oasis
#

I think this will be fixed after downloading Java 8.

#

what can i do please help

high helm
#

I think you have some other issues

#

There is a program named "cmd" on your computer.

halcyon oasis
#

My user had changed, then I fixed it back, then when I wanted to play Minecraft, this happened.

high helm
#

If you open it, it should show you a command line

#

What happens when entering java -version in that command-line?

halcyon oasis
high helm
#

ok so Java works

high helm
high helm
#

copy the whole text of it somewhere else (e.g. here) so you have it available later

#

and then remove it

halcyon oasis
high helm
#

no

#

that thing

halcyon oasis
#

oh okay

high helm
#

these are options given to Java

halcyon oasis
#

-Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

high helm
#

if these options are wrong, it can cause it to crash in the way it does for you

halcyon oasis
#

oka

#

y

high helm
#

alternatively you could go to your .minecraft folder (do you know how to get there?), open the logs folder in there (I think it should be named like that) and open the file latest.log - That file might have information on why it crashed

#

logs are recordings of what happened in the application

halcyon oasis
#

Can I send you that file via DM?

high helm
#

yes

#

you can also censor sensitive parts if necessary

steel pelican
#

mightve crashed cuz of low memory

#

2gb

high helm
#

it also crashes without mods - and it crashes directly upon starting

#

From what they sent me in DMs, it seems like an issue with the .minecraft directory

steel pelican
#

or java isnt added to path or something