문제

My Java project is failing to start with the error below. This only started happening after I restarted my computer. What does this error mean?

Unrecognized VM option ' ExplicitGCInvokesConcurrentAndUnloadsClasses'
Could not create the Java virtual machine.

Any insight into what might be causing this error would be appreciated.

Details: Java 5

도움이 되었습니까?

해결책

If you're really running Java 5, it looks like that option only became available in Java 6u4 -- which would explain that error.

Is it possible you installed a newer Java, and put it on the PATH temporarily, and the restart wiped the PATH change?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top