1 - Newer JAVA versions changed output slightly. Installing OpenJDK Java 8, as now latest version in the distribution, the output from java -version 2 is different than earlier versions. Edit /XMOS/xTIMEcomposer/Community_13.2.3/bin/xtimecomposer
From:
Code: Select all
# Check java version
my $version = substr($output, 14, 3);
if ($version < 1.5) {
die ("Incorrect java version. Requires 1.5 or greater.\n");
}
Code: Select all
# Check java version
my $version = substr($output, 17, 3);
if ($version < 1.5) {
die ("Incorrect java version. Requires 1.5 or greater.\n");
}
From:
Code: Select all
if [ `whoami` == root ]; then
echo Please run this script as root or using sudo
exit
fi
Code: Select all
if [ `whoami` != root ]; then
echo Please run this script as root or using sudo
exit
fi