Identifiez-vous
> > > A walk thru on JVM error


Messages dans le sujet: A walk thru on JVM error
weaker
Membre

Nbr msg: 2
Enregistré: 11/08/2002
Ecrit le: 09/02/2018 18:17

part 1
http://aohguild.org/forums/topic/32275-hello/?do=findComment&comment=201157

part 2
http://aohguild.org/forums/topic/32275-hello/?do=findComment&comment=201190
Jelan
Admin

Nbr msg: 11461
Enregistré: 05/05/2001
Ecrit le: 26/02/2018 09:29

Neat, looks like I will have to repackage Magelo Sync with an updater that is aware of windows10 registry keys. Thanks for the pointer !
Fjoellnir
Membre

Nbr msg: 25
Enregistré: 12/08/2003
Ecrit le: 17/02/2019 16:00

I am using Windows 7 and have to uninstall and re-install the same version of Java all the time. Magelo works after the reinstall, but a few days later it stops working. Have to go through the above over and over. VERY ANNOYING!!
Jelan
Admin

Nbr msg: 11461
Enregistré: 05/05/2001
Ecrit le: 17/02/2019 23:54

Hi Fjoellnir,

What exactly is happening when you say Magelo Sync stops working ?
Fjoellnir
Membre

Nbr msg: 25
Enregistré: 12/08/2003
Ecrit le: 18/02/2019 14:50

I get the following error:

No JVM could be found on your system.
Please define EXE4J_JAVA_HOME

It requires re-install of java to make Magelo work again. Every other java app works. In a Command Prompt, java is working fine. It seems that Magelo "looses" the path frequently. I must then re-install java to get it working again.
Kaliaila
Membre

Nbr msg: 66
Enregistré: 24/12/2002
Ecrit le: 10/05/2020 04:51

I am getting this error now. The thing is that I had just recently done a clean install of windows 10, downloaded the newest verison of Java and then downloaded the Magelo installer, but I get that error every time I try to run Magelo no matter what I try.

Here is a link to a pic of the error message. https://www.dropbox.com/s/ilzffgesugpb0dj/Untitled.jpg?dl=0
Jelan
Admin

Nbr msg: 11461
Enregistré: 05/05/2001
Ecrit le: 11/05/2020 04:17

Checklist for a 64bit system:
  • 64bit JRE installed on your system
  • Start Magelo Sync with MageloSync64.exe (not using MageloSync.exe)

If you still have the error message, it means that for some reason, magelo sync cannot locate the JRE by itself and needs some help. You can assist it to point to your installed JRE by creating a system environment variable named EXE4J_JAVA_HOME (hence the message error you are seeing).

To create the system environment variable:
  1. Type `system env` in the quick search and windows should shows `Edit the system environment variables` as the best match
  2. Select this and a window now opens
  3. At the bottom right, there is a button `Environment variables`, click on it
  4. In the bottom section (System env variables), click `new`
  5. Name is `EXE4J_JAVA_HOME`, Value should be the path to your JRE installation
  6. Click OK to confirm
  7. Start Magelo Sync

Hope this helps, ideally I should bundle the JRE with Magelo Sync to get rid off all those pesky issues around JRE / Magelo Sync now that windows is not bundling the JRE anymore.
Kaliaila
Membre

Nbr msg: 66
Enregistré: 24/12/2002
Ecrit le: 12/05/2020 06:39

The issue was that default download and the online installer from java.com no longer installs the 64-bit version of Java at all. It only installs the 32-bit version of Java. So I had to go to the manual installer and choose the Windows 64-bit (offline) version.

You might consider adding that you have to have the 64-bit java, and that the online installer only installs the 32-bit version of Java.