Picked up _JAVA_OPTIONS

Table of contents

No heading

No headings in the article.

Was just trying to code in my kali linux OS and encountered this :
Picked up JAVAOPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

On googling , found that
The message "Picked up JAVAOPTIONS" implies that the Java runtime has found this setting in your environment variables. The solution depends on which operating system you are running.

Solution that worked for me?
simply ran the following command :
_SILENT_JAVA_OPTIONS="$_JAVA_OPTIONS" && unset JAVAOPTIONS && alias java='java "$_SILENT_JAVA_OPTIONS"'

if it doesn't work for you , check this out :
https://lnkd.in/gwFvDrsF

Been facing a lot of never-seen-before errors and usually it takes hours to understand the reason behind it and solving it. I have to look up to many websites and try many things, which I find very arduous, so decided to share these so that if someone also faces, it might help .