java - eclipse error of "Error occurred during initialization of VM " -


i have eclipse project, got following error message after running

enter image description here

the "classpath" setting in "run configurations" shown follows

enter image description here

the "build path" setting shown follows:

enter image description here

it seems me you're using system jre instead of jdk.

from "libraries" tab, select "jre system library [javase-1.7] > choose edit > popup window > execution environment choose jdk environment, eg javase-1.6 (jdk1.6.0_32)


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -