Jar and Policy file
Posted on 2004-09-10
Earlier we used to execute our application using the run.bat file containing the following command:
java -classpath .\lib -D"java.ext.dirs=.\lib"
Obviously it opens up a dos console which we are trying to avoid in the current release and the only option is to package all the class file in a jar file. With the help of the manifest file i am launching the Login class.
Here is the manifest file:
Created-By: 1.3.1 (Sun Microsystems Inc.)
Class-Path: lib/classes12.jar lib/ejb.jar lib/jaas.jar lib/jaxb-rt-1.0-ea.jar lib/jta.jar lib/oc4j.jar lib/oc4jclient.jar
Now i don't know how to specify the client.policy file in my manifest file or can i specify my policy file somewhere?
Kindly let me know if you have any suggestions or ideas.
Thanks & Regards,