![]() ![]() Same Code with java -version Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Unrecognized option: -versionĢ. Replace the double hyphen with a single hyphen in your code.Ĭode with a double java –version Picked up JAVA_TOOL_OPTIONS: –javaagent:/usr/share/java/jayatanaag.jar Unrecognized option: –version ![]() Check if the could not create Java virtual machine error is fixed. After the Java installation, restart the Windows system.Ħ. Click on the Environment Variables button.ĥ. In the System Properties window, go to the Advanced tab.Ĥ. Select and open Edit the system environment variables.ģ. Press the Windows key and type the system variable in the search bar.Ģ. How to Fix Could Not Create the Java Virtual Machine Error Set up a New System Variable for Javaġ. Running a malware scan and removing any detected threats can help resolve the issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |