Java don't Open

Help me
106 Replies
JavaBot
JavaBot5w ago
This post has been reserved for your question.
Hey @lyxsca! 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.
dan1st
dan1st5w ago
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
lyxsca
lyxscaOP5w ago
Which one should I download?
dan1st
dan1st5w ago
What do you want to do with it?
lyxsca
lyxscaOP5w ago
No, the java file does not open as shown in the video.
dan1st
dan1st5w ago
the thing you wanted to open is an installer from Oracle's website, right?
lyxsca
lyxscaOP5w ago
Yes, I want to download JavaSetup8u421 but it does not open ye s
dan1st
dan1st5w ago
So you specifically want to install Java 8?
lyxsca
lyxscaOP5w ago
No, I downloaded it from Java's own website but it wasn't opening.
dan1st
dan1st5w ago
Do you want to develop Java applications or do you only want to run them?
dan1st
dan1st5w ago
yeah I know these binaries sometimes cause some issues
lyxsca
lyxscaOP5w ago
I want to run this because minecraft won't open
dan1st
dan1st5w ago
So you only need it for running Minecraft? Which Minecraft version are you using?
lyxsca
lyxscaOP5w ago
yes 1.20.4 and 1.20.2 I watched all the videos on youtube but it didn't work
dan1st
dan1st5w ago
ok so I think that uses Java 17
dan1st
dan1st5w ago
Latest Releases | Adoptium
Eclipse Adoptium provides prebuilt OpenJDK binaries ...
No description
dan1st
dan1st5w ago
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
lyxsca
lyxscaOP5w ago
I tried it from the terminal and it didn't work, so I experienced what you posted. I downloaded the zip version
dan1st
dan1st5w ago
oh the msi is the easiest to install I think, I forgot to mention that
lyxsca
lyxscaOP5w ago
then let me download it
dan1st
dan1st5w ago
What happened?
lyxsca
lyxscaOP5w ago
Are these reliable?
dan1st
dan1st5w ago
which ones? The one from Adoptium? yes
lyxsca
lyxscaOP5w ago
No description
lyxsca
lyxscaOP5w ago
Which one should I choose?
dan1st
dan1st5w ago
if you have admin permissions, I'd probably install it for all users - that way it would still work if you use another user
lyxsca
lyxscaOP5w ago
I have administrator permission ok I select it for all users
dan1st
dan1st5w ago
yeah btw there will be a selection asking you what to install
lyxsca
lyxscaOP5w ago
ok i downloaded it Oh
dan1st
dan1st5w ago
if you didn't go past that option already, send me a screenshot to check here otherwise it's fine
lyxsca
lyxscaOP5w ago
I passed immediately Nothing will happen, right?
dan1st
dan1st5w ago
it's fine I would have checked about you selecting some things that might help for things to work automatically
lyxsca
lyxscaOP5w ago
what should i do now
dan1st
dan1st5w ago
Did you install it?
lyxsca
lyxscaOP5w ago
yeah Should I try to open minecraft?
dan1st
dan1st5w ago
yeah
lyxsca
lyxscaOP5w ago
okay
dan1st
dan1st5w ago
maybe you need to tell Minecraft where Java is installed but just try it
lyxsca
lyxscaOP5w ago
it didn't work
dan1st
dan1st5w ago
What happens?
lyxsca
lyxscaOP5w ago
same error
dan1st
dan1st5w ago
What's the error?
lyxsca
lyxscaOP5w ago
No description
lyxsca
lyxscaOP5w ago
No description
dan1st
dan1st5w ago
I think you should be able to select installations > select your isntallation > 3 dots > edit
No description
dan1st
dan1st5w ago
then more options
No description
dan1st
dan1st5w ago
and then configure where to get Java from
No description
lyxsca
lyxscaOP5w ago
No description
lyxsca
lyxscaOP5w ago
I don't have a java
dan1st
dan1st5w ago
click on the browse button
lyxsca
lyxscaOP5w ago
I want to download JavaSetup8u421 but it is not opening okay
dan1st
dan1st5w ago
you don't need to - you did everything necessary in terms of installation that should open the explorer allowing you to select a file 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
lyxsca
lyxscaOP5w ago
I deleted the java when we just downloaded it.
dan1st
dan1st5w ago
Does that exist? What did you delete?
lyxsca
lyxscaOP5w ago
Okay wait java
lyxsca
lyxscaOP5w ago
No description
lyxsca
lyxscaOP5w ago
I found
dan1st
dan1st5w ago
go there
lyxsca
lyxscaOP5w ago
yes
dan1st
dan1st5w ago
there should be a bin directory with a java.exe file that's the file you need to select
lyxsca
lyxscaOP5w ago
No description
lyxsca
lyxscaOP5w ago
Okay I selected
dan1st
dan1st5w ago
in the explorer opened by clicking the "Browse" button
lyxsca
lyxscaOP5w ago
No description
dan1st
dan1st5w ago
when selecting it there, that field should be filled correctly looks about right
lyxsca
lyxscaOP5w ago
save?
dan1st
dan1st5w ago
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
lyxsca
lyxscaOP5w ago
xd okay wait
lyxsca
lyxscaOP5w ago
No description
lyxsca
lyxscaOP5w ago
this?
dan1st
dan1st5w ago
yes What does that mean?
lyxsca
lyxscaOP5w ago
Java version under control
dan1st
dan1st5w ago
I am not sure what that's supposed to mean so just click on save
lyxsca
lyxscaOP5w ago
Okay I save I started game
dan1st
dan1st5w ago
I think selecting it would show you additional details or something like that Does that mean it works?
lyxsca
lyxscaOP5w ago
cmd closed and opened and the game crashed
dan1st
dan1st5w ago
Did it show anything it seems liek that's skipping some check - so don't select it
lyxsca
lyxscaOP5w ago
No I didn't choose anyway
dan1st
dan1st5w ago
where exactly did it crash? id the window show anything?
lyxsca
lyxscaOP5w ago
no a black cmd opened and closed
dan1st
dan1st5w ago
oh ok that's something else
lyxsca
lyxscaOP5w ago
I think this will be fixed after downloading Java 8. what can i do please help
dan1st
dan1st5w ago
I think you have some other issues There is a program named "cmd" on your computer.
lyxsca
lyxscaOP5w ago
My user had changed, then I fixed it back, then when I wanted to play Minecraft, this happened.
dan1st
dan1st5w ago
If you open it, it should show you a command line What happens when entering java -version in that command-line?
lyxsca
lyxscaOP5w ago
No description
dan1st
dan1st5w ago
ok so Java works Your Minecraft version requires Java 17 (or later), not Java 8
lyxsca
lyxscaOP5w ago
Okay
dan1st
dan1st5w ago
you have this "JVM arguments" thing here copy the whole text of it somewhere else (e.g. here) so you have it available later and then remove it
lyxsca
lyxscaOP5w ago
this?
dan1st
dan1st5w ago
no
dan1st
dan1st5w ago
that thing
No description
lyxsca
lyxscaOP5w ago
oh okay
dan1st
dan1st5w ago
these are options given to Java
lyxsca
lyxscaOP5w ago
-Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
dan1st
dan1st5w ago
if these options are wrong, it can cause it to crash in the way it does for you
lyxsca
lyxscaOP5w ago
oka y
dan1st
dan1st5w ago
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
lyxsca
lyxscaOP5w ago
Can I send you that file via DM?
dan1st
dan1st5w ago
yes you can also censor sensitive parts if necessary
ayylmao123xdd
ayylmao123xdd5w ago
mightve crashed cuz of low memory 2gb
dan1st
dan1st5w ago
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
ayylmao123xdd
ayylmao123xdd5w ago
maybe just gotta reinstall minecraft or java isnt added to path or something
JavaBot
JavaBot4w ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?