Java di Ubuntu

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
rhyda
Posts: 357
Joined: 14 Jul 2012, 09:53
Location: Pemalang - Jawa Tengah
Contact:

Java di Ubuntu

Postby rhyda » 19 Sep 2012, 18:17

install jre malah gini :(
Tampilkan
root@rhyda:~# apt-get install sun-java6-jre sun-java6-plugin sun-java6-fontReading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate
root@rhyda:~# add-apt-repository "deb http://archive.canonical.com/ lucid partner"
root@rhyda:~# add-apt-repository "deb http://archive.canonical.com/ lucid partner"
root@rhyda:~# apt-get update
Get:1 http://archive.canonical.com lucid Release.gpg [198B]
Ign http://archive.canonical.com/ lucid/partner Translation-en_US
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_US
Get:2 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/upubuntu-com/m ... ia/ubuntu/ lucid/main Translation-en_US
Hit http://id.archive.ubuntu.com lucid Release.gpg
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Get:3 http://id.archive.ubuntu.com lucid-updates Release.gpg [198B]
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Get:4 http://archive.canonical.com lucid Release [8,215B]
Hit http://archive.canonical.com lucid Release
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Get:5 http://security.ubuntu.com lucid-security Release [57.3kB]
Ign http://ppa.launchpad.net lucid Release
Hit http://id.archive.ubuntu.com lucid Release
Get:6 http://archive.canonical.com lucid/partner Packages [13.6kB]
Ign http://ppa.launchpad.net lucid/main Packages
Get:7 http://id.archive.ubuntu.com lucid-updates Release [58.3kB]
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.canonical.com lucid/partner Packages
Err http://ppa.launchpad.net lucid/main Packages
404 Not Found
Get:8 http://security.ubuntu.com lucid-security/main Packages [451kB]
Hit http://id.archive.ubuntu.com lucid/main Packages
Hit http://id.archive.ubuntu.com lucid/restricted Packages
Hit http://id.archive.ubuntu.com lucid/main Sources
Hit http://id.archive.ubuntu.com lucid/restricted Sources
Hit http://id.archive.ubuntu.com lucid/universe Packages
Hit http://id.archive.ubuntu.com lucid/universe Sources
Hit http://id.archive.ubuntu.com lucid/multiverse Packages
Hit http://id.archive.ubuntu.com lucid/multiverse Sources
Get:9 http://id.archive.ubuntu.com lucid-updates/main Packages [644kB]
Get:10 http://security.ubuntu.com lucid-security/restricted Packages [2,867B]
Get:11 http://security.ubuntu.com lucid-security/main Sources [130kB]
Get:12 http://id.archive.ubuntu.com lucid-updates/restricted Packages [4,630B]
Get:13 http://id.archive.ubuntu.com lucid-updates/main Sources [228kB]
Get:14 http://security.ubuntu.com lucid-security/restricted Sources [1,267B]
Get:15 http://security.ubuntu.com lucid-security/universe Packages [135kB]
Get:16 http://id.archive.ubuntu.com lucid-updates/restricted Sources [2,196B]
Get:17 http://id.archive.ubuntu.com lucid-updates/universe Packages [277kB]
Get:18 http://security.ubuntu.com lucid-security/universe Sources [42.0kB]
Get:19 http://security.ubuntu.com lucid-security/multiverse Packages [5,353B]
Get:20 http://security.ubuntu.com lucid-security/multiverse Sources [2,321B]
Get:21 http://id.archive.ubuntu.com lucid-updates/universe Sources [103kB]
Get:22 http://id.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:23 http://id.archive.ubuntu.com lucid-updates/multiverse Sources [5,821B]
Fetched 2,185kB in 19s (114kB/s)
W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/m ... ackages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
root@rhyda:~# apt-get install sun-java6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package sun-java6-jre has no installation candidate
root@rhyda:~# apt-get install sun-java6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate
root@rhyda:~# add-apt-repository "deb http://archive.canonical.com/ lucid partner"
root@rhyda:~# apt-get install sun-java6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate
root@rhyda:~# apt-get update
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ lucid/partner Translation-en_US
Hit http://archive.canonical.com lucid Release.gpg
Ign http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/upubuntu-com/m ... ia/ubuntu/ lucid/main Translation-en_US
Hit http://security.ubuntu.com lucid-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Hit http://id.archive.ubuntu.com lucid Release.gpg
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Hit http://id.archive.ubuntu.com lucid-updates Release.gpg
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://id.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_US
Hit http://archive.canonical.com lucid Release
Ign http://ppa.launchpad.net lucid Release
Hit http://security.ubuntu.com lucid-security Release
Hit http://id.archive.ubuntu.com lucid Release
Hit http://archive.canonical.com lucid Release
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://id.archive.ubuntu.com lucid-updates Release
Hit http://archive.canonical.com lucid/partner Packages
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Hit http://id.archive.ubuntu.com lucid/main Packages
Hit http://id.archive.ubuntu.com lucid/restricted Packages
Hit http://id.archive.ubuntu.com lucid/main Sources
Hit http://id.archive.ubuntu.com lucid/restricted Sources
Hit http://archive.canonical.com lucid/partner Packages
Err http://ppa.launchpad.net lucid/main Packages
404 Not Found
Hit http://id.archive.ubuntu.com lucid/universe Packages
Hit http://id.archive.ubuntu.com lucid/universe Sources
Hit http://id.archive.ubuntu.com lucid/multiverse Packages
Hit http://id.archive.ubuntu.com lucid/multiverse Sources
Hit http://id.archive.ubuntu.com lucid-updates/main Packages
Hit http://id.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://id.archive.ubuntu.com lucid-updates/main Sources
Hit http://id.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://id.archive.ubuntu.com lucid-updates/universe Packages
Hit http://id.archive.ubuntu.com lucid-updates/universe Sources
Hit http://id.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://id.archive.ubuntu.com lucid-updates/multiverse Sources
W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/m ... ackages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.

root@rhyda:~# apt-get install sun-java6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jre has no installation candidate
Last edited by rhyda on 27 Feb 2016, 20:55, edited 1 time in total.
Reason: spoiler
User avatar
Sudoers
Site Admin
Posts: 1
Joined: 03 Nov 2009, 17:43

Re: Java di Ubuntu

Postby Sudoers » 19 Sep 2012, 19:10

Paketnya uda ngak tersedia di Ubuntu kali tuh, masalah lisensi.
Install openjdk-6-jre
User avatar
rhyda
Posts: 357
Joined: 14 Jul 2012, 09:53
Location: Pemalang - Jawa Tengah
Contact:

Re: Java di Ubuntu

Postby rhyda » 19 Sep 2012, 19:21

apt-get install openjdk-6-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-6-jre is already the newest version.
openjdk-6-jre set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
User avatar
Sudoers
Site Admin
Posts: 1
Joined: 03 Nov 2009, 17:43

Re: Java di Ubuntu

Postby Sudoers » 20 Sep 2012, 10:39

Itu uda ada java-jrenya.
Mo ngapain dengan si jre java?

Kalo sekedar mo jalanin aplikasi base java install juga jdk nya.
User avatar
rhyda
Posts: 357
Joined: 14 Jul 2012, 09:53
Location: Pemalang - Jawa Tengah
Contact:

Re: Java di Ubuntu

Postby rhyda » 20 Sep 2012, 19:04

mau bikin aplikasi java :grin:
User avatar
Ravie_kids
Posts: 156
Joined: 14 May 2012, 10:37
Location: Tangerang, Indonesia
Contact:

Re: Java di Ubuntu

Postby Ravie_kids » 21 Sep 2012, 15:15

Langkah-langkah instalasi Sun Java 6 di Ubuntu 10.04, 11.04, 11.10

Langkah 1 :
$ sudo apt-get purge openjdk*


klo openJDKnya blom diinstal lanjut langkah ke 2.

Langkah 2 :
$ sudo apt-add-repository ppa:flexiondotorg/java


Langkah 3 :
$ sudo apt-get update


Langkah 4 :
$ sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin




tambahan aja.. :)
User avatar
rhyda
Posts: 357
Joined: 14 Jul 2012, 09:53
Location: Pemalang - Jawa Tengah
Contact:

Re: Java di Ubuntu

Postby rhyda » 21 Sep 2012, 19:43

maacih :blush:
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Re: Java di Ubuntu

Postby ilham2930 » 22 Sep 2012, 08:39

pake openJDK aja, lebih maknyus... :D
btw trit mu saya edit ya, ta tambahkan spoiler aja, biar rapih...
User avatar
rhyda
Posts: 357
Joined: 14 Jul 2012, 09:53
Location: Pemalang - Jawa Tengah
Contact:

Re: Java di Ubuntu

Postby rhyda » 22 Sep 2012, 11:35

maacih om, nggak ngerti gituan sih :grin:
User avatar
miko27
Posts: 11
Joined: 04 Oct 2012, 16:21
Location: Malang,Indonesia
Contact:

Re: Java di Ubuntu

Postby miko27 » 04 Oct 2012, 16:45

mantap nih...bgus buat newbie ..

Return to “Aplikasi Ubuntu”

Who is online

Users browsing this forum: No registered users and 4 guests