Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

1.18/1.18.1 doesn't run with forge (for me)/ Java virtual machine launcher error

Featured Replies

Posted

I can not get forge to run with 1.18 or 1.18.1 at all. I get "error: could not create the java virtual machine error". I have update java and updated the launcher. I have expand available system memory for java and have it set to run as admin. I have changed the java runtime path. nothing

I don't have a crash log because the game doesn't get far enough to make one, upon exiting the java error, the launcher gives me exit code: 0.

Minecraft 1.18/1.18.1 runs fine separately.

I'm pulling my hair out, ples help. 

  • Author

you're fast, I like you.

1. Error: Could not create the java virtual machine. Error: a fatal exception has occurred. Program will exit. https://gyazo.com/7a8e7e3b5f1fb7405b7d48553c79ca25

returns to launcher: an unexpected issue occurred and the game has crashed. We're sorry for the inconvenience. exit code 0 

2. one of the ways of fixing this issue is changing the java executable path in the launcher, it doesn't work or gives a different error. you can forget it because I reset it and stopped messing with it. https://gyazo.com/01d3244b81069d593a78c8b7ea91f0a7

3. running default 1.18/1.18.1 out of the default launcher, no mods or forge used.

  • Author

ok your question was a light bulb moment.

I was trying to run a modpack and it kept giving me the error as mentions above. I thought it must have been forge as that was the only thing that was running along side minecraft. Well I was also running the pack with curseforge. So, I just ran the pack with just using forge and the pack loaded. 

So my crashes are due to something with curseforge, I think, and I don't know if theses forums handle curseforge stuff.

  • Author

example of whats going on

I just went a record my screen of whats happening for me

I can also get in a discord call or even live stream it for you if needed.

reposting link below:

 

  • Author

ok cool fixed things. 

1. I had missed spelled something within settings system variables for java

2. curse forge had extra jvm arguments that I set who knows how long ago 

3. this error does not create logs 

 

video response explaining more below

https://www.youtube.com/watch?v=8Z4Lp3D2vnM

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.