Package Details: jd-core-java 1.2-1

Git Clone URL: https://aur.archlinux.org/jd-core-java.git (read-only, click to copy)
Package Base: jd-core-java
Description: A thin-wrapper for the Java Decompiler
Upstream URL: http://jd.benow.ca/
Keywords: jd-core
Licenses: GPL3
Provides: jd-core
Submitter: proninyaroslav
Maintainer: None
Last Packager: z3ntu
Votes: 4
Popularity: 0.000000
First Submitted: 2016-01-29 15:02 (UTC)
Last Updated: 2017-12-29 21:34 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

akitaonrails commented on 2021-05-04 17:17 (UTC)

Because this is very old and unmaintained, trying to install it from AUR will fail, at least, with something like this:

Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-1.9-bin.zip

So I git cloned the repo and changed the PKGBUILD with this:

build() {
    cd "${srcdir}/${pkgname}"
    sed -i "/apply plugin: 'maven'/d" ./build.gradle
    gradle build
}

I have installed jdk8-openjdk and gradle (not using gradlew, and new gradle don't need the maven plugin, which is why I sed'ed it out)

then simply: makepkg -si

z3ntu commented on 2019-04-04 06:41 (UTC)

I guess you're building with Java 11 - try with Java 8 and it should work.

nisstyre commented on 2019-04-03 22:53 (UTC)

Since there's no maintainer for this I'll see if I can look into why this is happening.

nisstyre commented on 2019-04-03 22:53 (UTC) (edited on 2019-04-03 22:58 (UTC) by nisstyre)

I'm getting this issue while building

[wes@stark jd-core-java]$ makepkg
==> Making package: jd-core-java 1.2-1 (Wed 03 Apr 2019 06:52:46 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating jd-core-java git repo...
Fetching origin
==> Validating source files with sha256sums...
    jd-core-java ... Skipped
==> Extracting sources...
  -> Creating working copy of jd-core-java git repo...
Switched to a new branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.ext.posix.util.FieldAccess (file:/home/wes/.gradle/wrapper/dists/gradle-1.11-bin/4h5v8877arc3jhuqbm3osbr7o7/gradle-1.11/lib/jna-posix-1.0.3.jar) to field java.io.FileDescriptor.fd
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.posix.util.FieldAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type DaemonClient using DaemonClientServicesSupport.createDaemonClient().

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.   

z3ntu commented on 2017-12-29 21:35 (UTC) (edited on 2017-12-29 21:35 (UTC) by z3ntu)

For anyone picking up this package:

  • It should be called jd-core-java-git
  • A pkgver() function should be added