[resolved] Unable to open Talend Open Studio for Big Data in Linux

One Star

[resolved] Unable to open Talend Open Studio for Big Data in Linux

I have installed Talend for Big Data in a Linux 64 bit environment. I have followed all the installation steps as mentioned in "". When I try to launch the Open Studio by executing ./TalendOpenStudio-linux-gtk-x86_64, it throws an error without launching the Open Studio. The error in the log file says - 
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /opt/bsaitmod/rajesh/TOS_BD/configuration/org.eclipse.osgi/417/0/.cp/libswt-pi-gtk-4430.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
        no swt-pi-gtk in java.library.path
        /root/.swt/lib/linux/x86_64/libswt-pi-gtk-4430.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
        Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi-gtk.so


Can anyone please help resolve this issue?

Thanks,
Rajesh

Accepted Solutions
One Star

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

I was able to resolve this by installing gtk2 package, which had the libgtk-x11-2.0.so.0 file.
$ yum install gtk2

All Replies
Community Manager

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

Hi
Can you please show us your Java version? Just execute java -version in command prompt.
Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
One Star

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

I was able to resolve this by installing gtk2 package, which had the libgtk-x11-2.0.so.0 file.
$ yum install gtk2
One Star

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

Hi ,
i am getting the same issue and also installed the package but still the problem is same .
# more /data/02/talend/talend6.2.1/studio/configuration/1485189883991.log
!SESSION 2017-01-23 11:44:43.846 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_77
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.jdt.launching.macosx 4 0 2017-01-23 11:44:44.757
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.launching.macosx
  Unresolved requirement: Require-Capability: eclipse.platform; filter:="(osgi.os=macosx)"
        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.jdt.launching.ui.macosx 4 0 2017-01-23 11:44:44.761
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.launching.ui.macosx
  Unresolved requirement: Require-Capability: eclipse.platform; filter:="(osgi.os=macosx)"
        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.m2e.discovery 4 0 2017-01-23 11:44:44.766
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.m2e.discovery
  Unresolved requirement: Import-Package: org.eclipse.equinox.internal.p2.discovery.compatibility
        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.compare.win32 4 0 2017-01-23 11:44:44.772
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.compare.win32
  Unresolved requirement: Require-Capability: eclipse.platform; filter:="(osgi.os=win32)"
        at org.eclipse.osgi.container.Module.start(Module.java:434)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.osgi 4 0 2017-01-23 11:44:45.465
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /data/02/talend/talend6.2.1/studio/configuration/org.eclipse.osgi/927/0/.cp/libswt-pi-gtk-4430.so: libXtst.so.6: cannot open shared object file: No such file or
 directory
        no swt-pi-gtk in java.library.path
        /root/.swt/lib/linux/x86_64/libswt-pi-gtk-4430.so: libXtst.so.6: cannot open shared object file: No such file or directory
        Can't load library: /root/.swt/lib/linux/x86_64/libswt-pi-gtk.so
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:39)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:135)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:716)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
        at org.talend.rcp.intro.Application.start(Application.java:92)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

 
 my question is 
1- do i need to install eclipse ?
2- i am running this command from putty (not directly on server )  ,so i that case do i need any x-terminal software to load GUI on my laptop.
One Star

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

Hi,
I use XQuartz to launch the x-terminal from my macbook so may be that's your solution too ?
One Star

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

Hi Team,
while opening the talend in Linux i'm getting the below error 
Talend Version: TOS_BD-linux-gtk-x86_64
Linux Version : Linux quickstart.cloudera 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64                                GNU/Linux
Java Version: # java -version
                   java version "1.7.0_67"
                   Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
                   Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
Error Log displayed:
JVM terminated. Exit code=1
/usr/java/jdk1.7.0_67-cloudera/bin/java
-Xms512m
-Xmx512m
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.7
-XX:+UseG1GC
-XX:+UseStringDeduplication
-jar /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/TOS_BD-linux-gtk-x86_64
-name TOS_BD-linux-gtk-x86_64
--launcher.library /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.overrideVmargs
-exitdata 20000f
-vm /usr/java/jdk1.7.0_67-cloudera/bin/java
-vmargs
-Xms512m
-Xmx512m
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.7
-XX:+UseG1GC
-XX:+UseStringDeduplication
-jar /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar 
Four Stars

Re: [resolved] Unable to open Talend Open Studio for Big Data in Linux

Hi Team,
While opening Talend in linux, I am also getting the same error as below:
Error Log displayed:
JVM terminated. Exit code=1
/usr/java/jdk1.7.0_67-cloudera/bin/java
-Xms512m
-Xmx512m
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.7
-XX:+UseG1GC
-XX:+UseStringDeduplication
-jar /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/TOS_BD-linux-gtk-x86_64
-name TOS_BD-linux-gtk-x86_64
--launcher.library /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.overrideVmargs
-exitdata 20000f
-vm /usr/java/jdk1.7.0_67-cloudera/bin/java
-vmargs
-Xms512m
-Xmx512m
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.7
-XX:+UseG1GC
-XX:+UseStringDeduplication
-jar /home/cloudera/Desktop/TOS_BD-20161216_1026-V6.3.1/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar 
Any solutions on this ??
Regards,
Srinath