Skip to main content



      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 09:32 Go to next message
Eclipse UserFriend
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 11:29 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Jetty 10 support
Next Topic:couldnt create the view eclipse plugin
Goto Forum:
  


Current Time: Sat Jul 12 02:02:03 EDT 2025

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

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

Back to the top