Skip to Content

Hi HANA users,

I saw many a colleagues facing issues with respect to launching of HANA Studio on windows machine. So for any those of the issues I am writing this small and simple blog.

The issue you are facing can be a java issue or studio.ini issue or temporary profile or workspace issue or using User java.

—————————————————————————————————————————————————————————————————

  1. JAVA issue:

         Check if java is installed on your machine. For that open cmd and execute:

         java -version

         If the output is ‘java’ is not recognized as an internal or external command, operable program or batch file. Reason for this error, either

a.  You don’t have a JRE installed

     If it is not install java 64bit from http://www.java.com/en/download/manual.jsp

b.  Or the path to the \bin folder of your JRE is not listed in your variables

     Please check what is your HANA studio version: 32 bit or 64 bit.

    

     For your information: 32bit studio can work with 32bit/64bit both jre versions but 64bit studio needs 64bit jre. So better install 64bit java in your system

     and accordingly set the JAVA_HOME and PATH environment variable of windows to java6 or higher. example:

 

  If java is installed using 64bit(NTamd64) installer then set:

       JAVA_HOME= C:\Program Files\Java\jre6

       PATH= C:\Program Files\Java\jre6\bin

      If java is installed using 32bit(NTintel) installer then set:

      JAVA_HOME= C:\Program Files (x86)\Java\jre6

      PATH= C:\Program Files (x86)\Java\jre6\bin

    Now verify if your java is getting detected or not using the same above command: java -version

   2.  Studio.ini issue

In case issue has occurred only after updating your HANA Studio, goto HANA Studio installation location-> edit hdbstudio.ini file.Set parameter

       -Xmx1024m to -Xmx512m

          Try opening HANA Studio if it still doesn’t opens, change second parameter:

-XX:MaxPermSize=1024m to -XX:MaxPermSize=512m

   3.  Workspace issue

        When multiple users uses the same HANA Studio you might get an error while opening HANA Studio. To avoid that issue, before launching HANA Studio

        create a workspace for yourself. example:

If studio is installed in folder C:\Studio_SP6\

Create a directory C:\My_workspace

To launch HANA studio give C:\Studio_SP6\hdbstudio.exe -data “C:\My_workspace”

  4.   Temporary profile issue

         You might try to rename the folders. example:

Change C:\Users\<your windows user>\hdbstudio to C:\Users\<your windows user>\New

Change C:\Users\<your windows user>\.eclipse to C:\Users\<your windows user>\.NewEclipse

5.    Using your own java

       

     a. Install HANA Studio. Edit the hdbstudio.ini file for parameter -vm. Example:

         If java is installed in  C:\Users\I067506\\java\jre6\

         Modified file:

-startup

plugins\org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

–launcher.library

plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130521-0416

–launcher.XXMaxPermSize

512m

–launcher.defaultAction

openFile

–launcher.appendVmargs

-vm

C:\Users\I067506\\java\jre6\bin\javaw.exe

-vmargs

-Xmx1024m

-Dfile.encoding=UTF-8

-Xms256m

-XX:MaxPermSize=512m

-XX:+HeapDumpOnOutOfMemoryError

          

     b. Set the environment SYSTEM variables to your specific java installation.

         CLASSPATH
         C:\Users\I067506\java\jre6\bin

         JAVA_HOME
       C:\Users\I067506\java\jre6\

         PATH
         %JAVA_HOME%\bin;

         Make sure you don’t have a user variables pointing to any java location.

         Open HANA Studio. It will work

—————————————————————————————————————————————————————————————————

Hope the above solutions resolves your issue.

HAPPY HANA 🙂

Deepak Chodha.

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. Anne Webb

    I also found this to be great info. In my case, the settings listed were what I already had. I was advised by a fellow colleague to shut down Outlook and then launch Hana Studio – and believe if it or not – this worked!  I have no clue what Outlook has to do with Java! I could launch Outlook after HANA studio was running and it was also OK. This seemed like a one-time thing because today I had Outlook running, and I was able to launch Hana Studio with no problem. I would be curious if this solution works for anyone else and also if anyone has an explanation for why this worked.

    (0) 

Leave a Reply