Java HotSpot(TM) 64-Bit Server VM warning- begineer

579 views
Skip to first unread message

Nikhil Murarka

unread,
Jul 23, 2015, 12:39:49 PM7/23/15
to play-framework

Hi,

I am new to plan framework. I am using windows 7 64 bit. jdk1.8.0_25

I install the binary package of play framework and create the new app using play new myFirstApp and created java app

I did cd myFirstApp

Now if i do play it gives me this error. 


Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; sup
port was removed in 8.0
error: error while loading AnnotatedElement, class file 'C:\Program Files\Java\j
re1.8.0_40\lib\rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
(bad constant pool tag 15 at byte 2682)
[error] Type error in expression

Can someone please help ?

Aurélien

unread,
Jul 23, 2015, 1:34:27 PM7/23/15
to play-framework, nikhilm...@gmail.com
Hi,

You need to reinstall your jdk.
You can try to check the jdk checksum once it is downloaded to be sure it is not corrupted.

Aurélien

Nikhil Murarka

unread,
Jul 23, 2015, 4:33:52 PM7/23/15
to Aurélien, play-framework
Hi Aurelien,

I reinstall jdk 1.8 still same problem exits but it worked for jdk 1.7. Thanks for the help.

Anders Abrahamsen

unread,
Jul 27, 2015, 6:31:16 AM7/27/15
to play-framework, nikhilm...@gmail.com
You may need to use a newer version of Scala in your project, scala 2.9.x will produce this error with java 8.

Nikhil Murarka

unread,
Jul 27, 2015, 3:23:04 PM7/27/15
to Anders Abrahamsen, play-framework
Thanks.
Reply all
Reply to author
Forward
0 new messages