Launch VLC Player through Java
问题 I want to launch my VLC player through a Java program, can any one help me? Thanks in advance. 回答1: Vlc is located on different places depending on your system, but this is for 64 bit ProcessBuilder pb = new ProcessBuilder("C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe", "file to start with vlc"); Process start = pb.start(); and this should work for x86: ProcessBuilder pb = new ProcessBuilder("C:\\Program Files\\VideoLAN\\VLC\\vlc.exe", "file to start with vlc"); Process start = pb.start();