Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've successfully installed IBM Data Studio and its Web Console on Ubuntu 14.04, and the Web Console runs like a dream and I can connect to my DB2 databases fine. However, when I try and run the Data Studio application (eclipse) and click on any of the tasks located in there, I get the following error message :

JVM terminated. Exit code=160
/opt/IBM/DS4.1.0.1//jdk/jre/bin/javaw
-Xquickstart
-Xms40m
-Xmx1024m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:name=IBMSDP_%u
-Xnolinenumbers
-XX:MaxPermSize=512M
-jar /opt/IBM/DS4.1.0.1//plugins org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /opt/IBM/DS4.1.0.1/eclipse
-name Eclipse
--launcher.library /opt/IBM/DS4.1.0.1//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807/eclipse_1502.so
-startup /opt/IBM/DS4.1.0.1//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 550010
-install /opt/IBM/DS4.1.0.1
-product com.ibm.datastudio.consolidated.product.ide
-vm /opt/IBM/DS4.1.0.1//jdk/jre/bin/javaw
-vmargs
-Xquickstart
-Xms40m
-Xmx1024m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:name=IBMSDP_%u
-Xnolinenumbers
-XX:MaxPermSize=512M
-jar /opt/IBM/DS4.1.0.1//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

Checked my Java version and its 1.7.0_51:

java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1ubuntu4)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

Any ideas would be greatly appreciated :-)

share|improve this question
    
Solved it by adding a line to /opt/IBM/DS4.1.0.1/eclipse.ini –  user274470 Apr 26 at 19:05

1 Answer 1

Incase anyone else runs into this issue, I resolved it by adding the following line to /opt/IBM/DS4.1.0.1/eclipse.ini :

-Dorg.eclipse.swt.browser.DefaultType=mozilla

Cheers! :-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.