Problem z odpaleniem serwera Minecraft na VPS

Zombie
vps, minecraft
mrk
mrk
anon10657637
anon10657637

Zobacz uważnie co wpisujesz.

DoreK
DoreK α-tester v3

Proponowałbym żebyś wysłał komendę którą chcesz uruchomić serwer :V

mrk
mrk

Dziś zacząłem wszystko od nowa na spokojnie to teraz w momencie gdy chcę włączyć serwer mam takie coś 😦

Cannot open your terminal '/dev/pts/1' - please check. husbox@ubuntu:~$ Cannot open your terminal '/dev/pts/1' - please check.

PS. Robię serwer na forge może to jakiś problem.

PS2. Zresztą teraz znów wywala mi to co na ss z temamu !! (SZUKAM ZAUFANEJ OSOBY CO MI TO OGARNIE)

kubus
kubus

Echh pewnie z konta roota przelączyles się na usera. Wpisz script /dev/null

mrk
mrk

Teraz to wymiękam już powoli 😦

Co do konta to zrobiłem osobne konto na serwer ale jak próbuje zrobić serwer na roocie też nie działa już nawet wrzuciłem pliki w folder home i dalej nic

zawartość start.sh java -Xmx7G -Xms8G -jar mc.jar nogui.

./start.sh: line 1: java: command not found

Timo
Timo Moderator forum.lvlup.pro
mrk
mrk

apt-get update apt-get upgrade wget -qO- https://goo.gl/arA317 | sudo sh

A to co jest ?

Timo
Timo Moderator forum.lvlup.pro

Niby instalator javy. Próbowałeś go już?

mrk
mrk

No tak robiłem to właśnie Ale po tym mam to co jest teraz czyli NIC 😦

Da się jakiś wszytko od nowa zacząć robić jakiś format albo coś żeby tam nic nie było co już po wgrywałem ale nie działa

zainstalowałem javę z tego co ty mi podałeś jako root chcę odpaliś start.sh wyskakuje mi ze nie mam permissi wpisuję chmod +x start.sh a następnie ./start.sh i wyskakuje komunikat na dole konsoli:

Cannot exec 'java': No such file or directory

DBanaszewski
DBanaszewski α-tester v3

Oficjalnie polecam: https://lvlup.rok.ovh/t/instalacja-java-9-na-vpsie/4757

Co do Javy: Czy podczas instalacji otrzymałeś jakieś błędy?

Infinity
Infinity

najprosciej bedzie ci wpisac samo "java" w cmd z poziomu roota, jesli wali bledem znaczy ze javy nie masz.

mrk
mrk

Nom właśnie problem jest taki, że coś się jej nie da zainstalować 😕

mrk
mrk

Podczas instalacji javy 9 krok4: Nie instaluje się nic

root@ubuntu:/home/user# sudo apt install oracle-java9-installer Reading package lists... Done Building dependency tree Reading state information... Done N: Ignoring file 'webupd8team-java.list.' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'webupd8team-java.list.' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: Unable to locate package oracle-java9-installer root@ubuntu:/home/user#

DBanaszewski
DBanaszewski α-tester v3

mrk:

webupd8team-java.list.

Błąd. Wykonaj następujące komendy:

sudo rm -r /etc/apt/sources.list.d/webupd8team-java.list.
wget -qO- https://goo.gl/GyUGsU | sudo sh

Po prostu przy kopiowaniu dodała Ci się kropka przy pliku z repozytoriami.

mrk
mrk

