I can't install/build axoloti on my arch based manjaro system


#1

i can't install/build axoloti on my arch based manjaro system.

"aur/axoloti 1.0.12_2-2 (+2 0.00)" via yay results in:

-do-compile:
[mkdir] Created dir: /home/user/.cache/yay/axoloti/src/axoloti/build/empty
[mkdir] Created dir: /home/user/.cache/yay/axoloti/src/axoloti/build/generated-sources/ap-source-output
[javac] Compiling 406 source files to /home/user/.cache/yay/axoloti/src/axoloti/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 6
[javac] error: Source option 6 is no longer supported. Use 7 or later.
[javac] error: Target option 6 is no longer supported. Use 7 or later.

BUILD FAILED
/home/user/.cache/yay/axoloti/src/axoloti/nbproject/build-impl.xml:911: The following error occurred while executing this line:
/home/user/.cache/yay/axoloti/src/axoloti/nbproject/build-impl.xml:261: Compile failed; see the compiler error output for details.

"aur/axoloti-git 1.0.11.r59.g7c29b09c-1 (+0 0.00)" via yay results in:

-do-test-run:
[junit] Testsuite: axoloti.patch.PatchModelTest
[junit] Juli 23, 2021 12:53:21 AM axoloti.patch.object.ObjectInstanceController changeInstanceName
[junit] SCHWERWIEGEND: Object name "duplicate_name" already exists in patch!
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0,354 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] Juli 23, 2021 12:53:21 AM axoloti.patch.object.ObjectInstanceController changeInstanceName
[junit] SCHWERWIEGEND: Object name "duplicate_name" already exists in patch!
[junit] ------------- ---------------- ---------------

BUILD FAILED
/home/user/.cache/yay/axoloti-git/src/axoloti/build.xml:142: firmware build does not exist?

trying to build axoloti via "axoloti/platform_linux/build.sh" via yay results in:
Fehler: Ziel nicht gefunden: openjdk-8-jdk

so as "openjdk-8-jdk" does not exists in the reposetory i installed:
yay -S jre8-openjdk-headless jre8-openjdk jdk8-openjdk openjdk8-doc openjdk8-src

so. somehow it doesent see the allready installed openjdk versions 7 & 8 ?
any idea ?
i am not shure whats wrong


#2

On arch linux java is controlled by the command

archlinux-java

You can use for example:

archlinux-java status
archlinux-java set java-8-openjdk/jre

Check the arch wiki for details:
https://wiki.archlinux.org/title/Java