Author Topic: Getting MegaMek and MegaMekLab to Run  (Read 1365 times)

Nips

  • Sergeant
  • *
  • Posts: 144
Getting MegaMek and MegaMekLab to Run
« on: 22 August 2019, 08:11:24 »
Hey all.

I was really interested in trying out the new release, but alas I've run into an error that I can't get over.

(In Windows) On starting the MML executable, I get an error popup:
Java Virtual Machine Launcher
Error: A JNI error has occurred, please check your installation and try again

Followed by:
Java Virtual Machine Launcher
A Java Exception has occurred.

Trying to get MM itself to run, and I get just the Java Exception popup.

So....that's helpful?  I've uninstalled and reinstalled Java any number of times to try and fix this problem.  I can open up the Java Control Panel, and it says I have Version 8 Update 221 (build 1.8.0_221-b11) installed.  That should be sufficient, right?

Anyone that could give some pointers here would be helpful.
Proud Paper-Pusher of the Oosik Irregulars

Hammer

  • Numerorum Malleo
  • Global Moderator
  • Major
  • *
  • Posts: 4144
    • MegaMek Website
Re: Getting MegaMek and MegaMekLab to Run
« Reply #1 on: 22 August 2019, 09:52:32 »
Sounds like a bad java install.

I would uninstall and reinstall it. Make sure you grab Java 8 64 bit.  Also google "Adding Java to Windows path statement"

MegaMek Projects Wiki
Bug Trackers
MegaMek Tracker
MekHQ Tracker
MegaMekLab Tracker
New Units and RAT's aren't added until after the 2 month release moratorium is passed.
Join the official MegaMek Discord