STEAM 그룹
Steam Universe Steam U
STEAM 그룹
Steam Universe Steam U
46,662
게임 중
342,006
온라인
설립
2013년 9월 23일
모든 토론 > Steam OS > 제목 정보
Bun 2014년 1월 21일 오후 5시 15분
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
Bun 님이 마지막으로 수정; 2014년 1월 21일 오후 5시 15분
< >
전체 댓글 17개 중 1~15개 표시 중
Robbz 2014년 1월 21일 오후 7시 48분 
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 2014년 1월 22일 오전 12시 27분 
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
Balderick 님이 마지막으로 수정; 2014년 9월 24일 오전 1시 26분
Bun 2014년 1월 22일 오후 6시 17분 
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?
Bun 님이 마지막으로 수정; 2014년 1월 22일 오후 6시 26분
directhex 2014년 1월 23일 오전 12시 28분 
You need to add the Debian package repositories, as Java is not in the SteamOS repositories.
GeeEl 2014년 1월 23일 오전 1시 29분 
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 )
GeeEl 님이 마지막으로 수정; 2014년 1월 23일 오전 1시 30분
Bun 2014년 1월 23일 오후 4시 37분 
I'have already added Debian repos, installed wheezy and tzdata-java and the error persist :/
GeeEl 2014년 1월 24일 오전 2시 24분 
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 2014년 1월 24일 오전 6시 25분 
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 2014년 1월 24일 오후 2시 46분 
Ah well, good luck with Mint. I hear good things about Arch, but haven't given it a go yet.
[ EDIT: Note that I've heard that Arch isn't really a beginner distribution ]

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.
GeeEl 님이 마지막으로 수정; 2014년 1월 24일 오후 3시 20분
Balderick 2014년 9월 23일 오후 7시 07분 
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.
Balderick 님이 마지막으로 수정; 2014년 9월 23일 오후 7시 18분
NordVPN 2014년 9월 23일 오후 9시 20분 
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 2014년 9월 23일 오후 9시 22분 
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
Balderick 님이 마지막으로 수정; 2014년 9월 24일 오전 12시 35분
NordVPN 2014년 9월 23일 오후 9시 24분 
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 2014년 9월 23일 오후 9시 31분 
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.
Balderick 님이 마지막으로 수정; 2014년 9월 25일 오전 1시 43분
NordVPN 2014년 9월 23일 오후 9시 41분 
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.
< >
전체 댓글 17개 중 1~15개 표시 중
페이지당 표시 개수: 1530 50

모든 토론 > Steam OS > 제목 정보
게시된 날짜: 2014년 1월 21일 오후 5시 15분
게시글: 17