Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Fresh Install Catalina "Failed to create Java Virtual Machine"
Fresh Install Catalina "Failed to create Java Virtual Machine" [message #1823209] Sun, 22 March 2020 18:52 Go to next message
S R  is currently offline S R Friend
Messages: 2
Registered: March 2020
Junior Member
I am trying to install eclipse on a fresh MacOS Catalina (10.15.3) macbook pro.

I first installed the JDK 14

➜ ~ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk-14.jdk/Contents/Home
➜ ~ java --version
java 14 2020-03-17
Java(TM) SE Runtime Environment (build 14+36-1461)
Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

When I run the installed I get the error:
"Failed to create the Java Virtual Machine"

Screenshot attached. Any advice would be helpful. I am working on a deadline.
Re: Fresh Install Catalina "Failed to create Java Virtual Machine" [message #1823212 is a reply to message #1823209] Mon, 23 March 2020 01:40 Go to previous messageGo to next message
Thuwa Tara is currently offline Thuwa TaraFriend
Messages: 7
Registered: March 2020
Junior Member
No Message Body

[Updated on: Tue, 17 November 2020 03:48]

Report message to a moderator

Re: Fresh Install Catalina "Failed to create Java Virtual Machine" [message #1823215 is a reply to message #1823212] Mon, 23 March 2020 02:10 Go to previous messageGo to next message
Thuwa Tara is currently offline Thuwa TaraFriend
Messages: 7
Registered: March 2020
Junior Member
I uninstalled jdk-14, jdk-15, jdk-16 and leaved jdk-8u and it works!
I read so many forums and answers. They are all complicated. This one is the best. Easy and works.
Refer to this forum https://www.eclipse.org/forums/index.php?t=msg&th=1102885&goto=1823113&#msg_1823113.
Re: Fresh Install Catalina "Failed to create Java Virtual Machine" [message #1824190 is a reply to message #1823209] Thu, 09 April 2020 10:16 Go to previous messageGo to next message
Jean-Pierre Matsumoto is currently offline Jean-Pierre MatsumotoFriend
Messages: 1
Registered: July 2009
Junior Member
You should try:
cd $($(dirname $(readlink $(which javac)))/java_home)/../MacOS
sudo ln -fs $(find ../Home -name libjli.dylib)

I've given more details in stackoverflow.com question 60761178.
Re: Fresh Install Catalina "Failed to create Java Virtual Machine" [message #1824208 is a reply to message #1823215] Thu, 09 April 2020 15:16 Go to previous message
S R  is currently offline S R Friend
Messages: 2
Registered: March 2020
Junior Member
I took to this action before seeing your post. This action worked for me.
Previous Topic:I have problem about No Persistence provider for EntityManager named FastMatch
Next Topic:Svn in eclipse
Goto Forum:
  


Current Time: Tue Apr 23 02:01:32 GMT 2024

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

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

Back to the top