Usuwanie starszych/innych wersji Java... Note, selecting 'openjdk-7-tests' for regex 'openjdk*' Note, selecting 'openjdk-jre' for regex 'openjdk*' Note, selecting 'openjdk-6-jre-lib' for regex 'openjdk*' Note, selecting 'openjdk-7' for regex 'openjdk*' Note, selecting 'openjdk-6-jdk' for regex 'openjdk*' Note, selecting 'openjdk-7-jre-zero' for regex 'openjdk*' Note, selecting 'openjdk-6-source' for regex 'openjdk*' Note, selecting 'openjdk-6-jre-headless' for regex 'openjdk*' Note, selecting 'openjdk-6-dbg' for regex 'openjdk*' Note, selecting 'openjdk-7-jdk' for regex 'openjdk*' Note, selecting 'openjdk-7-jre-headless' for regex 'openjdk*' Note, selecting 'openjdk-6-jre' for regex 'openjdk*' Note, selecting 'openjdk-7-dbg' for regex 'openjdk*' Note, selecting 'openjdk-7-jre-lib' for regex 'openjdk*' Note, selecting 'uwsgi-plugin-jvm-openjdk-6' for regex 'openjdk*' Note, selecting 'uwsgi-plugin-jvm-openjdk-7' for regex 'openjdk*' Note, selecting 'openjdk-6-doc' for regex 'openjdk*' Note, selecting 'openjdk-7-jre' for regex 'openjdk*' Note, selecting 'openjdk-7-source' for regex 'openjdk*' Note, selecting 'openjdk-6-jre-zero' for regex 'openjdk*' Note, selecting 'openjdk-7-demo' for regex 'openjdk*' Note, selecting 'openjdk-7-doc' for regex 'openjdk*' Note, selecting 'openjdk-7-jdk-headless' for regex 'openjdk*' Note, selecting 'openjdk-6-demo' for regex 'openjdk*' Note, selecting 'uwsgi-plugin-jwsgi-openjdk-6' for regex 'openjdk*' Note, selecting 'uwsgi-plugin-jwsgi-openjdk-7' for regex 'openjdk*' Package 'openjdk-7' is not installed, so not removed Package 'openjdk-jre' is not installed, so not removed Note, selecting 'openjdk-7-jdk' instead of 'openjdk-7-jdk-headless' Package 'uwsgi-plugin-jvm-openjdk-6' is not installed, so not removed Package 'uwsgi-plugin-jvm-openjdk-7' is not installed, so not removed Package 'uwsgi-plugin-jwsgi-openjdk-6' is not installed, so not removed Package 'uwsgi-plugin-jwsgi-openjdk-7' is not installed, so not removed Package 'openjdk-7-dbg' is not installed, so not removed Package 'openjdk-7-demo' is not installed, so not removed Package 'openjdk-7-doc' is not installed, so not removed Package 'openjdk-7-jdk' is not installed, so not removed Package 'openjdk-7-jre' is not installed, so not removed Package 'openjdk-7-jre-headless' is not installed, so not removed Package 'openjdk-7-source' is not installed, so not removed Package 'openjdk-7-tests' is not installed, so not removed Package 'openjdk-6-dbg' is not installed, so not removed Package 'openjdk-6-demo' is not installed, so not removed Package 'openjdk-6-doc' is not installed, so not removed Package 'openjdk-6-jdk' is not installed, so not removed Package 'openjdk-6-jre' is not installed, so not removed Package 'openjdk-6-jre-headless' is not installed, so not removed Package 'openjdk-6-jre-lib' is not installed, so not removed Package 'openjdk-6-jre-zero' is not installed, so not removed Package 'openjdk-6-source' is not installed, so not removed Package 'openjdk-7-jre-lib' is not installed, so not removed Package 'openjdk-7-jre-zero' is not installed, so not removed The following package was automatically installed and is no longer required: grub-pc-bin Use 'apt-get autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. E: Unable to locate package oracle-java* E: Couldn't find any package by regex 'oracle-java*' Jezeli byly, usunieto! Dodaje repozytoria... deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main Dodano! Dodaje klucz GPG... Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.4KmKFCGw3L --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com gpg: key EEA14886: "Launchpad VLC" not changed gpg: Total number processed: 1 gpg: unchanged: 1 Klucz zostal dodany! Aktualizacja repozytoriow... Ign http://fr.archive.ubuntu.com trusty InRelease Hit http://fr.archive.ubuntu.com trusty-updates InRelease Get:1 http://ppa.launchpad.net xenial InRelease [17.5 kB] Hit http://fr.archive.ubuntu.com trusty Release.gpg Hit http://fr.archive.ubuntu.com trusty Release Hit http://fr.archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://fr.archive.ubuntu.com trusty-updates/restricted amd64 Packages Hit http://fr.archive.ubuntu.com trusty-updates/universe amd64 Packages Get:2 http://ppa.launchpad.net xenial/main Sources [1,400 B] Hit http://fr.archive.ubuntu.com trusty-updates/main Translation-en Hit http://fr.archive.ubuntu.com trusty-updates/restricted Translation-en Hit http://fr.archive.ubuntu.com trusty-updates/universe Translation-en Hit http://fr.archive.ubuntu.com trusty/main amd64 Packages Get:3 http://ppa.launchpad.net xenial/main amd64 Packages [2,912 B] Hit http://fr.archive.ubuntu.com trusty/restricted amd64 Packages Hit http://fr.archive.ubuntu.com trusty/universe amd64 Packages Hit http://fr.archive.ubuntu.com trusty/main Translation-en_GB Hit http://fr.archive.ubuntu.com trusty/main Translation-en Get:4 http://ppa.launchpad.net xenial/main Translation-en [1,260 B] Hit http://fr.archive.ubuntu.com trusty/restricted Translation-en_GB Hit http://fr.archive.ubuntu.com trusty/restricted Translation-en Hit http://fr.archive.ubuntu.com trusty/universe Translation-en_GB Hit http://security.ubuntu.com trusty-security InRelease Hit http://fr.archive.ubuntu.com trusty/universe Translation-en Hit http://security.ubuntu.com trusty-security/main amd64 Packages Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages Hit http://security.ubuntu.com trusty-security/universe amd64 Packages Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://security.ubuntu.com trusty-security/restricted Translation-en Hit http://security.ubuntu.com trusty-security/universe Translation-en Fetched 23.1 kB in 1s (20.1 kB/s) Reading package lists... Done Aktualizacja zostala zakonczona! Akceptacja licencji... Zaakceptowano! Instalacja Java 9... Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: grub-pc-bin Use 'apt-get autoremove' to remove it. The following extra packages will be installed: binutils java-common Suggested packages: binutils-doc default-jre equivs binfmt-support visualvm ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming firefox firefox-2 iceweasel mozilla-firefox iceape-browser mozilla-browser epiphany-gecko epiphany-webkit epiphany-browser galeon midbrowser moblin-web-browser xulrunner xulrunner-1.9 konqueror chromium-browser midori google-chrome Recommended packages: gsfonts-x11 oracle-java8-set-default The following NEW packages will be installed: binutils java-common oracle-java8-installer 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 2,239 kB of archives. After this operation, 12.2 MB of additional disk space will be used. Get:1 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.2 [2,076 kB] Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu/ xenial/main oracle-java8-installer all 8u151-1webupd80 [32.9 kB] Get:3 http://fr.archive.ubuntu.com/ubuntu/ trusty/main java-common all 0.51 [130 kB] Fetched 2,239 kB in 0s (15.3 MB/s) Preconfiguring packages ... Selecting previously unselected package binutils. (Reading database ... 25014 files and directories currently installed.) Preparing to unpack .../binutils_2.24-5ubuntu14.2_amd64.deb ... Unpacking binutils (2.24-5ubuntu14.2) ... Selecting previously unselected package java-common. Preparing to unpack .../java-common_0.51_all.deb ... Unpacking java-common (0.51) ... Setting up binutils (2.24-5ubuntu14.2) ... Processing triggers for libc-bin (2.19-0ubuntu6.14) ... Selecting previously unselected package oracle-java8-installer. (Reading database ... 25246 files and directories currently installed.) Preparing to unpack .../oracle-java8-installer_8u151-1webupd80_all.deb ... oracle-license-v1-1 license has already been accepted Unpacking oracle-java8-installer (8u151-1webupd80) ... Processing triggers for mime-support (3.54ubuntu1.1) ... Setting up java-common (0.51) ... Setting up oracle-java8-installer (8u151-1webupd80) ... No /var/cache/oracle-jdk8-installer/wgetrc file found. Creating /var/cache/oracle-jdk8-installer/wgetrc and using default oracle-java8-installer wgetrc settings for it. Downloading Oracle Java 8... --2018-01-17 14:15:51-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.45.100.92 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following] --2018-01-17 14:15:51-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.62.198.138, 2a02:26f0:2d:1b4::2d3e, 2a02:26f0:2d:1b7::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.62.198.138|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516198671_c5fa822f3a8e81d6e825cc3a793f2a86 [following] --2018-01-17 14:15:51-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516198671_c5fa822f3a8e81d6e825cc3a793f2a86 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-17 14:15:51 ERROR 404: Not Found.

