Domanda

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

È stato utile?

Soluzione

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?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top