cancel
Showing results for 
Search instead for 
Did you mean: 

Install of SAP HANA Studio Dev Ed v1.00.80 fails with "Could not create the Java Virtual Machine"

Former Member
0 Kudos

Hello,

Scope: JVM error during initial install of SAP HANA Studio Developer Edition v1.00.80, Win86/32bit

Source: installation files pulled from HANA Studio tab at https://hanadeveditionsapicl.hana.ondemand.com/hanadevedition/, which is a link from the main HANA site of http://scn.sap.com/community/developer-center/hana.  zip folder: "sap_hana_win32_studio_rev80"

Targeted O/S: Windows 7, 32-bit, local Java is SE 7, update 67.   Java environment has been confirmed via checks provided at http://www.java.com/en/download/manual.jsp

Actions taken:

Attempted to update the installation's eclipse.ini file by reducing the -Xmx value; see details below.

Read thru postings such as http://scn.sap.com/thread/3390626 and the threads it recommended.

Checked OSS (ie Note 1859686 - HANA Studio does not start)

Description of installation error:

Shortly after executing "hdbinst", it fails with the error "Could not create the Java Virtual Machine".  I've verified that there is nearly 3G of memory free.  What I did notice, as shown in the attached files, is that Eclipse is part of this installation and it's pre-loaded with the "eclipse.ini".  I firmly believe the solution could be to reduce parameter "-Xmx1024m" to "-Xmx512m" but it's a catch-22 because even after updating eclipse.ini (in installation folder C:\Program Files\SAP\hdbstudio\tmp_p2director2014.08.13_13.36.44\director), the install program requires that the "hdbstudio" folder to be empty upon restarting it.

Since the installation is basically a package with a lot of .jar files, there is no eclipse.ini file available in the source install folder; otherwise, updating it there would be the easiest solution if that option were available. The file is only available in the targeted deployment folder above.

If you have encountered this same error and were able to resolve it, I would be grateful to know of your solution.  Thanks very much.

FYI: the HANA Client installed with no issues.

Jim Cleek

FYI: the images below reflect the sequence of images produced during the installation.

after clicking OK above, the screen below gets updated (see the "is not empty" msg).

Below is the eclipse.ini file located in the deployed/target folder:

Message was edited by: Jim Cleek FYI: Using information from the SAP HANA Database - Studio Installation and Update Guide, I tried to override the installation's use of its eclipse.ini file by passing my own modified version (with "-Xmx512m") of that file that was placed in a separate folder.  The cmd used via DOS window was "hdbsetup.exe -a studio --configfile=C:\Users\Admin\Downloads\eclipse.ini" and even though it successfully launched the SAP HANA Lifecycle Management gui, it failed on the first step with the same JVM create error as above because it appears to have used its own eclipse.ini file, which has "-Xmx1024m".

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Update: a message was opened with SAP but unfortunately they could not provide a resolution for this particular scenario.  They admitted that the eclipse.ini file cannot be updated since it is bundled as part of the installation package.  One point to make that I did not make before was that this was being attempted on an Oracle VirtualBox (4.3.10); the SAP HANA contact said he assumed that SAP has not tested this particular scenario, thus it could not be supported.

Resolution: the end result was to abort trying to install SAP HANA Client and Studio on the Oracle VirtualBox but to install it locally on my own desktop, which runs on Windows 7 Enterprise 64-bit with 8G of memory.  The SAP HANA files below were downloaded, extracted and installed successfully in the order shown.

FYI: the Studio installation detected that a 64-bit version of Java was not installed so I installed that and then adjusted the User environmental variable JAVA_HOME to point to that new path, leaving the System variable still pointing to the pre-existing 32-bit Java path.

SAPCAR 7.20 -> Windows on x64 64bit:  SAPCAR_315-20010453.EXE

IMDB_CLIENT100_80_0-10009664.SAR   Revision 80 for SAP HANA CLIENT 1.00

Support Package SAP HANA CLIENT 1.00 Windows on x64 64bit

IMC_STUDIO100_80_0-20007647.SAR   Revision 80 for SAP HANA STUDIO 1.00

Support Package SAP HANA STUDIO 1.00 Windows on x64 64bit

jre-7u67-windows-x64.exe - http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html

 
Jim Cleek

HP Enterprise Services

Answers (2)

Answers (2)

0 Kudos

Hi,

I have just experienced precisely the same problem when trying to locally install Studio 1.00.80 on my Win7/32-bit pc with Java 7.67.

This setup has apparently not been tested either by SAP. 🙂

PS. Previously Studio 1.00.70 was running fine on the same machine using Java 7.63.

Best regards

Tommy Baunwall

Denmark

Former Member
0 Kudos

Thanks Tommy for sharing your experiences as well.  More testing on the development end seems to be a necessity.

Jim Cleek

Former Member
0 Kudos

Hi,

Please use argument -vm "C:\Program Files (x86)\Java\jre7\bin"  to open HANA studio (replace path of JRE with path of JRE/JDK on your machine)

You can create shortcut of HANA studio on desktop and then edit target of shortcut (example of Design Studio is attached).

Regards,

Gourav

Former Member
0 Kudos

HI Gourav,

Thanks very much for taking time to reply and make a suggestion.  I follow what you're saying but in my case Studio is not yet installed and also, as shown in my previous screenshot, the Studio install pgm is already using my local JRE (ie C:\Program Files\Java\jre7\bin\javaw.exe).  Just need to figure out how to override the installation pgm's use of eclipse.ini so that the java parameter "-Xmx1024m" can be reduced.

Jim