How do I open a file with the default associated program in Java? (for example a movie file)
You can use Desktop.getDesktop().open(File file). See the following question for other options: "[Java] How to open user system preffered editor for given file?"
Desktop.getDesktop().open(File file)
2.1m questions
2.1m answers
60 comments
57.0k users