Вход
> > > A walk thru on JVM error


Сообщений в теме: A walk thru on JVM error
weaker
Пользователь

Сообщений: 2
Регистрация: 10.08.2002
Отправлено: 09.02.2018, 12: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
Администратор

Сообщений: 11401
Регистрация: 04.05.2001
Отправлено: 26.02.2018, 3: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
Пользователь

Сообщений: 25
Регистрация: 11.08.2003
Отправлено: 17.02.2019, 10: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
Администратор

Сообщений: 11401
Регистрация: 04.05.2001
Отправлено: 17.02.2019, 17:54

Hi Fjoellnir,

What exactly is happening when you say Magelo Sync stops working ?
Fjoellnir
Пользователь

Сообщений: 25
Регистрация: 11.08.2003
Отправлено: 18.02.2019, 8: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
Пользователь

Сообщений: 66
Регистрация: 23.12.2002
Отправлено: 09.05.2020, 22: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
Администратор

Сообщений: 11401
Регистрация: 04.05.2001
Отправлено: 10.05.2020, 22: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
Пользователь

Сообщений: 66
Регистрация: 23.12.2002
Отправлено: 12.05.2020, 0: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.