Are you using JDK8?
> On 13 Feb 2016, at 16:34, Milad khajavi <khaj...@gmail.com> wrote: > > Hello, > When I want to compile the Spark project, the following error occurs: > > milad@pc:~/workspace/source/spark$ build/mvn -DskipTests clean package > Using `mvn` from path: /home/milad/.linuxbrew/bin/mvn > Unrecognized VM option 'MaxPermSize=512M' > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > > What is the problem, if anyone know? > > > -- > Milād Khājavi > http://blog.khajavi.ir > Having the source means you can do it yourself. > I tried to change the world, but I couldn’t find the source code.