Installing Java on Windows
>download executable
>wait
>installed
Installing Java on Linux
>download tar.gz
>change directories multiple times
>run 3 different commands
>update a .bashc using text from 3rd party site
>finally installed
I want to enjoy Linux, I really do, but how do you all stand having to suffer through all that? Playing devil's advocate, pale moon felt easier to install on Linux than Windows, which I loved.
I just don't understand why you all say how superior Linux is when half the time you need to do a shit ton more work to make a program run compared to Windows, or even iOS.
That's Oracle's fault. They stopped allowing the Linux distributions to repackage Oracle Java, so now you have to do that BS or use OpenJDK. I usually use OpenJDK since it's much less shitty.
>>51707171
>using java
>ever
[/code]
apt-get install default-jre
pacman -Sy jre8-openjdk
[/code]
Use the webupd8 repo, install, ready to use.
The good part is that it doesn't try to intall ask toolbar.
>>51707171
Installing Java on Linux is actually pretty easy, but I've looked for ages and haven't seen this written anywhere:
>download tar.gz
>extract
>sudo mkdir /usr/java
>sudo cp jre1.8.whatever/ /usr/java
>sudo ln -s /usr/java/jre1.8.whatever/bin/java /usr/bin/java
it just werks except when your package manager then also tries to install Java. Don't let it do that. Yeah, it's not Windows easy but you could write a script yourself that does this so updating is easier.
>>51707171
Installing Java on Windows
>search web for executable
>download executable
>wait
>installed
>with adware toolbars
Installing Java on Linux
>apt-get install openjdk-7-jdk
Where is your god now? (pic related)
Wait, so Java is the reason its so shitty?
I'm sorry, I'm new to the OS, pls no bully.
>>51707203
Tell me more about OpenJDK. Is it just the same as the oracle?
>>51707208
It's my goto language to work with.
>>51707256
Where do you all find these repos?
>>51707267
>not unticking the ask option
Pls
>>51707171
>download tar.gz
>change directories multiple times
>run 3 different commands
>update a .bashc using text from 3rd party site
>finally installed
>Not enjoying RPM based goodness and using a shell script to set alternatives...
>Manually adjusting your path
>Not using symbolic links
>Changing directories and not splitting commands over multiple lines
>2015
Are you high OP, or just can't use linux?
>>51707373
Just can't use Linux m8.
Running Mint inna virtualbox right now so I can one day make the permanent switch.
>>51707294
webupd8.org
>>51707426
you can install java more easily by just saying
sudo apt-get install openjdk-7-jdk
if you have a specific reason to use oracle, then maybe you have a couple extra steps, but really, just use the package manager.
linux doesn't really like the whole "double-click the dumbdumb msi installer" type BS, it's all about command line automation
>>51707171
Emerge some of these OP
>>51707674
i knew i didn't manually install shit
>>51707171
emerge -juND dev-java/oracle-jre-bin
wait
done
>>51707171
No, retard; Java comes with almost all linux distro.
Here's how you install jdk:
$ pacman -S jdk8-openjdk
>>51707294
openjdk is basically Java without the Oracle pig AIDS, malware, and security holes. It's actually the official reference implementation of the Java language as of 7.X.
>>51707973
>pacman
>>51707171
Well, you see, the secret is to brew your Java in a Mr. Coffee, and drink it fresh.
>>51708126
What's wrong with pacman?
>>51707426
>>>/flt/
>>51707171
If you can't stand running a few commands, you shouldn't be using a distro. Linux is a terminal themed OS.
Try installing sublime text on gentoo
>wget package from github
>run bash script
>emerge layman
>layman -a sublime-text
>cd to layman repos
>ebuild sublime.ebuild install
>enjoy
>>51708594
nothing, probably an ubuntu user
>>51709670
Use openjdk.
It's in the repos, and much better.
And it's not like the windows version is that simple
>Uncheck each box or get spyware.
>>51709705
Oops, didn't mean for that to be a reply.
>>51708126
>quoting pacman
>>51707171
>installing java on linux
>apt-get install default-jre-8
>press y
>installed
>>51708097
>Java without the HotSpot VM
OpenJDK is shit.
>www.ninite.com
>tick java+jdk
>dl+run installer
take that linkeks
>>51707171
I made this image. Please continue to use it.
>>51710210
Never heard of "default-jre-8", thanks anon!
>>51707171
>download
>wait
>installed
Hate to break it to you, but that's probably not Java that got installed. Did you click on a popup again?
>>51709670
>layman
>not using based repos.conf
>>51710229
It's really not. I've had far fewer problems with OpenJDK over the years compared to Oracle Java.
Why is oracle such a horrible company?
Their name is nice as fuck, one could expect something different from a company with a nice name
>>51712075
Thanks :3
>>51707171
>installing java on linux
>apt-get install java
but well, let's say you need oracle java
>download tar.gz
>unpack
>link java
>link javac
>done
what is your problem