Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to launch Eclipse application due to error : Could not create Java Virtual Machine(Unable to launch Eclipse application due to error : Could not create Java Virtual Machine)
Unable to launch Eclipse application due to error : Could not create Java Virtual Machine [message #1852550] Mon, 23 May 2022 13:32 Go to next message
Satyanarayana Vadaga is currently offline Satyanarayana VadagaFriend
Messages: 1
Registered: May 2022
Junior Member
Hello,

I am new to Scala programming language. I've completed the pre-requisites like installing Java(18.0.1.1). I downloaded Windows 64 bit eclipse from scala ide website.

While launching the eclipse application, I am seeing below errors in a window box.

Error : Could not create the Java Virual Machine.
Error : A fatal exception has occured. Program will exit.

I added below two statements in eclipse.ini file but it did not resolve the issue.

-vm C:\Program Files\Common Files\Oracle\Java\javapath\javaw.exe
C:\Program Files\Common Files\Oracle\Java\javapath\javaw.exe

Appreciate it if someone can help to fix this issue.

Thanks,
Satya.
Re: Unable to launch Eclipse application due to error : Could not create Java Virtual Machine [message #1852558 is a reply to message #1852550] Mon, 23 May 2022 15:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Make sure it looks like this:
-vm
C:/Program Files/Java/jdk-11.0.13+8/bin
I.e., two separate lines, before the -vmargs lines (with no trailing spaces). Look in the C:/Program Files/Java folder for the right installation of Java that you want to use.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Jetty 10 support
Next Topic:couldnt create the view eclipse plugin
Goto Forum:
  


Current Time: Fri Apr 19 12:42:59 GMT 2024

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

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

Back to the top