Forum Stats

  • 3,770,452 Users
  • 2,253,116 Discussions
  • 7,875,461 Comments

Discussions

jadtool signing jarfile Cannot recover key

nel23FX
nel23FX Member Posts: 3 Green Ribbon
edited Aug 7, 2020 7:43AM in Java ME Embedded

hello,

I've followed the Method #2: Signing Application Using a Command Line in the GEtting Started RPI MEEPG https://docs.oracle.com/javame/8.3/get-started-rpi/MEEPG.pdf

All works fine until the jadtool -addjarsig stage. It returne me a java.security.UnrecoverableKeyException: Cannot recover key

What is the problem I don't understand, should I use the same key from the same kestore of the previous -addcert stage ? It's what I've done. It's particulary bad explained (and there is a text failure in the command parameter importjakfile unless importjadfile)

I use Java_ME_platform_SDK_8.3 on debian linux and rapsberry 3 with 8.3 embedded API.

thanks for all