Langsung ke konten utama

SET java-8-oracle HOME /etc/bash.bashrc


Assalamu'alaikum Warahmatullaahi Wabarakaatuh.


Berikut history tengtang set java home

server@server-VirtualBox:~$ cd /usr/lib/jvm/
server@server-VirtualBox:/usr/lib/jvm$ ls
java-8-oracle
server@server-VirtualBox:/usr/lib/jvm$

export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export PATH=$JAVA_HOME/bin:$PATH

server@server-VirtualBox:~$ sudo gedit /etc/bash.bashrc
[sudo] password for server:

(gedit:3467): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
export PATH=$JAVA_HOME/bin:$PATH
** (gedit:3467): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported

** (gedit:3467): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

** (gedit:3467): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
server@server-VirtualBox:~$ export JAVA_HOME=/usr/lib/jvm/java-7-oracle
server@server-VirtualBox:~$ source /etc/bash.bashrc
server@server-VirtualBox:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
server@server-VirtualBox:~$ sudo apt-get install alien libaio1 unixodbc
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  autotools-dev debhelper debugedit dh-strip-nondeterminism libfile-stripnondeterminism-perl
  libmail-sendmail-perl libodbc1 librpm3 librpmbuild3 librpmio3 librpmsign3 libsys-hostname-long-perl
  odbcinst odbcinst1debian2 po-debconf rpm rpm-common rpm2cpio
Suggested packages:
  dh-make rpm-i18n libmyodbc odbc-postgresql tdsodbc unixodbc-bin libmail-box-perl elfutils rpmlint
  rpm2html
The following NEW packages will be installed:
  alien autotools-dev debhelper debugedit dh-strip-nondeterminism libaio1
  libfile-stripnondeterminism-perl libmail-sendmail-perl libodbc1 librpm3 librpmbuild3 librpmio3
  librpmsign3 libsys-hostname-long-perl odbcinst odbcinst1debian2 po-debconf rpm rpm-common rpm2cpio
  unixodbc
