#Help error with java

1 messages · Page 1 of 1 (latest)

lone plumeBOT
#

<@&987246399047479336> please have a look, thanks.

lone plumeBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

dreamy gulch
#

common one

#

open ur environment settings

#

locate JAVA_OPTIONS there

#

and kill it

#

the environment variable thing is part of this guide (with images):

lone plumeBOT
#

Download latest Java from https://adoptium.net/, run the installer.

Open a CMD and type java -version and javac -version, if both show your new Java version, you have successfully installed Java! 🎉
https://i.imgur.com/CurMujt.png

In order to prevent issues with old installations you may want to remove them. Type where java and where javac. They should only show the new and no old entries:
https://i.imgur.com/x5k1GxG.png

If that is not the case, you may want to clean up. Therefore, type "environment variable" into the Windows search and follow the dialog. You will see two entries for a variable called Path, one for your user and one for the system. This variable tells Windows where to look for commands, like java and javac.
https://i.imgur.com/3bN9QE2.png

Edit both. Make sure that they only list the entry to your new Java installation and remove all the old entries you have seen with the where command before:
https://i.imgur.com/JAYog1U.png

Confirm and close all dialogs. Restart your CMD window and try where java and where javac again. It should only list the new installation now and nothing else.

Congratulation, your Java is now finally ready, happy coding 🎉

Eclipse Adoptium provides prebuilt OpenJDK binaries from a fully open source set of build scripts and infrastructure. Supported platforms include Linux, macOS, Windows, ARM, Solaris, and AIX.

dreamy gulch
#

the second half of it shows u where they are

grave zodiac
#

wdym

proud valley
#

Czech?

#

Jak? Je to jenom systémová proměnná

grave zodiac
#

wdym removed everything ?

#

i hope you didn't break anything

proud valley
#

Nic ti to smazat nemohlo

grave zodiac
#

please speak english

proud valley
#

Ok

dreamy gulch
#

huh

#

it cant

#

unless u deleted other stuff as well and did weird stuff

proud valley
#

Exactly

lone plumeBOT
#

Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