Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JARing an RMI server app.  RSS feed

 
John Coleman
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've zipped up my RMI server app in a JAR along with the properties file, the keystore and the policy file.
But I don't kow how to execute the application so that it can see the files inside the JAR file. Do I put the policy and keystore somewhere visible in the classpath?
I don't want to distribute the files sepereate from the applications classes in the JAR.
Help! And pleases explain clearly with example if you can.
TIA
John
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!