0 upgraded, 21 newly installed, 0 to remove and 435 not upgraded.
Need to get 1.884 kB of archives.
After this operation, 5.188 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://kambing.ui.ac.id/ubuntu xenial/main i386 po-debconf all 1.0.19 [234 kB]
Get:2 http://kambing.ui.ac.id/ubuntu xenial/main i386 libfile-stripnondeterminism-perl all 0.015-1 [10,3 kB]
Get:3 http://kambing.ui.ac.id/ubuntu xenial/main i386 dh-strip-nondeterminism all 0.015-1 [4.864 B]
Get:4 http://kambing.ui.ac.id/ubuntu xenial/main i386 autotools-dev all 20150820.1 [39,8 kB]
Get:5 http://kambing.ui.ac.id/ubuntu xenial/main i386 debhelper all 9.20160115ubuntu3 [739 kB]
Get:6 http://kambing.ui.ac.id/ubuntu xenial/universe i386 librpmio3 i386 4.12.0.1+dfsg1-3build3 [74,3 kB]
Get:7 http://kambing.ui.ac.id/ubuntu xenial/universe i386 librpm3 i386 4.12.0.1+dfsg1-3build3 [174 kB]
Get:8 http://kambing.ui.ac.id/ubuntu xenial/universe i386 librpmbuild3 i386 4.12.0.1+dfsg1-3build3 [64,8 kB]
Get:9 http://kambing.ui.ac.id/ubuntu xenial/universe i386 librpmsign3 i386 4.12.0.1+dfsg1-3build3 [9.058 B]
Get:10 http://kambing.ui.ac.id/ubuntu xenial/universe i386 rpm-common i386 4.12.0.1+dfsg1-3build3 [26,1 kB]
Get:11 http://kambing.ui.ac.id/ubuntu xenial/universe i386 rpm2cpio i386 4.12.0.1+dfsg1-3build3 [7.804 B]
Get:12 http://kambing.ui.ac.id/ubuntu xenial/universe i386 debugedit i386 4.12.0.1+dfsg1-3build3 [16,3 kB]
Get:13 http://kambing.ui.ac.id/ubuntu xenial/universe i386 rpm i386 4.12.0.1+dfsg1-3build3 [115 kB]
Get:14 http://kambing.ui.ac.id/ubuntu xenial/universe i386 alien all 8.95 [54,5 kB]
Get:15 http://kambing.ui.ac.id/ubuntu xenial/main i386 libaio1 i386 0.3.110-2 [6.646 B]
Get:16 http://kambing.ui.ac.id/ubuntu xenial/main i386 libsys-hostname-long-perl all 1.5-1 [11,7 kB]
Get:17 http://kambing.ui.ac.id/ubuntu xenial/main i386 libmail-sendmail-perl all 0.79.16-1 [26,5 kB]
Get:18 http://kambing.ui.ac.id/ubuntu xenial/main i386 libodbc1 i386 2.3.1-4.1 [192 kB]
Get:19 http://kambing.ui.ac.id/ubuntu xenial/main i386 odbcinst1debian2 i386 2.3.1-4.1 [43,5 kB]
Get:20 http://kambing.ui.ac.id/ubuntu xenial/main i386 odbcinst i386 2.3.1-4.1 [13,4 kB]
Get:21 http://kambing.ui.ac.id/ubuntu xenial/main i386 unixodbc i386 2.3.1-4.1 [20,4 kB]
Fetched 1.884 kB in 3s (525 kB/s)
Selecting previously unselected package po-debconf.
(Sedang membaca basis data ...  172503 berkas atau direktori telah terpasang.)
Preparing to unpack .../po-debconf_1.0.19_all.deb ...
Unpacking po-debconf (1.0.19) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../libfile-stripnondeterminism-perl_0.015-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.015-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../dh-strip-nondeterminism_0.015-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.015-1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20150820.1_all.deb ...
Unpacking autotools-dev (20150820.1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20160115ubuntu3_all.deb ...
Unpacking debhelper (9.20160115ubuntu3) ...
Selecting previously unselected package librpmio3.
Preparing to unpack .../librpmio3_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking librpmio3 (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package librpm3.
Preparing to unpack .../librpm3_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking librpm3 (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package librpmbuild3.
Preparing to unpack .../librpmbuild3_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking librpmbuild3 (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package librpmsign3.
Preparing to unpack .../librpmsign3_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking librpmsign3 (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package rpm-common.
Preparing to unpack .../rpm-common_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking rpm-common (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package rpm2cpio.
Preparing to unpack .../rpm2cpio_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking rpm2cpio (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package debugedit.
Preparing to unpack .../debugedit_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking debugedit (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package rpm.
Preparing to unpack .../rpm_4.12.0.1+dfsg1-3build3_i386.deb ...
Unpacking rpm (4.12.0.1+dfsg1-3build3) ...
Selecting previously unselected package alien.
Preparing to unpack .../archives/alien_8.95_all.deb ...
Unpacking alien (8.95) ...
Selecting previously unselected package libaio1:i386.
Preparing to unpack .../libaio1_0.3.110-2_i386.deb ...
Unpacking libaio1:i386 (0.3.110-2) ...
Selecting previously unselected package libsys-hostname-long-perl.
Preparing to unpack .../libsys-hostname-long-perl_1.5-1_all.deb ...
Unpacking libsys-hostname-long-perl (1.5-1) ...
Selecting previously unselected package libmail-sendmail-perl.
Preparing to unpack .../libmail-sendmail-perl_0.79.16-1_all.deb ...
Unpacking libmail-sendmail-perl (0.79.16-1) ...
Selecting previously unselected package libodbc1:i386.
Preparing to unpack .../libodbc1_2.3.1-4.1_i386.deb ...
Unpacking libodbc1:i386 (2.3.1-4.1) ...
Selecting previously unselected package odbcinst1debian2:i386.
Preparing to unpack .../odbcinst1debian2_2.3.1-4.1_i386.deb ...
Unpacking odbcinst1debian2:i386 (2.3.1-4.1) ...
Selecting previously unselected package odbcinst.
Preparing to unpack .../odbcinst_2.3.1-4.1_i386.deb ...
Unpacking odbcinst (2.3.1-4.1) ...
Selecting previously unselected package unixodbc.
Preparing to unpack .../unixodbc_2.3.1-4.1_i386.deb ...
Unpacking unixodbc (2.3.1-4.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Sedang menata po-debconf (1.0.19) ...
Sedang menata libfile-stripnondeterminism-perl (0.015-1) ...
Sedang menata autotools-dev (20150820.1) ...
Sedang menata librpmio3 (4.12.0.1+dfsg1-3build3) ...
Sedang menata librpm3 (4.12.0.1+dfsg1-3build3) ...
Sedang menata librpmbuild3 (4.12.0.1+dfsg1-3build3) ...
Sedang menata librpmsign3 (4.12.0.1+dfsg1-3build3) ...
Sedang menata rpm-common (4.12.0.1+dfsg1-3build3) ...
Sedang menata rpm2cpio (4.12.0.1+dfsg1-3build3) ...
Sedang menata debugedit (4.12.0.1+dfsg1-3build3) ...
Sedang menata rpm (4.12.0.1+dfsg1-3build3) ...
Sedang menata libaio1:i386 (0.3.110-2) ...
Sedang menata libsys-hostname-long-perl (1.5-1) ...
Sedang menata libmail-sendmail-perl (0.79.16-1) ...
Sedang menata libodbc1:i386 (2.3.1-4.1) ...
Sedang menata debhelper (9.20160115ubuntu3) ...
Sedang menata alien (8.95) ...
Sedang menata odbcinst1debian2:i386 (2.3.1-4.1) ...
Sedang menata odbcinst (2.3.1-4.1) ...
Sedang menata unixodbc (2.3.1-4.1) ...
Sedang menata dh-strip-nondeterminism (0.015-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

server@server-VirtualBox:~$

Terima kasih Semoga bermanfaat

Terima Kasih atas kunjungan di blog ini.


Wassalamu'alaikum Warahmatullaahi Wabarakaatuh.

#java #ubuntu #opensource #setjava #linux


Postingan populer dari blog ini

HATI HATI DAPAT INBOX WHATSHAP KERJA PARUH WAKTU

  https://t.me/bliblicenter Scam Bot penipu @C_Caroline1 Website Penipu https://bliwallet.top/#/user https://bliwallet.vip/#/user https://bliwallet.cc/#/user https://prgcompany.com/

Kebutuhan Perangkat VoIP untuk Optimalisasi Komunikasi Bisnis

 Panduan Lengkap Kebutuhan Perangkat VoIP Voice over Internet Protocol (VoIP ) adalah teknologi komunikasi modern yang mengubah cara kita berinteraksi dengan orang lain. Dalam dunia bisnis, perangkat VoIP telah menjadi solusi yang lebih terjangkau dan efektif dalam berkomunikasi dengan pelanggan, mitra bisnis, dan karyawan di seluruh dunia. Namun, dengan beragam pilihan perangkat VoIP yang tersedia di pasar, memilih perangkat yang tepat bisa menjadi tugas yang menantang. Dalam blog ini, kami akan membahas tentang kebutuhan perangkat VoIP dan faktor-faktor yang harus dipertimbangkan sebelum membeli perangkat VoIP . Kami akan membahas berbagai jenis perangkat VoIP yang tersedia, fitur-fitur penting yang harus dipertimbangkan, dan cara mengoptimalkan penggunaan perangkat VoIP Anda. Dengan memperhatikan hal-hal tersebut, Anda dapat memilih perangkat VoIP yang tepat dan memaksimalkan pengalaman komunikasi Anda. Bagi banyak orang, perangkat telepon konvensional sudah menjadi hal ...

Pengertian Master/Slave Architecture Di Hadoop

  Assalamu Alaikum waramatullah wabarokatuh; Hai teman-teman, selamat datang kembali di modul ketiga dari data science and technology series, yaitu modul teknologi dan manajemen big data. Di bagian sebelumnya, kita telah belajar tentang Cluster dan nodes. Di bagian ini kita akan melanjutkan mengenai HDFS dan MapReduce. Sudah siap? Mari kita mulai. Seperti yang sudah saya ceritakan sebelumnya, dua komponen utama dari Hadoop adalah Hadoop distributed file system atau HDFS dan MapReduce. HDFS ini seperti sejarahnya terinspirasi dari GFS atau Google file system dan tujuan dari HDFS adalah untuk mengurusin storage atau penyimpanan data, data ini bisa berupa macam-macam files.  Bagaimana dengan MapReduce? MapReduce ini terinspirasi dari MapReduce algorithm yang dibuat oleh Google. Tujuannya adalah untuk mengurus data processing-nya. Jadi HDFS untuk storage-nya, MapReduce untuk processing. Bagaimana cara kerja Hadoop? Seperti video yang sudah ditunjukan dibagian sebelumnya, kita meng...