Search code examples
javaopen-liberty

start server manually on open-liberty via terminal


I am trying to run an open-liberty server on my ubuntu machine. But when I browse to ~/wlp/bin and type in ./server create name I recieve the message:

./server: 793: ./server: ~/ibm-java-x86_64-80/jre/bin/java: not found

What am I missing? I kept looking around the web for some time now. I tried at least 5 different Java 8 versions but none is working.


Solution

  • Okay it works now. I set the variables now per "nano .bashrc" and I rebooted the VM afterwards. Thanks for your help everyone.