Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Sign jar files

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.
i have been tired searching for this, and i didn't find the answer.

what exactly should i do to sign a jar file? and where to place the signed jar?

i have created a keystore using the keytool and used it in the jarsigner but still i can't read files from the client's system!!!

any one has an answer?

Thanks.
Raed
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raed,

Are you building through ant if so you can use signjar task .
I am using it while generating jnlp.
jnlp.work.dir can be replaced with wherever you pick your jars from.

[ January 31, 2007: Message edited by: prateek urmaliya ]
 
Raed Qudaisat
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
thank you very much for your reply.
i am not using the ant tool, i am building the jars with the jar tool. i will give you more details.

-first i am using linux.
-i have built the jar files using

-then i have used the keytool to create the key like this.

it prompted me for the alias password and i made it raedpass.
-then i used the jarsigner tool like this.


that is it, now what i want is to be able to read file from the client system, is that possible?

should i copy the jars to the client machine? or just put them on the server?

Thanks.
Raed
 
    Bookmark Topic Watch Topic
  • New Topic