Can I delete a downloaded JNLP (Java web start / JWS) file from a Java application?

Google Chrome does not run the JNLP file automatically, so I recommend this solution to our users . It works, but the downloaded JNLP file remains in the download folder. Removing them manually is difficult.

I want to add a function to our Java application:

  • Google Chrome downloads the JNLP file and opens it.
  • The JNLP file launches our Java application.
  • Java application deletes JNLP file (<= I want this function!)

Can I get the path to the downloaded JNLP file that launched the Java application? Essentially, our jar Java application is signed and can access local resources.

+5
source share
1 answer

Java WebStart , , , , API, , JNLP.

, , javaws, javaws -wait JNLP . .

+4

All Articles