Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wont build the app. #16

Open
beelzebro opened this issue Apr 3, 2022 · 2 comments
Open

wont build the app. #16

beelzebro opened this issue Apr 3, 2022 · 2 comments

Comments

@beelzebro
Copy link

i have a higher version of java installed. openjdk 11. and your program isnt registering that i have java installed to build the app.

@beelzebro
Copy link
Author

03/04/2022, 23:50:23 => ERROR | Build Failed - Sign Command Failed - Command failed: java -jar "/media/root/5d410b5c-c9da-4d6d-a686-e7cc8be247f4/Android exploits/DroidSpy/DroidSpy-master/DroidSpy-master/app/factory/sign.jar" "/media/root/5d410b5c-c9da-4d6d-a686-e7cc8be247f4/Android exploits/DroidSpy/DroidSpy-master/DroidSpy-master/assets/webpublic/build.apk" Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder at s.Sign.addDigestsToManifest(Sign.java:108) at s.Sign.sign(Sign.java:454) at s.Sign.main(Sign.java:532) Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 3 more

@IhsanDevs
Copy link

IhsanDevs commented Mar 10, 2023

You can install openjdk version 8 with:

sudo apt-get install openjdk-8-jre

Then change the version to openjdk 8 with:

sudo update-alternatives --config java

Then select openjdk version 8.

There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-17-openjdk-amd64/bin/java      1711      auto mode
  1            /usr/lib/jvm/java-17-openjdk-amd64/bin/java      1711      manual mode
  2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants