PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → problem générating java webstart package
problem générating java webstart package
Iniciado por tligmaher, 29,oct. 2014 12:12 - 1 respuesta
Miembro registrado
11 mensajes
Publicado el 29,octubre 2014 - 12:12
hi everybody

i am working on a java project on windev 18 which should be executed from web browser
when i try to générate the package i am facing the following error:
Failure creating the Java archive (<C:\My Projects\MG\Exe\MG.jar>).


Reason: Failure signing the generated Java archive.
An error was returned by the tool for archive signature.

Possible solutions:
- Check the parameters specified in the command line of the tool for archive signature.
- Check whether the passwords specified for the key file and for the key are correct.
- Generate a new key file (delete the existing key file).
(See the error below to define the correction to perform).


Command Line: "C:\Program Files\Java\jdk1.8.0_25\bin\jarsigner.exe" -keystore "C:\My Projects\MG\moje_gazdinstvo.jks" -storepass moje_gazdinstvo -keypass moje_gazdinstvo -digestalg SHA1 -sigalg SHA1withDSA "MG.jar" moje_gazdinstvo


Error returned:
jar signed.

Warning:
The signer certificate will expire within six months.
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2015-01-27) or after any future revocation date.

can anybody help me please

thanks in advance
Miembro registrado
34 mensajes
Publicado el 09,diciembre 2014 - 15:19
Good idea to clear out C:\users\yourname\appdata\local\temp as this causes all sorts of issues with Java.

I saw somewhere a while ago that you should change SHA1withDSA to SHA1withRSA