Misiakw
Misiakw

Reputation: 922

How to get initiating jnlp file name/dir in java?

I need way to detect which jnlp file which started current app. in my case I'm developing an application that is started by jnlp file that contains some additional info. I need to delete this jnlp file while app is closing. app cannot be started in any other way. is it possible to get this information, and if it is, how can i do it. thx for answers

Upvotes: 0

Views: 106

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168825

I need to delete this jnlp file while app is closing.

That choice is not available to the developer. It is a choice of the user, their JRE and system settings.


What application feature are you trying to implement from this?

Upvotes: 1

Related Questions