0

When I startup my terminal, I always get a bunch of "help" information about java. How can I get rid of this? I am not even sure what package I installed that changed what is executed on startup. Any help or ideas on where to look would be GREATLY appreciated. Thanks.

enter image description here

1 Answer 1

0

I sort of ignored this for a while ... and then realized that I had the following in ~/.bashrc

export JAVA_HOME=$(/usr/bin/java)

I removed this as unnecessary, and YAY! no more java messages. It is still in my path as executable, so no need to additionally export it. For anyone out there that may come across this, don't forget to run the following after making any changes to that file:

. ~/.bashrc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.