Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Error when trying to run a program in Eclipse.(Error: "Could not create Java Virtual Machine")
Error when trying to run a program in Eclipse. [message #1818748] Fri, 27 December 2019 00:24 Go to next message
Nick Christoffersen is currently offline Nick ChristoffersenFriend
Messages: 1
Registered: December 2019
Junior Member
I have this base "package" called MCP for Minecraft programming.
I've fixed all Errors but when i go to launch the program instead of it opening like it should. I an error (Uploaded a screenshot).

I've been going at it all day so it would be nice if someone knew what to do.
I am using the latest JDK


  • Attachment: Untitled.png
    (Size: 150.86KB, Downloaded 21 times)
Re: Error when trying to run a program in Eclipse. [message #1818821 is a reply to message #1818748] Mon, 30 December 2019 05:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31624
Registered: July 2009
Senior Member
Use Run -> Run Configurations or Debug -> Debug Configurations (or the toolbar buttons for those same things). Find the Launch configuration for your "Java Application", and l look at the Arguments tab. Did you specify VM arguments there? E.g., the one the console is complaining about being recognized?

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Postfix completion not work
Next Topic:JDT Core maven build with build-individual-bundles profile fails
Goto Forum:
  


Current Time: Sun Nov 29 12:05:53 GMT 2020

Powered by FUDForum. Page generated in 0.02393 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top