how do i get rid of java command message

I have a macbook air running os 10.11.6
What "java command message"?
Welcome to iMore.com! In order to better help you we are going to need more info. Please join the site so you can post a response to our questions. It's easy, here's how...
http://forums.imore.com/ask-question/293812-guide-how-sign-up-imore.html

Original thread: https://forums.imore.com/threads/how-do-i-get-rid-of-java-command-message.378426/