Rylander
Rylander

Reputation: 20119

Unrecognized VM option ' ExplicitGCInvokesConcurrentAndUnloadsClasses'

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

Upvotes: 0

Views: 1968

Answers (1)

jedwards
jedwards

Reputation: 30200

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?

Upvotes: 1

Related Questions