- This topic has 1 reply, 2 voices, and was last updated 21 years ago by Scott Anderson.
-
AuthorPosts
-
putnam.investmentsMemberScott,
When i tried to install , i got “Can’t lauch executable, Could not load jvm.dll, Try re-installing the Java Vm or Change the Java VM used by the application”
Following is the debug statement from the installerLAX_DEBUG=1
original working dir is: |C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\Windows|
application dir is: |C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\Windows|
app_path : |C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\Windows\Enterprise Workbench Installer.exe|
arg 0: |D:\myEclipse\EnterpriseWorkbenchInstaller_030603.exe|
reading properties from: |C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\Windows\Enterprise Workbench Installer.lax|
redirecting both out and err to /dev/null
Searching through the registry for VMs…
looking in C:\Program Files\Oracle\jre\1.1.7\bin
Found: C:\Program Files\Oracle\jre\1.1.7\bin\jre.exe
Found: C:\Program Files\Oracle\jre\1.1.7\bin\jrew.exe
…Finished searching through the registry for VMs
Searching through the path for VMs…
Looking in C:\WINNT\system32
Ignoring ‘C:\WINNT\system32\java.exe’ because it is in a Windows System Directory.
Ignoring ‘C:\WINNT\system32\javaw.exe’ because it is in a Windows System Directory.
Ignoring ‘C:\WINNT\system32\jre.exe’ because it is in a Windows System Directory.
Ignoring ‘C:\WINNT\system32\jrew.exe’ because it is in a Windows System Directory.
Looking in C:\WINNT
Ignoring ‘C:\WINNT\java.exe’ because it is in a Windows System Directory.
Ignoring ‘C:\WINNT\javaw.exe’ because it is in a Windows System Directory.
Ignoring ‘C:\WINNT\jre.exe’ because it is in a Windows System Directory.
Ignoring ‘C:\WINNT\jrew.exe’ because it is in a Windows System Directory.
Found: C:\WINNT\jview.exe
Found: C:\WINNT\wjview.exe
Looking in C:\WINNT\system32\WBEM
Looking in D:\Oracle\Ora81\bin
Looking in C:\Program Files\Oracle\jre\1.1.7\bin
Found: C:\Program Files\Oracle\jre\1.1.7\bin\jre.exe
Found: C:\Program Files\Oracle\jre\1.1.7\bin\jrew.exe
Looking in D:\Sun\AppServer7\jdk/bin
Found: D:\Sun\AppServer7\jdk/bin\java.exe
Found: D:\Sun\AppServer7\jdk/bin\javaw.exe
Looking in D:\backup_030703\utils\jikes\bin
…Finished searching through the path for VMs
ORDERING VMS
1: C:\WINNT\jview.exe (in path)
2: C:\WINNT\wjview.exe (in path)
3: C:\Program Files\Oracle\jre\1.1.7\bin\jre.exe (in path and registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.1)
4: C:\Program Files\Oracle\jre\1.1.7\bin\jrew.exe (in path and registry at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.1)
5: D:\Sun\AppServer7\jdk/bin\java.exe (in path)
6: D:\Sun\AppServer7\jdk/bin\javaw.exe (in path)
Searching for gui vm.
lax.nl.valid.vm.list=J2
lax.nl.current.vm=.
was not a valid Win32 executable.
C:\WINNT\jview.exe does not match J2 or it is a console app and I need a GUI one.
C:\WINNT\wjview.exe does not match J2 or it is a console app and I need a GUI one.
C:\Program Files\Oracle\jre\1.1.7\bin\jre.exe does not match J2 or it is a console app and I need a GUI one.
C:\Program Files\Oracle\jre\1.1.7\bin\jrew.exe does not match J2 or it is a console app and I need a GUI one.
D:\Sun\AppServer7\jdk/bin\java.exe does not match J2 or it is a console app and I need a GUI one.
SUCCESS! D:\Sun\AppServer7\jdk/bin\javaw.exeUsing *JNI INVOCATION* to simulate the following batch script:
BATCH SCRIPT
————cd “C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\Windows”
set CLASSPATH=C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\InstallerData\IAClasses.zip;C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\Windows\resource\jdglue.zip;C:\WINNT\Profiles\mahesh\LOCALS~1\Temp\I1067512639\InstallerData\Execute.zip;C:\W
D:\Sun\AppServer7\jdk/bin\javaw.exe -Xms16777216 -Xmx50331648 -noverify com.zerog.lax.LAX “C:\\WINNT\\Profiles\\mahesh\\LOCALS~1\\Temp\\I1067512639\\Windows\\Enterprise Workbench Installer.lax” C:\\WINNT\\Profiles\\mahesh\\LOCALS~1\\Temp\\env.propexecuting java…
After this the above error appears…Initially i tried with JDK1.3 now i moved to JDK1.4 , i searched in https://www.genuitec.com/forums/topic/installation-falied/&highlight=installer+fails
given by you, but no proper answer.Please advice
Thanks
Mahesh
Scott AndersonParticipantMahesh,
The problem is that the installer is picking the JDK under your appserver to run with.
SUCCESS! D:\Sun\AppServer7\jdk/bin\javaw.exe
Server vendors often customize their installations so they’re inherently risky for running anything except the server for which they are designed. What you need to do is explicitly tell the installer the location of a 1.3.1 or 1.4.1 JDK. You can do this by setting the environment variable:
LAX_DEBUG=<path-to-javaw.exe>
When you’ve done this and rereun the installer with LAX_DEBUG, you should be able to see that the installer selected the version of java you specified in the environment variable. This should cause the installer to run without any further issues.
–Scott
MyEclipse Support -
AuthorPosts