If you get the following error (or similar) when compiling:
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 70
and you have a suitable version of Java installed, it's likely because your /usr/bin/java belongs to the latest version. To fix this, set your JAVA_HOME to your Java 1.8 or other suitable installation. Example:
$ JAVA_HOME=/usr/lib/jvm/java-8-openjdk makepkg -si
Pinned Comments
Freso commented on 2024-11-04 16:57 (UTC)
For suggestions, issues, etc., please file them at https://gitlab.archlinux.org/freso/java-chatty – if submitting merge requests, do so against the
java-chattybranch.Note that when Twitch changes things, it may take a short while for those changes to get accounted for in a proper release of Chatty. If this is the case, and you need the new feature, you can try using
java-chatty-betaorjava-chatty-gituntil a new full release has been made addressing the change.Freso commented on 2018-07-18 19:30 (UTC)
There is now also a
chatty-betapackage for those who want to be bleeding bleeding edge: https://aur.archlinux.org/packages/chatty-betaFreso commented on 2018-07-15 16:02 (UTC)
For users who have used this PKGBUILD on version earlier than 0.9.x, note that from PKGBUILD 0.9.1-1 onwards, the PKGBUILD will not include as many patches as <0.9 PKGBUILDs did. One of the things this means is that the configuration will now be read from
$HOME/.chattyinstead of$HOME/.config/chatty. I'd recommend to either create a symlink (cd $HOME && ln -s .config/chatty .chatty) or move (or copy) the directory (cd $HOME && mv .config/chatty .chatty) prior to running version 0.9.x+ the first time.