Jar bundler - How connect opened document to jar?

Joined
Nov 21, 2010
Messages
1
Reaction score
0
Points
1
When my bundled app opens a file, how is the Java app supposed to get the file name?

Currently, my jar takes the first command line argument as the file name. But there must be another way, as nothing happens when I open a file with the bundled app.

SourceForge ant Jarbundler has an arguments tag. But what would I put there to get the jar to work on the opened file?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top