Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Installation errors on Mac OS X Sierra

I have a client that is installing TOS DI 7.0.1 on OS X Sierra. I've gone through the other solutions and they are not working. 

First thing I noticed was that the install guide was a 6.x version - Talend needs to update this.

We unpacked with Keka since other threads said the Mac unzipper doesn't work properly and fails silently. But this should be in the install docs if true.

When trying to run, the error is:

 

  • The TOS_DI-macosx-cocoa executable launcher was unable to locate it's companion shared library.

 

There appears to be some xattr command you need to run, but we tried that:

 

xattr -c TOS_DI-macosx-cocoa.app
or
xattr -c *

in the unpacked directory. We still get this error when it launches. It goes on and on with other modules, but I truncated it for brevity:

!SESSION 2018-06-09 17:51:02.615 -----------------------------------------------
eclipse.buildId=unknown
java.version=10.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/seanashbrook/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/seanashbrook/.eclipse_keyring -showlocation

This is a continuation of log file /Applications/talend/TOS_DI-20180411_1414-V7.0.1/configuration/1528591862968.bak_0.log
Created Time: 2018-06-09 17:51:28.561

!ENTRY org.talend.presentation.onboarding.nl 2 0 2018-06-09 17:51:28.594
!MESSAGE Could not resolve module: org.talend.presentation.onboarding.nl [711]
  Unresolved requirement: Fragment-Host: org.talend.presentation.onboarding
    -> Bundle-SymbolicName: org.talend.presentation.onboarding; bundle-version="7.0.1.20180411_1414"; singleton:="true"
       org.talend.presentation.onboarding [716]
         Unresolved requirement: Require-Bundle: org.talend.libraries.jackson
           -> Bundle-SymbolicName: org.talend.libraries.jackson; bundle-version="7.0.1.20180411_1414"; singleton:="true"
              org.talend.libraries.jackson [656]
                Unresolved requirement: Require-Bundle: com.fasterxml.jackson.core.jackson-databind; bundle-version="2.9.4"; visibility:="reexport"
                  -> Bundle-SymbolicName: com.fasterxml.jackson.core.jackson-databind; bundle-version="2.9.4"
                     com.fasterxml.jackson.core.jackson-databind [15]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

I don't see any other solutions. Thank you kindly.

 

Labels (2)
4 Replies
Anonymous
Not applicable
Author

Hello,

We are not yet targeting java 10. Could you please use java 8 instead to see if it works?

Here is online documentation about:TalendHelpCenter:Compatible Java Environments.

Best regards

Sabrina

chnet1
Contributor
Contributor

I'm Using OS X Sierra (10.13.6) And I Tried to run: 

  • TOS_DI-20180411_1414-V7.0.1
  • TOS_DI-20180724_1359-V7.1.1M2

and the logfile says:

!SESSION 2018-08-09 11:15:25.729 -----------------------------------------------
eclipse.buildId=unknown
java.version=10.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=de_DE

 

But my java version is:

$ java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

And my Java Path is:

$ echo $PATH
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

So where can i target talend/eclipse to my systems java version?
(help center seems to be down)
Many thanks in advance 0683p000009MACn.png
Christian

chnet1
Contributor
Contributor

Found a working solution:

 

  1. find your java path with 
    /usr/libexec/java_home -V
    you'll get something like:
    Matching Java Virtual Machines (7):
        10.0.1, x86_64:	        "Java SE 10.0.1"  /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
        1.8.0_181, x86_64:	        "Java SE 8"	  /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home
        1.8.0_171, x86_64:	        "Java SE 8"	  /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home
        1.8.0_151, x86_64:	        "Java SE 8"	  /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home
        1.7.0_80, x86_64:	        "Java SE 7"	  /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home
        1.6.0_65-b14-468, x86_64:	"Java SE 6"	  /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
        1.6.0_65-b14-468, i386:	"Java SE 6"	  /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
  2. Open the application Package TOS_DI-macosx-cocoa.app and go to Folder 'Contents'
  3. Find the following part in 'Info.plist':
    <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
    					or add a VM found via $/usr/libexec/java_home -V 							
    				<string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
    				<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java</string>
     			--> 
    and change to:
    <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
    or add a VM found via $/usr/libexec/java_home -V 
    <string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string> --> 
    <string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java</string>

Please ensure that you are using the correct path in my case:

/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java 

 

Hope this work for you guys too 0683p000009MACn.png

Anonymous
Not applicable
Author

Hello

Thanks for sharing your experience with us on forum.

Best regards

Sabrina

 ,