Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Signing Tool Error signing the app

Avatar

Avatar
Level 1
samoftheanna
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
samoftheanna
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
samoftheanna
Level 1

29-09-2017

When I try to sign an Android app, I first get an error: "sun.misc.BASE64Encoder"

If I try again, I get this error: "Could not initialize class com.adobe.devtech.tools.JarSigner"

I'm not sure if this is an issue on my side, but we would really like to get this app updated ASAP.

Thanks for any help!

Replies

Avatar

Avatar
Level 1
samoftheanna
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
samoftheanna
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
samoftheanna
Level 1

29-09-2017

I was able to get it to work by uninstalling Java 9 and making sure Java 1.8 was the default. I hope that isn't the long-term solution

Avatar

Avatar
Validate 1
Level 3
ashe1
Level 3

Likes

15 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 3
ashe1
Level 3

Likes

15 likes

Total Posts

26 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ashe1
Level 3

07-12-2017

Confirming that reverting from Java JDK 9 to Java JDK 8 fixed this error for me.

Avatar

Avatar
Validate 1
Level 1
ZRichins
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
ZRichins
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
ZRichins
Level 1

28-03-2018

I reverted to java JDK 8 and I'm still getting this error.

Screenshot 2018-03-28 13.46.12.png

Avatar

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile
Anthony_R
Level 2

29-03-2018

The AEM Mobile signing tool supports either Java 7 or 8 due to sun.misc.BASE64Encoder being removed in Java 9.

For this reason you will need a maximum of JDK 8 installed and set as the default JDK i norder to use the signing tool.

See: Java Platform, Standard Edition Oracle JDK 9 Migration Guide, Release 9

Avatar

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile
Anthony_R
Level 2

29-03-2018

Please ensure JDK is indeed configured to be the default since this error will not occur when using JDK 8.

Avatar

Avatar
Validate 1
Employee
Ivan_Mironchuk
Employee

Likes

49 likes

Total Posts

133 posts

Correct Reply

40 solutions
Top badges earned
Validate 1
Unlock
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Employee
Ivan_Mironchuk
Employee

Likes

49 likes

Total Posts

133 posts

Correct Reply

40 solutions
Top badges earned
Validate 1
Unlock
Ignite 3
Ignite 1
Give Back 5
View profile
Ivan_Mironchuk
Employee

11-04-2018

If you launch terminal and type "java -version" what is your result?

It should be similar to:

java version "1.8.0_161"

Java(TM) SE Runtime Environment (build 1.8.0_161-b12)