cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting error loading jvm.dll when installing SAP ASE 16.0 sp04 trial

rmmarett78
Discoverer
8,346

Greetings,

I am attempting to install a trial of SAP ASE 16.0 sp04.

I'm finding a number of Community hits and Google hits about the "Error: loading: C:...\jvm.dll" message I am seeing, but I've not found any solutions that have fixed the problem. However, I am not currently an SAP customer, so I don't have access to many documents that look like they may help (e.g. the SAP Product Availability Matrix (PAM) for prereqs and SAP Note 298732). Having said that, chat support has graciously provided information from some of the links that looked helpful, but so far I have not been able to complete an install successfully. They recommended that I request help here...

I'm installing on a Windows 2019 VM with the latest OS updates, 8 GB RAM, 2 vCPUs.

"Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.20.27508" is installed - as well as the "(x86)" version.

I downloaded the installation file from here: https://d1cuw2q49dpd0p.cloudfront.net/ASE16/Current/ASE_Suite.winx64.zip

Uncompressing this zip file creates an ebf29386 folder which contains a setup.exe file that I run and get this dialog:

I found a reference to this error that suggests installing the latest jre and updating the JAVA_HOME and PATH settings, so I installed "Java 8 Update 291 (64-bit)"

C:\Users\Administrator\Downloads\ASE_Suite.winx64\ebf29386>set path
Path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Java\jre1.8.0_291\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

C:\Users\Administrator\Downloads\ASE_Suite.winx64\ebf29386>set java_home
JAVA_HOME=C:\Program Files\Java\jre1.8.0_291

C:\Users\Administrator\Downloads\ASE_Suite.winx64\ebf29386>setup.exe

With these settings I get the same error, still showing the path to the "temp" jre created by Install Anywhere (as in the image above).

I found that you can specify the JRE that install anywhere uses using the LAX_VM option, so I made it further in the install process by using this (though I've not seen anyone mentioning having to use this specifically for ASE installs):

C:\Users\Administrator\Downloads\ASE_Suite.winx64\ebf29386>setup.exe LAX_VM "c:\Program Files\Java\jre1.8.0_291\bin\java.exe"

With this change, the installer starts and I am able to get through all of the installation options, I select a "typical" installation and "Evaluate SAP Adaptive Server Enterprise". Files seem to be laid down successfully, then the "Configure New Servers" begins. I select all default options except for the following:

  • "Configure new SAP ASE" checked (nothing else selected on products to configure)
  • Entering passwords where needed
  • "Create sample databases" checked
  • I get a warning dialog about using a 4k logical page size that looks like it can be ignored

Here is the configuration summary:

I click next and almost immediately get this dialog

And then this after clicking OK:

I don't see any obvious fatal failures or errors in the logs in C:\SAP\log (would be happy to post them if that would help).

The log mentioned in the configuration summary doesn't exist.

Could it still be a java issue? The java.exe files found in the C:\SAP directory are all failing to run, and with the same jvm.dll error:

c:\SAP\jre64\bin>java.exe
Error: loading: c:\SAP\jre64\bin\server\jvm.dll

c:\SAP\jre64\bin>cd c:\SAP\Shared\ase\SAPJRE-8_1_062_64BIT\bin

c:\SAP\Shared\ase\SAPJRE-8_1_062_64BIT\bin>java.exe
Error: loading: c:\SAP\Shared\ase\SAPJRE-8_1_062_64BIT\bin\server\jvm.dll

In addition to attempting to install on Windows 2019, I've tried unsuccessfully on Windows 2012 R2 and Windows 2016 with not exact, but similar issues. I've installed a multitude of Microsoft Visual C++ Redistributables on all Windows versions which has helped on older versions of Windows, but never fixed anything completely. Chat support informed me that the 2015 Redistributable is the one that is required for this latest version of ASE, and it is installed (by default) on the 2019 VM that I have been focused on most recently.

Does anyone have any advice on how to get this installed? I'm open for trying anything, and happy to answer any questions you may have.

Thanks much in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

rmmarett78,

I am sharing the list of the CRs that were fixed on ASE 16.0 SP04

I would start investigating all fixes related to installation.

ase16-crs.txt

You will have a hard time without having direct access to SAP support. Wish the best luck out there.

Cheers,

Luis

rmmarett78
Discoverer
0 Kudos

Excellent! Thank you lazfreitas! I will dig through these today. I did get help with the fix for the java errors I was seeing (see below answer), and I found a little more information about the "Failed to Configure" message in a log (see my comment in below answer).

Thanks again!

-- Rob