Server won't start
-
Hello to everyone, sorry for the trouble but i need to improve my linux knowledge so
I have an Raspberry Pi 2 with noobs installed
Typing on console " type -p java " the response is :/usr/bin/java
Typing on console " java -version " the response is :
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)All seem to be right but when i try to start server typing sh -x ./start.sh i get this :
- USER_LOCATION=/usr/mycontroller/bin
- dirname ./start.sh
- ACTUAL_LOCATION=.
- cd .
- HEAP_MIN=-Xms8m
- HEAP_MAX=-Xmx40m
- JAVA_VERSION=1.7
- MC_VERSION=0.0.2-alpha6
- CONF_PROPERTIES_FILE=../conf/mycontroller.properties
- CONF_LOG_FILE=../conf/logback.xml
- type -p java
-p: not found
java is /usr/bin/java - [[ -n ]]
./start.sh: 39: ./start.sh: [[: not found - echo java is not installed in our machine
java is not installed in our machine - [[ ]]
./start.sh: 45: ./start.sh: [[: not found - cd /usr/mycontroller/bin
I will be enjoyed if someone could help me
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login