File association in Mac
问题 Finding help from here we are now able create a Mac application from a jar file and associate the application with certain file extension . When double click a file with that extension it is opening in that application and ultimately in the embedded java application. However our need is to get the selected file path as an argument to the main method of the java application. How can we achieve this. for file type association we have used defaults write com.apple.LaunchServices LSHandlers