I connected mysql with c++ in ubuntu , used GCC compiler from terminal that time i didn't give any path for mysql.h. and i wanted to play video using vlcj in java swings. In the program we need to give two paths : 1. where the vlc player is installed (In windows, it is c://Program Files//Video Lan//VLC) 2. The Video file we want to play in swings.
when i tried to play it on ubuntu using netbeans. First i give path for vlc installed is usr/share/vlc , it did work , then tried some more options , where vlc files are lying. but i was not succeeded. then i got to know from someone that there is not need to give path in ubuntu. but we have pass an argument to JVM when we run the code.
My First question is why we do not need to give path in ubuntu. (Plz tell me in detail, i love to learn Linux , thank u)
Second question is still i am not succeed in playing video using vlcj in ubuntu swings java, using Netbeans IDE 8 and JDK 8 and latest version of vlcj i.e version 3
(i know it is askUbuntu , not java Fourms, if u could suggest me something plz do so)