error on setup

dwippoer8 years ago

Hi,

please help, i got this following error while installing on centos 7:

[root@paketsts tmp]# ./traccar.run 
Verifying archive integrity... All good.
Uncompressing traccar  100%  
Java runtime is required
[root@paketsts tmp]# java -version
openjdk version "1.8.0_101"
OpenJDK Runtime Environment (build 1.8.0_101-b13)
OpenJDK 64-Bit Server VM (build 25.101-b13, mixed mode)
[root@paketsts tmp]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
Anton Tananaev8 years ago

Try following command:

java -version 2>&1 | grep -i version | sed 's/.*version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q'
dwippoer8 years ago

Hi Anton,

thanks for your promt reply & i get this:

[root@paketsts home]# java -version 2>&1 | grep -i version | sed 's/.*version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q'
18
dwippoer8 years ago

finally, it's running well after downgrade to version 3.4.

Anton Tananaev8 years ago

There should be no difference. I haven't changed any of the setup scripts for a while.

ricardopsj8 years ago

I had just about the same problem, installing over docker centos7.
traccar.run requieres linux to have installed which & sudo commands.

Anton Tananaev8 years ago

It's a problem with YAJSW. I have created a thread in their forum:

https://sourceforge.net/p/yajsw/discussion/810311/thread/acd6616e/