Open rhoerste opened 3 years ago
Hi rhoerste, the plugin installer uses whatever Java JVM you have locally installed on your system. That means it leverages the JVM which is first accessible in your PATH. Can yuo please double check what JVM is available on your system via
which java
java -version
In case it is >v15 you could have the issue mentioned here: stackoverflow: Unable to create javax script engine for javascript in Javafx application
The installation worked for me on Ububtu 20.04. Default Java version here is v11.
BW v6 itself comes with its bundled Java runtime. Perhaps you should leverage this for the installation process:
source <bw-install-patch>/bw/6.7/scripts/bash.rc
and start the maven-plugin installer again from the same terminal. This should use the BW6 JVM which is a Java8 (1.8) that includes the needed script runtime.
In case it will not work, the relevant changes are:
export JAVA_HOME=<bw-install-patch>/tibcocore64/1.8.0
export PATH=$JAVA_HOME/bin:$PATH
which java
java -version
Now the installer should be able to run successfully!
I running on MACBook Pro / macOS Catalina Version 10.15.7 I got the Error message during the installation process after I put in the Tibco Home path.
TIB_BW_Maven_Plugin_2.8.0/build.xml:57: Unable to create javax script engine for javascript
BUG REPORT INFORMATION
Maven Plugin version: 2.8.0
Maven version: 3.8.1
Product : TIBCO Businessworks Container edition
Product version: 2.6.1
Component: Maven Eclipse Plugin
Steps to reproduce the issue:
Additional environment details if any: java version 16.0.1
Describe the results you received: Unable to create javax script engine for javascript