Bug 53487 - Ошибка 'JAVA_HOME is not set' при установке пакета linstor-controller
Summary: Ошибка 'JAVA_HOME is not set' при установке пакета linstor-controller
Status: REOPENED
Alias: None
Product: Sisyphus
Classification: Development
Component: linstor-controller (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrew Vasilyev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 15:20 MSK by Alexander Makeenkov
Modified: 2025-03-19 12:26 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2025-03-17 15:20:03 MSK
- Версия пакета:
1.30.4-alt3

- Шаги воспроизведения:
# apt-get install linstor-controller

- Получаемый результат:
11: linstor-controller-1.30.4-alt3
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Завершено.

- Примечание:
На дальнейшую работу пакета ошибка не влияет.
Comment 1 Repository Robot 2025-03-17 16:22:49 MSK
linstor-1.30.4-alt4 -> sisyphus:

 Mon Mar 17 2025 Andrey Cherepanov <cas@altlinux> 1.30.4-alt4
 - use java-21-openjdk for linstore-controller (ALT #53487).
Comment 2 Alexander Makeenkov 2025-03-18 09:33:52 MSK
(Ответ для Repository Robot на комментарий #1)
> linstor-1.30.4-alt4 -> sisyphus:
> 
>  Mon Mar 17 2025 Andrey Cherepanov <cas@altlinux> 1.30.4-alt4
>  - use java-21-openjdk for linstore-controller (ALT #53487).

Ошибка актуальна:

15: linstor-controller-1.30.4-alt4
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Завершено.
Comment 3 Andrey Cherepanov 2025-03-19 12:26:52 MSK
# unset JAVA_HOME
# . /etc/profile.d/javahome.sh 
# echo $JAVA_HOME
/usr/lib/jvm/java
# $JAVA_HOME/bin/java -version