pxb1988 / dex2jar

Tools to work with android .dex and java .class files
Apache License 2.0
12.28k stars 2.1k forks source link

FAILURE: Build failed with an exception. #328

Closed Ring1992 closed 2 years ago

Ring1992 commented 4 years ago
image
Ring1992 commented 4 years ago

Last login: Tue Dec 10 16:42:54 on ttys000 cuixiaolin@cuixiaolindeMacBook-Pro ~ % /Users/cuixiaolin/Documents/workspace/workspace_tool/dex2jar-2.1-nightly-28/gradlew ; exit;

FAILURE: Build failed with an exception.

[进程已完成]

supaplextor commented 4 years ago

From today's release of Kali Linux, and dex2jar.

kali@kali:~/Downloads/dex2jar-2.x$ ./gradlew distZip
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.7-ea'.

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

kali@kali:~/Downloads/dex2jar-2.x$ java --version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
openjdk 11.0.7-ea 2020-04-14
OpenJDK Runtime Environment (build 11.0.7-ea+9-post-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.7-ea+9-post-Debian-1, mixed mode, sharing)
supaplextor commented 4 years ago
supaplex@supaplex-N56JR:~/usr$ cd dex2jar-2.x/
supaplex@supaplex-N56JR:~/usr/dex2jar-2.x$ ./gradlew distZip
Downloading https://services.gradle.org/distributions/gradle-4.0-bin.zip
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/supaplex/.gradle/wrapper/dists/gradle-4.0-bin/3p92xsbhik5vmig8i90n16yxc/gradle-4.0-bin.zip to /home/supaplex/.gradle/wrapper/dists/gradle-4.0-bin/3p92xsbhik5vmig8i90n16yxc
Set executable permissions for: /home/supaplex/.gradle/wrapper/dists/gradle-4.0-bin/3p92xsbhik5vmig8i90n16yxc/gradle-4.0/bin/gradle

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.7'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
supaplex@supaplex-N56JR:~/usr/dex2jar-2.x$ cat /etc/issue
Ubuntu 18.04.4 LTS \n \l
pxb1988 commented 2 years ago

please upgrade to latest release of dex2jar. it should build under java 11