#(SOLVED) How do I install Java 21 on Mint?

34 messages · Page 1 of 1 (latest)

golden ingot
quick saffron
golden ingot
#

figured out apt

#

thanks

#

just did your original message lol not the tutorial

#

RESOLVED

tall pebble
# golden ingot

Glad you found a decent alternative to this. FYI, when you encounter a .sh file (shell script) right click it and open-with : text editor and have a quick read, to see if any blatantly obvious malice is listed in it. Afterwards you can drag the file onto open terminal and press Enter. OR you can "dot-slash" it, which is a way to run it in terminal, by doing ./scriptname.sh in its residing directory

tall pebble
#

ah

golden ingot
tall pebble
#

u'd have to mark it executable first either in the file manager properties> permissions box, or by command

#

then dot slash it

golden ingot
#

ye its executeable

#

is their a way to make it run when double clicked or do i need to go thru the dialog box each time

tall pebble
#

did u put the shebang in the very first line of file?

golden ingot
tall pebble
#

Yeah you can likely accept the warning popup on double click, and have it remember to run that type of file each time

tall pebble
#

I've always seen it as /bin/bash

golden ingot
#

like how do i skip this and just run it double clicking

golden ingot
tall pebble
#

oh I thought it would have a "remember" checkbox

tall pebble
golden ingot
#

its my second day as a linux user

tall pebble
#

google "linux shebang"

golden ingot
#

wait thats the actual term for it lmao

tall pebble
tall pebble
golden ingot
#

found the option

quick saffron
golden ingot
#

whelp gonna mark solved now