I have installed openjdk-8 which is what android studio requires and have made fish as my default shell using chsh , but neither fish nor android studio can find java or $JAVA_HOME,
how can I make them recognize it , I have also reinstalled it so that to confirm but it also didn't work.
PS : I have installed android studio from extracting tarball file in my home/android-studio and added
.../bin it in my fish path.