download failed Oracle JDK 8 is NOT installed. dpkg: error processing package oracle-java8-installer (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: oracle-java8-installer E: Sub-process /usr/bin/dpkg returned an error code (1) Zainstalowano! root@ubuntu:/home/user# java bash: java: command not found root@ubuntu:/home/user# sudo apt install oracle-java9-installer Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: grub-pc-bin Use 'apt-get autoremove' to remove it. The following extra packages will be installed: gsfonts gsfonts-x11 libfontenc1 libxfont1 oracle-java9-set-default x11-common xfonts-encodings xfonts-utils Suggested packages: binfmt-support visualvm ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming firefox firefox-2 iceweasel mozilla-firefox iceape-browser mozilla-browser epiphany-gecko epiphany-webkit epiphany-browser galeon midbrowser moblin-web-browser xulrunner xulrunner-1.9 konqueror chromium-browser midori google-chrome The following NEW packages will be installed: gsfonts gsfonts-x11 libfontenc1 libxfont1 oracle-java9-installer oracle-java9-set-default x11-common xfonts-encodings xfonts-utils 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 4,236 kB of archives. After this operation, 7,037 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB] Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu/ xenial/main oracle-java9-installer amd64 9.0.1-1webupd80 [30.8 kB] Get:3 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main libxfont1 amd64 1:1.4.7-1ubuntu0.4 [95.1 kB] Get:4 http://fr.archive.ubuntu.com/ubuntu/ trusty/main gsfonts all 1:8.11+urwcyr1.0.7pre44-4.2ubuntu1 [3,374 kB] Get:5 http://ppa.launchpad.net/webupd8team/java/ubuntu/ xenial/main oracle-java9-set-default amd64 9.0.1-1webupd80 [4,442 B] Get:6 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main x11-common all 1:7.7+1ubuntu8.1 [49.5 kB] Get:7 http://fr.archive.ubuntu.com/ubuntu/ trusty/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB] Get:8 http://fr.archive.ubuntu.com/ubuntu/ trusty/main xfonts-utils amd64 1:7.7+1 [73.9 kB] Get:9 http://fr.archive.ubuntu.com/ubuntu/ trusty/main gsfonts-x11 all 0.22 [9,108 B] Fetched 4,236 kB in 0s (12.1 MB/s) Preconfiguring packages ... Selecting previously unselected package libfontenc1:amd64. (Reading database ... 25293 files and directories currently installed.) Preparing to unpack .../libfontenc1_1%3a1.1.2-1_amd64.deb ... Unpacking libfontenc1:amd64 (1:1.1.2-1) ... Selecting previously unselected package libxfont1:amd64. Preparing to unpack .../libxfont1_1%3a1.4.7-1ubuntu0.4_amd64.deb ... Unpacking libxfont1:amd64 (1:1.4.7-1ubuntu0.4) ... Selecting previously unselected package oracle-java9-installer. Preparing to unpack .../oracle-java9-installer_9.0.1-1webupd80_amd64.deb ... oracle-license-v1-1 license has already been accepted Unpacking oracle-java9-installer (9.0.1-1webupd80) ... Processing triggers for mime-support (3.54ubuntu1.1) ... Setting up oracle-java9-installer (9.0.1-1webupd8~0) ... No /var/cache/oracle-jdk9-installer/wgetrc file found. Creating /var/cache/oracle-jdk9-installer/wgetrc and using default oracle-java9-installer wgetrc settings for it. Downloading Oracle Java 9... --2018-01-17 14:16:23-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.45.100.92 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following] --2018-01-17 14:16:23-- https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.62.198.138, 2a02:26f0:2d:1b4::2d3e, 2a02:26f0:2d:1b7::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.62.198.138|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516198703_54552a6a805c6ffc95e1b8e5cc3f742c [following] --2018-01-17 14:16:23-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516198703_54552a6a805c6ffc95e1b8e5cc3f742c Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-17 14:16:26 ERROR 404: Not Found.

download failed Oracle JDK 9 is NOT installed. dpkg: error processing package oracle-java9-installer (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: oracle-java9-installer E: Sub-process /usr/bin/dpkg returned an error code (1) root@ubuntu:/home/user# java -version

DBanaszewski
DBanaszewski α-tester v3

mrk:

2018-01-17 14:16:26 ERROR 404: Not Found.

Java 9 nie jest na serwerze oracle.com, więc pozostaje spróbować z tego poradnika: https://lvlup.rok.ovh/t/instalacja-java-8-na-vpsie/2513 (zalecam użycie skrótu)

mrk
mrk

root@ubuntu:/home/user# wget -qO- https://goo.gl/arA317 | sudo sh Usuwanie starszych/innych wersji Java... Setting up libfontenc1:amd64 (1:1.1.2-1) ... Setting up libxfont1:amd64 (1:1.4.7-1ubuntu0.4) ... Setting up oracle-java8-installer (8u151-1webupd80) ... Using wget settings from /var/cache/oracle-jdk8-installer/wgetrc Downloading Oracle Java 8... --2018-01-17 14:21:38-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.45.100.92 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following] --2018-01-17 14:21:38-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.62.198.138, 2a02:26f0:2d:1b4::2d3e, 2a02:26f0:2d:1b7::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.62.198.138|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516199019_8d4b9201306a178454946ce5c5f85984 [following] --2018-01-17 14:21:39-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516199019_8d4b9201306a178454946ce5c5f85984 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-17 14:21:39 ERROR 404: Not Found.

download failed Oracle JDK 8 is NOT installed. dpkg: error processing package oracle-java8-installer (--configure): subprocess installed post-installation script returned error exit status 1 Setting up oracle-java9-installer (9.0.1-1webupd80) ... Using wget settings from /var/cache/oracle-jdk9-installer/wgetrc Downloading Oracle Java 9... --2018-01-17 14:21:39-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.45.100.92 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following] --2018-01-17 14:21:39-- https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.62.198.138, 2a02:26f0:2d:1b4::2d3e, 2a02:26f0:2d:1b7::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.62.198.138|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516199019_d1625dc31af6b6092d6cb8a478de5af4 [following] --2018-01-17 14:21:39-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516199019_d1625dc31af6b6092d6cb8a478de5af4 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-17 14:21:40 ERROR 404: Not Found.

download failed Oracle JDK 9 is NOT installed. dpkg: error processing package oracle-java9-installer (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.19-0ubuntu6.14) ... Errors were encountered while processing: oracle-java8-installer oracle-java9-installer E: Sub-process /usr/bin/dpkg returned an error code (1) (Reading database ... 25331 files and directories currently installed.) Removing oracle-java8-installer (8u151-1webupd80) ... Purging configuration files for oracle-java8-installer (8u151-1webupd80) ... Removing oracle-java9-installer (9.0.1-1webupd80) ... /var/lib/dpkg/info/oracle-java9-installer.prerm: 51: [: bin: unexpected operator Purging configuration files for oracle-java9-installer (9.0.1-1webupd80) ... Processing triggers for mime-support (3.54ubuntu1.1) ... Jezeli byly, usunieto! Dodaje repozytoria... deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main Dodano! Dodaje klucz GPG... Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.DNM5JN7iTC --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com gpg: key EEA14886: "Launchpad VLC" not changed gpg: Total number processed: 1 gpg: unchanged: 1 Klucz zostal dodany! Aktualizacja repozytoriow... Aktualizacja zostala zakonczona! Akceptacja licencji... Zaakceptowano! Instalacja Java 8... Preconfiguring packages ... Selecting previously unselected package oracle-java8-installer. (Reading database ... 25256 files and directories currently installed.) Preparing to unpack .../oracle-java8-installer_8u151-1webupd80_all.deb ... oracle-license-v1-1 license has already been accepted Unpacking oracle-java8-installer (8u151-1webupd80) ... Processing triggers for mime-support (3.54ubuntu1.1) ... Setting up oracle-java8-installer (8u151-1webupd80) ... No /var/cache/oracle-jdk8-installer/wgetrc file found. Creating /var/cache/oracle-jdk8-installer/wgetrc and using default oracle-java8-installer wgetrc settings for it. Downloading Oracle Java 8... --2018-01-17 14:21:44-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.45.100.92 Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following] --2018-01-17 14:21:44-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.62.198.138, 2a02:26f0:2d:1b4::2d3e, 2a02:26f0:2d:1b7::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.62.198.138|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516199024_6dfd89675fdfa00a221137122c1d1d4b [following] --2018-01-17 14:21:44-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516199024_6dfd89675fdfa00a221137122c1d1d4b Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-17 14:21:44 ERROR 404: Not Found.

download failed Oracle JDK 8 is NOT installed. dpkg: error processing package oracle-java8-installer (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: oracle-java8-installer E: Sub-process /usr/bin/dpkg returned an error code (1) Zainstalowano! root@ubuntu:/home/user# java bash: java: command not found

DBanaszewski
DBanaszewski α-tester v3

Również nie ma tej wersji na serwerze oracle.com XDDDDD Poczekaj, dam fixa na moje poradniki :/

mrk
mrk

Ok, wyślij mi później tutaj linka :slight_smile: