登錄 / 註冊
> > > A walk thru on JVM error


主題的留言: A walk thru on JVM error
weaker
會員

帖子總數: 2
註冊: 2002/8/10
已發表: 2018/2/9 下午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
管理員

帖子總數: 11389
註冊: 2001/5/4
已發表: 2018/2/26 上午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
註冊: 2003/8/11
已發表: 2019/2/17 上午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
管理員

帖子總數: 11389
註冊: 2001/5/4
已發表: 2019/2/17 下午5:54

Hi Fjoellnir,

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

帖子總數: 25
註冊: 2003/8/11
已發表: 2019/2/18 上午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
註冊: 2002/12/23
已發表: 2020/5/9 下午10: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
管理員

帖子總數: 11389
註冊: 2001/5/4
已發表: 2020/5/10 下午10: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
註冊: 2002/12/23
已發表: 2020/5/12 上午12: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.