Package Details: fernflower-git r636.1d09e29-1

Git Clone URL: (read-only, click to copy)
Package Base: fernflower-git
Description: An analytical decompiler for Java
Upstream URL:
Keywords: an analytical decompiler for Java
Licenses: Apache
Submitter: wlritchi
Maintainer: PerilousBooklet
Last Packager: AsukaMinato
Votes: 9
Popularity: 0.000006
First Submitted: 2015-06-28 00:59 (UTC)
Last Updated: 2023-07-07 15:17 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

AsukaMinato commented on 2023-07-07 15:20 (UTC)

I fixed it, with constrain 'java-runtime<=17'

DHouck commented on 2023-03-30 03:39 (UTC)

This fails to build with either a too old or a too new JDK; I needed to edit the PKGBUILD and .SRCINFO to depend on java-runtime=17, although I think that might just be a makedepend and itʼll run with 19?

Zaeroses commented on 2022-06-11 13:01 (UTC)

I have created an AUR package for a recent, but actively developed, fork of Fernflower: quiltflower

This may be of interest to fernflower-git users, and the package does seem to work currently. It is set to provide fernflower and fernflower-git, but does not conflict.

fernflower-git will want to add a provides field for fernflower too.

DHouck commented on 2021-11-24 00:17 (UTC)

Ah, cool! I donʼt think any Gradle supported 17 when I made my comment (or I found an old page; always possible). Iʼll switch my solution to yours, but itʼd be nice to get a response from wlritchi to actually fix this.

hcsch commented on 2021-11-23 18:40 (UTC) (edited on 2021-11-23 18:41 (UTC) by hcsch)

Works for me after applying the following patch to the PKGBUILD to constrain the java-runtime version and update the gradle wrapper in prepare() to version 7.3 (which supports Java 17):

diff --git a/PKGBUILD b/PKGBUILD
index 4cfa13a..6461ac8 100644
@@ -2,14 +2,14 @@

 pkgdesc='An analytical decompiler for Java'
-makedepends=('git' 'apache-ant')
+depends=('java-runtime>=8' 'java-runtime<=17')
+makedepends=('git' 'sed' 'apache-ant')

@@ -18,6 +18,11 @@ pkgver() {
   printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

+prepare() {
+  cd $_pkgname
+  sed -i 's#distributionUrl=.*#distributionUrl=https\://' gradle/wrapper/
 build() {
   cd $_pkgname
   ./gradlew jar

DHouck commented on 2021-11-09 10:53 (UTC)

Still does not work; upstream updated to gradle 7 which supports newer Java, but Arch updated to java 17. This would build with a dependency of java-runtime=11.

Marte2007 commented on 2021-01-21 11:22 (UTC)

Does not build with OpenJDK 15, switching default to 11 works fine.

eliminater74 commented on 2019-09-16 16:08 (UTC) (edited on 2019-09-16 16:34 (UTC) by eliminater74)

I could not get it to work either, ERROR{ FAILURE: Build failed with an exception.

  • What went wrong: Could not determine java version from '12.0.2'. }

I fixed the issue by doing this: <-- check last comment in history of branch master:

Just download this snapshot then change url to the above url ref.. Then all should build.

Note: Gradle 4.0 is old and out dated, java 12 didnt exist when it came out, so kept error out, updating to latest gradle fixed my build issue.

Not sure this will work on java 8, but I do know it built under openjdk 12..

tfl5034 commented on 2019-07-07 17:05 (UTC)

This package does not work with OpenJDK>8 set as the default. I'm not sure if there's a way for this package to specify a specific version of the JDK.