Syntax error when compiling vlc media player
I have solved this problem. An error happens due to environment variables.

I added :/usr/lib/jvm/java-1.7.0-openjdk-i386 to etc/profile

export JAHA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-i386


Now , I can compile libvlc, but new problem arises:

libvlc:compileReleaseJava FAILED
*what went wrong:
Execution failed for task 'libvlc:compileReleaseJAVA'.
&gt; Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and config used your JAVA_HOME system variable to point to the according dirctory.