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.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
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
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"
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 :smile:
Deepak Chodha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
4 |