InstallAnywhere-卸载Java错误:java.lang.IllegalArgumentException:没有ID =的产品 [英] InstallAnywhere - Uninstallation Java Error : java.lang.IllegalArgumentException: No product for ID=
问题描述
我正在尝试卸载使用InstallAnywhere的应用程序.当我运行代码进行卸载时,出现以下错误
I am trying to uninstall an application which is using InstallAnywhere. When I run the code to uninstall i get the following error
java.lang.IllegalArgumentException: No product for ID=<edited>
at ZeroGfc.<init>(DashoA10*..)
at ZeroGe9.b(DashoA10*..)
at ZeroGfb.<init>(DashoA10*..)
at com.zerog.ia.installer.Installer.s(DashoA10*..)
at com.zerog.ia.installer.Installer.setMetadata(DashoA10*..)
at com.zerog.ia.installer.InstallerMetaData.setInstaller(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.j(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.e(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
在互联网上进行的彻底搜索表明,这种错误非常普遍,但是我还没有找到任何确定的解决方案. 如果有人可以对此有所启发,将绝对有帮助...
A thorough search in the internet tells that this error is quite common, but i haven't sen any definite solution for this. Will be absolutely helpful if some one can throw light on this...
感谢和问候.
推荐答案
当您仅安装了精简的JRE时,可能会发生此错误.安装完整的JDK并将其指向InstallAnywhere应该可以解决此问题.您可以通过将其添加到正在运行的命令中来做到这一点:
This error can occur when you just have a stripped-down JRE installed. Installing the full JDK and pointing InstallAnywhere to it should fix the problem. You can do this by adding this to the command you're running:
foo.exe LAX_VM"C:\ Program Files \ Java \ jdk1.8.0_144 \ bin \ java.exe"
foo.exe LAX_VM "C:\Program Files\Java\jdk1.8.0_144\bin\java.exe"
显然用您正在运行的命令替换foo.exe,并为您的JDK Java可执行文件提供正确的路径.
Obviously replace foo.exe with the command you're running and give the correct path to your JDK Java executable.
这篇关于InstallAnywhere-卸载Java错误:java.lang.IllegalArgumentException:没有ID =的产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!