Unrecognized VM option 'MetaspaceSize=64M'

4,717 views
Skip to first unread message

Ivo Sestren Junior

unread,
Jul 1, 2014, 6:06:47 PM7/1/14
to play-fr...@googlegroups.com
Hi, i have activator-1.2.3, java-8 64bits in windows 8.

I get this error on run "activator new projectname"

Erro: Unrecognized VM option 'MetaspaceSize=64M'

How i resolve this?

Tanks

David Rollins

unread,
Jul 2, 2014, 9:58:10 AM7/2/14
to play-fr...@googlegroups.com, i...@sestren.com.br
I was having the same problem.

What I figured out is that I had my JAVA_HOME set to JDK 1.7, but when i typed java -version it returned Java 8.  


the solution in my case was to update my JAVA_HOME to point to the Java 8 directory.



Hope that helps.

Diego Magalhães

unread,
Jul 22, 2014, 2:02:37 PM7/22/14
to play-fr...@googlegroups.com, i...@sestren.com.br
David, thanks for that tip, had the same problem here.

C:\Dev\scala\activator-1.2.2>java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

C:\Dev\scala\activator-1.2.2>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.7.0_55\

James Roper

unread,
Jul 23, 2014, 6:18:46 AM7/23/14
to play-framework, i...@sestren.com.br


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
James Roper
Software Engineer

Typesafe – Build reactive apps!
Twitter: @jroper

Pranit Mhatre

unread,
Jul 17, 2015, 6:04:18 AM7/17/15
to play-fr...@googlegroups.com, i...@sestren.com.br
Thanks for the solution that works for me.
Reply all
Reply to author
Forward
0 new messages