Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in Development Kit | 6.3.1 |
When installing the custom plug-in via p2 installer (i:e in BW studio Help > 'Install New Software' and providing a local package related to a custom palette) in the BW 6.10/6.11 studio in Mac OS, you will get the following error, the installation fails due to a wrong path used for java:
==================================
BUILD FAILED
/Users/tecuser/tibco/bw611/bw/6.11/scripts/bwpostinstall.xml:1579: java.io.IOException: Cannot run program "/Users/tecuser/tibco/bw611/tibcojre64/17/bin/java" (in directory "/Users/tecuser/tibco/bw611/bw/6.11/scripts"): error=2, No such file or directory
==================================
To overcome this error, kindly update the file build.xml in the %bw_home%/bw/version/scripts/ folder, update the following line ( ln #34 for bw 6.11/6.10). For your reference, I am attaching the snapshot for the build.xml file.
For Example: According to the above error while installing, it is trying to take the java path as "/Users/tecuser/tibco/bw611/tibcojre64/17/bin/java"
But actually, the Java path is under: "/Users/tecuser/tibco/bw611/tibcojre64/17/Contents/Home/bin/java"
So, now we need to change the build.xml file as below, and the issue will be resolved.
=========
BusinesStudio search java home in wrong location on Mac OS while installing the custom plug-in via p2 installer in the BW 6.10/6.11