Installing Java on Linux Mint and Ubuntu

preview_player
Показать описание
This video attempts to show how to install java on Linux Mint using a script I made. The same steps will work for Ubuntu as well. Hopefully it helps somebody.

The links as promised:
Sorry for the poor audio and voice quality. I wasn't feeling well when I recorded this and my heater kept kicking on halfway through the recording.

Good gravy the captions o_o
Рекомендации по теме
Комментарии
Автор

Thank you so much this video is the reason im still on linux


Juhgoot
Автор

I just successfully used this with jre 8u161 and it worked like a charm. Thanks

ushiugajin
Автор

Thanks! I was beating my head against the proverbial wall! It worked perfectly!

according_to_Gerg
Автор

Very easy to use, thanks for the help!

jasisdia
Автор

very helpfull thank you so much you solved my problem

connordrury
Автор

You're awesome. Thanks a whole bunch dude. Kudos to you man. Make more linux videos. I'm trying to relearn linux after 6 years of not using linux and this helped a bit

HelloWorld-yygk
Автор

You copy all the text in the code box in the thread. The select all button makes this easy. you then open your favorite text editor (gedit is good for this, unless you're on KDE), paste the text, and save the file as javainstall.sh.

bigj
Автор

Good. I'm glad you found this helpful. Maybe next time you can make a better one. Have a nice day.

bigj
Автор

And to elaborate, most of the script was copy-paste from the original instructions. I just tried to make a usable front-end for them. Feel free to add to the script. If you let me know of the changes you make, I can change the original and improve it.

bigj
Автор

Glad you got it to work. If you don't want to edit the script, you should be able to input the path and filename where it asks you. You solution is perfectly acceptable. Maybe some day I'll edit the script to ask whether you're installing the JDK or the JRE and adjust accordingly.

bigj
Автор

how do i change the directory to downloads

thomasmockry
Автор

You'll have to input the correct architecture (32), the correct java version number (7), and the update number (probably 25). Make sure the java package is in your ~/Downloads/ folder (Home/USERNAME/Downloads/)

bigj
Автор

this is awesome! you should modify this to work on other distros like sabayon and suse! even though there was an rpm.... haha

mysticNTN
Автор

Did you even read the title of the video?
First, this script is for Linux. It will not do anything on Windows.
Second, to use it on Linux, you have to make it executable. I show you how to do that in the video.

bigj
Автор

Download the Java file to the default directory. Download the script and make it executable. Put in the right numbers and your password when it asks for that. then keep pressing return (enter) until it finishes.

bigj
Автор

Just press enter. Read the description and the links therein.

bigj
Автор

It shouldn't be too hard to modify, the only thing you might have to change is the package manager lines and maybe some of the directories. The rest of the script should work just fine.

bigj
Автор

please help i get to about 3:00 and i hit enter and it says "please input a valid filename" help?

LilSparky
Автор

Did you make sure that you input the correct filename and path? (i.e. the one listed in the terminal) In Ubuntu and Mint, you should just have to press enter after you download the file and input the correct version and update numbers. Check your downloads directory to make sure the java package is there.
Also, don't run the script as root. It uses sudo when necessary.

bigj
Автор

You could modify it to work, but it will not work as it is. It's built for debian-style package management. If you can change the APT lines into their RPM equivalents, then it could be made to work.You will most likely have to modify the directories too.

bigj