cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nageshvs
Level 2

LaunchAnywhere with Java 8 throws Error 1053 in Windows 10

Hi,

We have standalone Java product running on Windows 10.

LaunchAnywhere throws windows error 1053 in windows 10 while launching the java program.

The same Java program is working fine with earlier Java version 6/7

But after upgrading the project to Java 8, LaunchAnywhere is throwing Windows error 1053.

Error1: Error 1053

Error2: the code execution cannot proceed because .dll was not found. reinstalling the program may fix the problem

 

1) I have set the below property to use the java.exe in the lax vm properties file.

lax.nl.current.vm=C:\Program Files\Java\jdk1.8.0_241\jre\bin\java.exe

2) I have removed the oraclepath from windows path variable.

3) I have uninstalled all the previous Java versions, there is only one Java version 8.

I have tried with Java jdk1.8.0 the very first version of Java 8 also and jdk1.8.0_241.

But no luck. 


Please help.

 

0 Kudos
(1) Reply
RitanshuAnkita
Revenera
Revenera

The InstallAnywhere launcher code uses the java file version in order to determine and pick up a valid JVM path for the installer to use. Java 8 has changed format of file version which is causing the launcher to fail and not use the valid JVM path.

Workaround
1. Bundle a JVM with the installer.

2. Use the LAX_VM parameter when launching the installer from the command-line:

install.exe LAX_VM C:\Program Files\Java\jre1.8.0_60\bin\java.exe

where C:\Program Files\Java\jre1.8.0_60\bin is the absolute directory path to Java.

3. Reference a JVM Spec file in the Windows Build Target settings

4. Remove the directory path C:\ProgramData\Oracle\Java\javapath from the value of the PATH environment variable.

0 Kudos