Is it possible to install an image on the desktop from a Java application that is launched using the JNLP file (Java Web Strart)? That it worked at least in Windows.

  • > Runtime.getRuntime (). Exec (fileDirectory); or by means of JNI - Gorets
  • And what command to execute in exec? - angry
  • In exec, I send commands as on the command line of Windows, it hardly suits you, but with it, you can run third-party programs Runtime.getRuntime (). exec (calc); will start the calculator - Gorets

1 answer 1

SO had a similar question. The answer is accepted, but I personally did not try (in the absence of an appropriate environment for verification)

Can I change my Windows desktop wallpaper programmatically in Java / Groovy?