@MichaelARCH in a pinned comment you have a makepkg temporary command to build jitsi with JDK8.
Search Criteria
Package Details: jitsi 2.11.5633-1
Git Clone URL: | https://aur.archlinux.org/jitsi.git (read-only, click to copy) |
---|---|
Package Base: | jitsi |
Description: | An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator) |
Upstream URL: | https://desktop.jitsi.org/Main/HomePage |
Licenses: | |
Submitter: | psychedelicious |
Maintainer: | figue (figuepluto, jfigueras) |
Last Packager: | figue |
Votes: | 364 |
Popularity: | 0.45 |
First Submitted: | 2011-05-11 11:22 |
Last Updated: | 2020-12-12 16:22 |
Dependencies (3)
- java-runtime=8 (jdk5, tuxjdk, jre7-openjdk-infinality, java-8-openjdk-shenandoah, jre8-openjdk-infinality, java-gcj-compat, jdk9, jre9, jdk-devel, jre10, jdk8-arm64, jdk6, jdk12-openj9-bin, zulu-12-bin, jre6, jre12, jdk8-openjdk-dcevm, jdk11-graalvm-ee-bin, server-jre, jdk8-arm, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jre8-openjdk-jetbrains, jre8-openjdk-shenandoah, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jre7, jre14, jdk8-jetbrains, jdk7r1-j9-bin, jdk7-j9-bin, zulu-14-bin, zulu-13-bin, jdk-bcl, jre-bcl, amazon-corretto-15, jre-openj9, jdk11-openj9-bin, java-openjdk-bin, amazon-corretto-8, amazon-corretto-11, jdk11-openjdk-dcevm-conflicts-fixed, jre8, jdk8, jdk-openj9-bin, jre, jdk11-adoptopenjdk, jdk-adoptopenjdk, zulu-8-bin, zulu-11-bin, zulu-15-bin, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-full-bin, liberica-jdk-8-full-bin, liberica-jdk-full-bin, liberica-jdk-11-full-bin, liberica-jre-11-bin, liberica-jre-8-full-bin, zulu-embedded-jdk, jdk8-j9-bin, zulu-embedded-jdk11, jdk8-openj9-bin, zulu-embedded-jdk8, jre11, sapmachine-jdk-bin, jre11-jetbrains-imfix, jre-jetbrains, jdk11-graalvm-bin, jdk8-graalvm-bin, jre8-adoptopenjdk, java-openjdk-ea-bin, java-openjdk-loom-ea-bin, jdk-arm, jdk-jetbrains, jre-openjdk, jre11-openjdk, jre7-openjdk, jre8-openjdk)
- apache-ant (ant-git, ant) (make)
- java-environment=8 (jdk5, tuxjdk, jdk7-openjdk-infinality, java-8-openjdk-shenandoah, jdk8-openjdk-infinality, java-gcj-compat, jdk9, zulu-10-bin, jdk-devel, jdk8-arm64, jdk6, jdk12-openj9-bin, zulu-12-bin, jdk12, jdk8-openjdk-dcevm, jdk11-graalvm-ee-bin, jdk8-arm, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk8-openjdk-jetbrains, jdk8-openjdk-shenandoah, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jdk8-jetbrains, jdk7r1-j9-bin, jdk7-j9-bin, zulu-14-bin, zulu-13-bin, jdk-bcl, amazon-corretto-15, jdk-openj9, jdk11-openj9-bin, java-openjdk-bin, amazon-corretto-8, amazon-corretto-11, jdk11-openjdk-dcevm-conflicts-fixed, jdk8, jdk-openj9-bin, jdk, jdk11-adoptopenjdk, jdk-adoptopenjdk, zulu-8-bin, zulu-11-bin, zulu-15-bin, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-full-bin, liberica-jdk-8-full-bin, liberica-jdk-full-bin, liberica-jdk-11-full-bin, liberica-jre-11-bin, liberica-jre-8-full-bin, zulu-embedded-jdk, jdk8-j9-bin, zulu-embedded-jdk11, jdk8-openj9-bin, zulu-embedded-jdk8, jdk11, sapmachine-jdk-bin, jdk11-jetbrains-imfix, jre-jetbrains, jdk11-graalvm-bin, jdk8-graalvm-bin, jdk8-adoptopenjdk, java-openjdk-ea-bin, java-openjdk-loom-ea-bin, jdk-arm, jdk-jetbrains, jdk-openjdk, jdk11-openjdk, jdk7-openjdk, jdk8-openjdk) (make)
Required by (0)
Sources (3)
figue commented on 2021-01-03 19:12
MichaelARCH commented on 2021-01-03 18:38
On my system OpenJDK14 (default) and OpenJDK8 are installed. And I want to keep openJDK14 as standard for other purposes.
During Build, got the error:
/jitsi/src/jitsi-5633/build.xml:269: Compile failed; see the compiler error output for details.
Do you recommend that I change it temporarily for the build to Version 8, like described here? Or to prefer another procedure?
Thanks, Michael
ArthurBorsboom commented on 2020-12-15 20:51
Hi Figue,
Do you think you can adapt the PKGBUILD in a way that the java compiler is forced to OpenJDK8 before compiling? For example, in pseudo:
JavaSettings originalJavaSetting = RequestCurrentJava();
boolean changeJavaVersion = originalJavaSetting != openjdk-8;
if (changeJavaVersion) {
force openjdk-8
}
compile and package jitsi
if (changeJavaVersion) {
restore originalJavaSetting;
}
figue commented on 2020-12-12 18:45
Ok... If the version is not stable enough I will revert the last commit. I don't use anymore Jisti, so I'm maintaining just for you guys. If anyone is interested in maintaining this package, please comment and I'll orphan.
Zappo-II commented on 2020-12-12 17:44
Ok, after the update and having it running in java-8-openjdk again, my installation kept SegFaulting and CoreDumping when I was some seconds into the application, no matter what I did or did not do...
Before the update it was just working fine and everything I changed was just to newly build jitsi...
To have it running stable again I had to delete all my jitsi settings in ~/.jitsi and had to rebuild them using the jitsi settings dialogs...
ThankYou @figue for packaging jitsi, it's my daily sip-phone app and I really appreciate having it at hand...
figue commented on 2020-12-12 17:04
I've built with jdk8... Like this:
env JAVA_HOME=/usr/lib/jvm/java-8-openjdk PATH=/usr/lib/jvm/java-8-openjdk/jre/bin:$PATH makepkg -sic
But if you want to execute jitsi, it's better to set it globally:
archlinux-java set java-8-openjdk
See pinned comment.
Zappo-II commented on 2020-12-12 16:51
Download of source is working...
- Also needs java-8 at compile time...
Can confirm, is working (for me)...
figue commented on 2020-12-12 16:23
I've pushed to latest version v2.11.5633 can you test if everything is ok?
electricprism commented on 2020-12-12 03:52
Upstream URL is 404
jal666 commented on 2020-08-05 17:24
BUILD FAILED /home/username/.cache/yay/jitsi/src/jitsi-Jitsi-2.10/build.xml:269: Compile failed; see the compiler error output for details.
==> ERROR: A failure occurred in build(). Aborting... error making: %!s(func() string=0x56466a747bb0)
Thanks!
Pinned Comments
figue commented on 2020-12-12 17:04
I've built with jdk8... Like this:
But if you want to execute jitsi, it's better to set it globally:
archlinux-java set java-8-openjdk
See pinned comment.