- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How to Install JAVA or JDK on Linux | How to Setup different Java Versions on Linux || Java on Linux
#JavaSetupOnLinux #JavaOnLinux #JavaJdkInstallationOnLinux #opengyanhouse
This video is about java or jdk setup on Linux server.
If you want to setup or install java in Linux so be with me in this video :
Step 1 :-
Download java pkg from oracle website.
https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html
You have to create a user account for package downloading.
As per your requirement download java pkg/rpm for operating system. Please check OS configuration before downloading the 32 or 64 bit package.
Step 2 :-
Upload or copy this package into the linux server.
Step 3 :-
If you have copied rpm, then you need to execute below command
rpm -ivh jdk-8xxxxxxxxxxxx.rpm
If you have copied tar.gz package, then you have to execute below command
tar -zxvf jdk-8xxxxxxxxxxxx.tar.gz
or
tar -xvf jdk-8xxxxxxxxxxxx.tar.gz
Once you are done with it. So installation is done.
Step 4 :-
Set path for java home. Please update /etc/profile or /root/.bashrc file with below lines
Make sure you have installed Java already on linux
Now
#vi ~/.bashrc OR vi ~/.bash_profile
add lines :
export JAVA_HOME=/home/opengyanhouse/javapkg/jdkxxxx
export PATH=$JAVA_HOME/bin:$PATH
save the file.
execute source command to make this changes effected.
#source ~/.bashrc OR source ~/.bash_profile
Execute echo to print the value
#echo $JAVA_HOME
Output should print the java home path, where java bin is exist
Step 5 :-
If you have multiple java version in single operating system so please use below command and set priority of use
#update-alternatives --config java
This command will list out all the installed java version.
Now installation is done and you can use the java. :)
===============================================================================
how to setup java
how to setup jdk
how to install java8
how to setup jdk8
java installation in linux
jdk installation on linux
multiple java on single os
multiple java version on single linux server
Видео How to Install JAVA or JDK on Linux | How to Setup different Java Versions on Linux || Java on Linux канала OpenGyanHouse
This video is about java or jdk setup on Linux server.
If you want to setup or install java in Linux so be with me in this video :
Step 1 :-
Download java pkg from oracle website.
https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html
You have to create a user account for package downloading.
As per your requirement download java pkg/rpm for operating system. Please check OS configuration before downloading the 32 or 64 bit package.
Step 2 :-
Upload or copy this package into the linux server.
Step 3 :-
If you have copied rpm, then you need to execute below command
rpm -ivh jdk-8xxxxxxxxxxxx.rpm
If you have copied tar.gz package, then you have to execute below command
tar -zxvf jdk-8xxxxxxxxxxxx.tar.gz
or
tar -xvf jdk-8xxxxxxxxxxxx.tar.gz
Once you are done with it. So installation is done.
Step 4 :-
Set path for java home. Please update /etc/profile or /root/.bashrc file with below lines
Make sure you have installed Java already on linux
Now
#vi ~/.bashrc OR vi ~/.bash_profile
add lines :
export JAVA_HOME=/home/opengyanhouse/javapkg/jdkxxxx
export PATH=$JAVA_HOME/bin:$PATH
save the file.
execute source command to make this changes effected.
#source ~/.bashrc OR source ~/.bash_profile
Execute echo to print the value
#echo $JAVA_HOME
Output should print the java home path, where java bin is exist
Step 5 :-
If you have multiple java version in single operating system so please use below command and set priority of use
#update-alternatives --config java
This command will list out all the installed java version.
Now installation is done and you can use the java. :)
===============================================================================
how to setup java
how to setup jdk
how to install java8
how to setup jdk8
java installation in linux
jdk installation on linux
multiple java on single os
multiple java version on single linux server
Видео How to Install JAVA or JDK on Linux | How to Setup different Java Versions on Linux || Java on Linux канала OpenGyanHouse
ONS OM linux java java8 jdb8 jdk setup java on linux setup java in linux java 8 installation on linux jdb 8 setup in linux how to set path for java java not working in linux how to install java jdbk in linux how to setup multiple version of java in single operating system java on linux jdk on linux want to setup multiple java in linux server how to set java path how to use alternative java java jdk linux does linux support java can i use java in linux linux java
Комментарии отсутствуют
Информация о видео
21 июня 2020 г. 23:30:02
00:03:55
Другие видео канала





















