https://www.17buddies.rocks/index.html

17's Buddies Maps HL1 Maps HL2 Wads Plan des Maps
17 Buddies
Only for stats

Welcome Guest ( Log In | Register )

 
New
Applet Java + Sauvegarde Ficher Texte, FilePermission
benneb
post 30/06/2005 - 18:28:15 |   Post #1
+Reply

Group: 17 Buddies
Posts: 13 317
Joined: 27/02/2004

fr 
Team:
nG


QUOTE
java.security.AccessControlException: access denied (java.io.FilePermission sauv.txt read,write)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)


j'ai un applet java, avec sauvegarde des données dans un fichier texte, mais apperement faut gerer les droits de ce fichier

j'ai trouvé pas mal de personne ayant le meme probleme, des liens,

il dise de faire un jar et de le signer , truc comme ca , j'ai essayé , mais j'y arrive pas (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_neutral.gif)

une idée ?
Post PM
Go to the top of the page
Chapo
post 30/06/2005 - 19:13:52 |   Post #2
+Reply

Group: 17 Buddies
Posts: 18 534
Joined: 27/12/2003

fr 

Team:
Dev. 17b


Je connais rien en java, mais je t'ai trouvé ça:

http://forum.hardware.fr/hardwarefr/Progra...jet-39866-1.htm

Je sais pas si ça va t'aider, mais c'est toujours un début (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_ane.gif)
Post PM
Website
Go to the top of the page
benneb
post 30/06/2005 - 20:21:10 |   Post #3
+Reply

Group: 17 Buddies
Posts: 13 317
Joined: 27/02/2004

fr 
Team:
nG


pas mal , j'avance (IMG:http://forum.17buddies.rocks/style_emoticons/default/felicitation.gif)

QUOTE
java.lang.SecurityException: class "Dispo$Ligne"'s signer information does not match signer information of other classes in the same package


là je suis paumé (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_ane.gif)
Post PM
Go to the top of the page
Nosferatu
post 30/06/2005 - 22:52:04 |   Post #4
+Reply

Group: 17 Buddies
Posts: 5 245
Joined: 15/01/2004

fr 
Team:
KiNdReD


souvenir souvenir

il faut signer ton Applet pour avoir le droit d'acceder au disque
Post PM
Website
Go to the top of the page
benneb
post 01/07/2005 - 00:32:20 |   Post #5
+Reply

Group: 17 Buddies
Posts: 13 317
Joined: 27/02/2004

fr 
Team:
nG


QUOTE(Nosferatu @ 30/06/2005 à 23:52:04)
souvenir souvenir

il faut signer ton Applet pour avoir le droit d'acceder au disque
[snapback]107440[/snapback]


c'est ce que j'ai fait, d'où mon avancement, mais là, j'ai cette erreur (IMG:http://forum.17buddies.rocks/style_emoticons/default/hum.gif)

en lancant : <applet archive="jar-signer.jar" code="MaClasse.class">

This post has been edited by benneb: 01/07/2005 - 00:37:09
Post PM
Go to the top of the page
Nosferatu
post 01/07/2005 - 07:22:07 |   Post #6
+Reply

Group: 17 Buddies
Posts: 5 245
Joined: 15/01/2004

fr 
Team:
KiNdReD


t'as pas du bien signer (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_biggrin.gif)

à priori une classe n'est pas signée comme le reste du package, recommence (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_biggrin.gif)
Post PM
Website
Go to the top of the page
Nosferatu
post 01/07/2005 - 07:29:50 |   Post #7
+Reply

Group: 17 Buddies
Posts: 5 245
Joined: 15/01/2004

fr 
Team:
KiNdReD


tu as une seule archive ou plusieur ?
Post PM
Website
Go to the top of the page
benneb
post 01/07/2005 - 07:34:59 |   Post #8
+Reply

Group: 17 Buddies
Posts: 13 317
Joined: 27/02/2004

fr 
Team:
nG


j'ai qu'une archive,

je vais recommencer ce soir (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_neutral.gif)
Post PM
Go to the top of the page
Nosferatu
post 01/07/2005 - 07:58:29 |   Post #9
+Reply

Group: 17 Buddies
Posts: 5 245
Joined: 15/01/2004

fr 
Team:
KiNdReD


sinon y a plein de truc sur Google, mais j'ai rien trouvé de concluant (IMG:http://forum.17buddies.rocks/style_emoticons/default/wink.gif)
Post PM
Website
Go to the top of the page
benneb
post 02/07/2005 - 19:42:30 |   Post #10
+Reply

Group: 17 Buddies
Posts: 13 317
Joined: 27/02/2004

fr 
Team:
nG


(IMG:http://forum.17buddies.rocks/style_emoticons/default/bana10.gif)

ca a l'air de marcher, fallait crée un dossier sign (IMG:http://forum.17buddies.rocks/style_emoticons/default/blush.gif)

QUOTE
jarsigner -signedjar NomDuJarSigné jarAsigné jerry


pas tres explicite (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_neutral.gif)

This post has been edited by benneb: 02/07/2005 - 19:45:36
Post PM
Go to the top of the page
benneb
post 02/07/2005 - 23:35:39 |   Post #11
+Reply

Group: 17 Buddies
Posts: 13 317
Joined: 27/02/2004

fr 
Team:
nG


j'ai un nouveau probleme (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_ane.gif)

vu que le fichier de sauvegarde est dans le jar, bah il sauvegarde rien (IMG:http://forum.17buddies.rocks/style_emoticons/default/icon_nul.gif)

si je le met à l'exterieur, il dit qu'il est introuvable (IMG:http://forum.17buddies.rocks/style_emoticons/default/glare.gif)

une idée ?
Post PM
Go to the top of the page
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

New
 


RSS Lo-Fi Version
 
Skin © Chapo