Freemaster upgrade java error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Freemaster upgrade java error

跳至解决方案
864 次查看
gwen_stouthuyse
Contributor I

While installing/upgrading Freemaster I get a Java error screen and the process ends.

What should I install/change on the Java configuration of my workstation?

Content of the error message

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
at java.lang.StringBuilder.append(StringBuilder.java:136)
at Flexeraavs.a0(Unknown Source)
at Flexeraavs.a0(Unknown Source)
at Flexeraavs.a0(Unknown Source)
at Flexeraavs.a0(Unknown Source)
at Flexeraavs.a0(Unknown Source)
at Flexeraavs.a0(Unknown Source)
at Flexeraavs.a0(Unknown Source)
at Flexeraavs.aj(Unknown Source)
at Flexeraalf.aq(Unknown Source)
at Flexeraalf.ab(Unknown Source)
at com.zerog.ia.installer.actions.InstallDirectory.ao(Unknown Source)
at com.zerog.ia.installer.actions.InstallDirectory.uninstall(Unknown Source)
at Flexeraal4.ac(Unknown Source)
at com.zerog.ia.installer.actions.ExecuteUninstallAction.dispatchLineForID(Unknown Source)
at com.zerog.ia.installer.actions.ExecuteUninstallAction.ad(Unknown Source)
at com.zerog.ia.installer.actions.ExecuteUninstallAction.startUninstallAction(Unknown Source)
at com.zerog.ia.installer.Uninstaller.ak(Unknown Source)
at com.zerog.ia.installer.Uninstaller.ah(Unknown Source)
at com.zerog.ia.installer.Uninstaller.uninstall(Unknown Source)
at com.zerog.ia.installer.consoles.UninstallProgressActionConsoleUI.executeConsoleAction(Unknown Source)
at com.zerog.ia.installer.ConsoleBasedAAMgr.ah(Unknown Source)
at com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.am(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.runNextInstallPiece(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.al(Unknown Source)
at com.zerog.ia.installer.ConsoleBasedAAMgr.ac(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.am(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.runNextInstallPiece(Unknown Source)

0 项奖励
回复
1 解答
743 次查看
iulian_stan
NXP Employee
NXP Employee

You can uninstall it manually. In this case you need to delete:

  1. FreeMASTER installation folder "C:\NXP\FreeMASTER 3.2"
  2. FreeMASTER registry "C:\Program Files (x86)\Zero G Registry\.com.zerog.registry.xml"
    This file contains information related to FreeMASTER and its components. Make a back-up copy if it includes other products.

After the above two steps, launching FreeMASTER installer should start a clean install.

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
753 次查看
gwen_stouthuyse
Contributor I

I have tried to uninstall but somehow this fails.

Somewhere in the log I find that access is denied (it asked for admin rights, which I gave)

When I  try to launch as admin the process hangs.

Gwen

0 项奖励
回复
744 次查看
iulian_stan
NXP Employee
NXP Employee

You can uninstall it manually. In this case you need to delete:

  1. FreeMASTER installation folder "C:\NXP\FreeMASTER 3.2"
  2. FreeMASTER registry "C:\Program Files (x86)\Zero G Registry\.com.zerog.registry.xml"
    This file contains information related to FreeMASTER and its components. Make a back-up copy if it includes other products.

After the above two steps, launching FreeMASTER installer should start a clean install.

 

0 项奖励
回复
847 次查看
iulian_stan
NXP Employee
NXP Employee

Hi @gwen_stouthuyse,

If the upgrade fails, could you try uninstalling the older version of FreeMASTER and install newer one separately.

Before executing the uninstaller, you can increase the heap size (of the uninstaller) by rediting Uninstall FreeMASTER.lax file located in C:\NXP\FreeMASTER 3.2\_FreeMASTER_installation (bellow are the default values in bytes):

#   LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.INITIAL
#   -----------------------------------------
lax.nl.java.option.java.heap.size.initial=16777216

#   LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.MAX
#   -------------------------------------
lax.nl.java.option.java.heap.size.max=50331648

After this step - run a clean install.

If the clean installer fails with the same error, you need to:

  1. Open the installer with an archiver tool and extract its content
  2. Increase installer heap size by editing FreeMASTER 3.2.lax file (it can be found in the Windows folder of unarchived content)
  3. Open a terminal in the same Windows folder and run the installer using the following command:
    "FreeMASTER 3.2.exe" LAX_VM resource\jre\bin\java.exe​

Hope it helps,
Iulian

0 项奖励
回复