LINUX.ORG.RU

[арчепроблемы] При обновлении openjdk6 до jre7-openjdk пропал /usr/bin/java


0

1
 # pacman -Ss openjdk
extra/jdk7-openjdk 7.b147_2.0-5 [установлен]
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK
extra/jre7-openjdk 7.b147_2.0-5 [установлен]
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs -Full Java runtime environment - needed for executing Java GUI and Webstart
    programs
extra/jre7-openjdk-headless 7.b147_2.0-5 [установлен]
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs
extra/openjdk6 6.b22_1.10.5-1
    Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.
extra/openjdk6-src 6.b22_1.10.5-1
    Free Java environment based on OpenJDK 6.0 Source Bundle
extra/openjdk7-src 7.b147_2.0-5
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - sources
 # java
bash: java: команда не найдена
 # whereis java
/usr/share/java/
 # ls -l /usr/bin/java*
lrwxrwxrwx 1 root root 37 янв.   9 23:08 /usr/bin/javac -> /usr/lib/jvm/java-7-openjdk/bin/javac
lrwxrwxrwx 1 root root 39 янв.   9 23:08 /usr/bin/javadoc -> /usr/lib/jvm/java-7-openjdk/bin/javadoc
lrwxrwxrwx 1 root root 37 янв.   9 23:08 /usr/bin/javah -> /usr/lib/jvm/java-7-openjdk/bin/javah
lrwxrwxrwx 1 root root 37 янв.   9 23:08 /usr/bin/javap -> /usr/lib/jvm/java-7-openjdk/bin/javap
lrwxrwxrwx 1 root root 38 дек.  25 18:16 /usr/bin/javaws -> /usr/lib/jvm/java-7-openjdk/bin/javaws
 # ls -l /usr/lib/jvm/java-7-openjdk/bin/java*
lrwxrwxrwx 1 root root   15 янв.   9 23:08 /usr/lib/jvm/java-7-openjdk/bin/java -> ../jre/bin/java
-rwxr-xr-x 1 root root 5144 янв.   9 23:08 /usr/lib/jvm/java-7-openjdk/bin/javac
-rwxr-xr-x 1 root root 5144 янв.   9 23:08 /usr/lib/jvm/java-7-openjdk/bin/javadoc
-rwxr-xr-x 1 root root 5144 янв.   9 23:08 /usr/lib/jvm/java-7-openjdk/bin/javah
-rwxr-xr-x 1 root root 5144 янв.   9 23:08 /usr/lib/jvm/java-7-openjdk/bin/javap
-rwxr-xr-x 1 root root 2806 янв.   9 23:08 /usr/lib/jvm/java-7-openjdk/bin/java-rmi.cgi
-rwxr-xr-x 1 root root  743 дек.  25 18:16 /usr/lib/jvm/java-7-openjdk/bin/javaws
 # ls -l /usr/lib/jvm/java-7-openjdk/jre/bin/
итого 8
lrwxrwxrwx 1 root root   46 дек.  25 18:16 itweb-settings -> /usr/lib/jvm/java-7-openjdk/bin/itweb-settings
lrwxrwxrwx 1 root root   38 дек.  25 18:16 javaws -> /usr/lib/jvm/java-7-openjdk/bin/javaws
-rwxr-xr-x 1 root root 5192 янв.   9 23:08 policytool

Что за хрень?

★★★★★

по полному пути работает?

Deleted
()

/usr/lib/jvm/java-7-openjdk/bin/java -> ../jre/bin/java

ls -l /usr/lib/jvm/java-7-openjdk/jre/bin/

Там нету.

Tanger ★★★★★
() автор топика
Ответ на: комментарий от anonymous

Мдя.. помогло переустановить jre7-openjdk-headless. Странно.

Tanger ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.