I recently switched to Ubuntu 18.04.5 LTS and struggeled a little bit to install xTimeComposer. I'm not very experienced with Ubuntu, so I decided to write a little tutorial on how I got xTimeComposer to work.
1. Download xTimeComposer from the XMOS Software Tools page: https://www.xmos.ai/software-tools/
2. Install a working JRE and JDK version. I initially used "apt install default-jre" which installed openjdk-11 and did result in an error message and not being able to start the xTimeComposer. It worked for me with
Code: Select all
apt install openjdk-8-jre
apt install openjdk-8-jdk
Code: Select all
update-alternatives --config java
Code: Select all
tar -xzf installer.tgz -C your/directory
Code: Select all
source SetEnv
Code: Select all
./xtimecomposer
In short: Comment out line 144 in Community_14.1.2/bin/xtimecomposer. (The line number seems to change from version to version but you will find it quickly)
Code: Select all
#$ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";
After installing a working java version and commenting out line 144 as shown in step 6, I was able to start the xTimeComposer.
Hope this helps someone in the future. I certainly would have saved me a day or two.
Have fun.
Simon