STEAM GROUP
Steam Universe Steam U
STEAM GROUP
Steam Universe Steam U
43,147
IN-GAME
328,125
ONLINE
Founded
September 23, 2013
All Discussions > Steam OS > Topic Details
Bun Jan 21, 2014 @ 5:15pm
how do I install java in steamOS???
Hello,
I was wondering how to install Java runtime in SteamOS. I'll be very thankful if anyone can help :)
For the moment I just want to run Multibit
Last edited by Bun; Jan 21, 2014 @ 5:15pm
< >
Showing 1-15 of 17 comments
Robbz Jan 21, 2014 @ 7:48pm 
Open a terminal and type...

sudo apt-get install openjdk-7-jdk openjdk-7-jre icedtea-7-plugin

After this it will ask you for your password.

Enjoy!
Balderick Jan 22, 2014 @ 12:27am 
Using Add/Remove Software desktop app AKA Nautilus Aptitude gpk-application is an easy way to find package names.

see:
http://steamcommunity.com/groups/steamuniverse/discussions/1/558746017905640647/#c558746017908584780
Last edited by Balderick; Sep 24, 2014 @ 1:26am
Bun Jan 22, 2014 @ 6:17pm 
I did everything on the guide, I selected the java packeages from add/remove software, then I tried installung using the commands posted by "Robbz" and I got these errors:

E: Package 'openjdk-7-jdk' has no installation candidate
E: Package 'openjdk-7-jre' has no installation candidate
E: Package 'icedtea-7-plugin' has no installation candidate

Any ideas?
Last edited by Bun; Jan 22, 2014 @ 6:26pm
directhex Jan 23, 2014 @ 12:28am 
You need to add the Debian package repositories, as Java is not in the SteamOS repositories.
GeeEl Jan 23, 2014 @ 1:29am 
Once the Debian repos are enabled you can use "sudo apt-get install -t wheezy ..." to install the Debian packages.

I found that I needed to install a tzdata-java package from the SteamOS repos first (ie. sudo apt-get install tzdata-java )
Last edited by GeeEl; Jan 23, 2014 @ 1:30am
Bun Jan 23, 2014 @ 4:37pm 
I'have already added Debian repos, installed wheezy and tzdata-java and the error persist :/
GeeEl Jan 24, 2014 @ 2:24am 
Originally posted by Evergreen2:
I'have already added Debian repos, installed wheezy and tzdata-java and the error persist :/

You're using "sudo apt-get install -t wheezy <packagename>" to install the packages?
Bun Jan 24, 2014 @ 6:25am 
Yes
I'm sorry guys I surrender.. I'll move to Linux mint, so testing SteamOS ends for me, I'll test it again in few months :)
GeeEl Jan 24, 2014 @ 2:46pm 
Ah well, good luck with Mint. I hear good things about Arch, but haven't given it a go yet.
[]

Hopefully when SteamOS is getting towards release Valve will add more of the Debian packages directly into the SteamOS repos so we don't have to fiddle around with this guff.
Last edited by GeeEl; Jan 24, 2014 @ 3:20pm
Balderick Sep 23, 2014 @ 7:07pm 
How To Install MultiBit On SteamOS
The instructions for installing multibit are very explicit and easy to follow.
All you have to do is:
  1. Go to desktop in SteamOS
  2. Download multibit for linux from the instructions on installing multibit website (see Multibit link below)
  3. Install java by
    sudo apt-get install openjdk-7-jdk
  4. Make the installer executable
    chmod +x multibit-0.5.18-linux.jar
  5. Install multibit
    java -jar multibit-0.5.18-linux.jar
  6. Follow the Getting Started[multibit.org] instructions.

All this information is found on the MultiBit How to Install[multibit.org] webpage.
Last edited by Balderick; Sep 23, 2014 @ 7:18pm
NordVPN Sep 23, 2014 @ 9:20pm 
I think he's having the same trouble I've been having. Down the dependency tree of openjdk-7-jre are some packages with similar versions in the SteamOS repos and it causes issues. I haven't figured out a way around it yet either.
Balderick Sep 23, 2014 @ 9:22pm 
When you added wheezy repository to sources.list did you make a preferences file with apt pinning and priorities?
If you did DELETE it.

