Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Pass arguments to JAR file

800299Apr 29 2009 — edited Apr 30 2009
how can i pass arguments to .jar file without command prompt
Details:
i make client / server program, i used SSL in my program, i am using NETBEANS IDE as a tool, my program take Certificate Authority information(CA) as startup.
I set my CA information from project window property --> Run --> VM Option values(-Djavax.net.ssl.trustStore=testStore -Djavax.net.ssl.trustStorePassword=tutorial)

when i rum form NETBEANS its works

when i run .jar file Separately(not form NETBEANS) its not working properly
how can i resolve it
thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2009
Added on Apr 29 2009
5 comments
1,749 views