Following the instruction to install java package as described - apt pulls the necessary dependencies. Simple as. No errors for me.

Here is a list of dependencies that apt installs when i install openjdk-7-jdk
ca-certificates-java icedtea-7-jre-cacao icedtea-7-jre-jamvm java-common libatk-wrapper-java libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgconf2-4 libgif4 libgnome2-0 libgnome2-common libice-dev libidl0 liborbit2 libpthread-stubs0 libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib ttf-dejavu-extra tzdata-java x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Here is what my /etc/apt directory contains
desktop@steamos:/etc/apt$ ls -al total 32 drwxr-xr-x 6 root root 4096 Sep 19 22:54 . drwxr-xr-x 110 root root 4096 Sep 24 02:52 .. drwxr-xr-x 2 root root 4096 Sep 19 22:54 apt.conf.d drwxr-xr-x 2 root root 4096 Mar 4 2014 preferences.d -rw-r--r-- 1 root root 534 Sep 19 23:22 sources.list -rw-r--r-- 1 root root 0 Sep 2 16:12 sources.list~ drwxr-xr-x 2 root root 4096 Sep 19 22:50 sources.list.d -rw------- 1 root root 1200 Sep 2 16:10 trustdb.gpg -rw------- 1 root root 0 Sep 2 16:10 trusted.gpg drwxr-xr-x 2 root root 4096 Sep 19 22:50 trusted.gpg.d
Last edited by Balderick; Sep 24, 2014 @ 12:35am
NordVPN Sep 23, 2014 @ 9:24pm 
Originally posted by 40-1PvtBalderick:
When you added wheezy repository to sources.list did you make a preferences file with apt pinning and priorities?
If you did DELETE it.

Why would I delete it? It keeps my system from randomly swapping SteamOS specific packages to other versions.
Balderick Sep 23, 2014 @ 9:31pm 
Well if you read the comments in Sharks debian repo thread it is pretty clear indicated Valve updated steamos with a method of controling and protecting sytem packages without any preferences list ;) I suggested in the comments there that Shark edit his very useful thread and after confirming it works for me with out any preferences file. In this particular case it is the difference between a working multibit install or not. Also Directhex (and official announcemets) imply this is not necessary. I tried exactly what is suggested there in the comments.

DELETE the prefernces file and reboot then update,upgrade and follow instruction from MultiBit.

Here is link to the post in the debian repo thread that implies there is absolutely no need for preferences list when adding wheezy repos. http://steamcommunity.com/groups/steamuniverse/discussions/1/648814396114274132/#c648817377347448358 The PROTIP tag is not just grandiose. Directhex is a pro ;)

I have not used a preferences file since15th January for some time. All is well.

If you understand how apt pinning works then feel free to configure your preferences file or simply tell apt what to do so you can work around issues apt is telling you about when you try to install packages from wheezy repo.
Last edited by Balderick; Sep 25, 2014 @ 1:43am
NordVPN Sep 23, 2014 @ 9:41pm 
Originally posted by 40-1PvtBalderick:
Well if you read the comments in Sharks debian repo thread it is pretty clear Valve updated steamos with a method of controling and protecting sytem packages without any preferences list ;) I suggested in the comments there that Shark edit his very useful thread and after confirming it works for me with out any preferences file. In this particular case it is the difference between a working multibit install or not. Also Directhex (and official announcemets) imply this is not necessary. I tried exactly what is suggested there in the comments.

DELETE the prefernces file update upgrade and follow instruction from MultiBit.

Here is link to the post in the debian repo thread that implies there is absolutely no need for preferences list when adding wheezy repos. http://steamcommunity.com/groups/steamuniverse/discussions/1/648814396114274132/#c648817377347448358 The PROTIP tag is not just grandiose. Directhex is a pro ;)

I have not used a preferences file since 15th January. All is well.

If you understand how apt pinning works then feel free to configure your preferences file so you do not get errors when you try to install from wheezy repo.

Could you link the official announcement you said says this? No offense but I don't know who Directhex is.
< >
Showing 1-15 of 17 comments
Per page: 1530 50

All Discussions > Steam OS > Topic Details
Date Posted: Jan 21, 2014 @ 5:15pm
Posts: 17