How to place java jdk to PATH

– Please Write here your help request, –
i want to place my java jdk to PATH how do i do it

  • Parrot version in use (if you are not aware of it, open terminal and type cat /etc/os-release | grep VERSION):

  • Logs/Terminal output (use pastebin or similar services):

  • Screenshots:

You have to add it to your .bashrc file

How ? i get errors when i add it to bashrc file

add it to last line in .bashrc

export PATH=$PATH:your java directory here

for me it is more easy to place everything on PATH environment , try it and see if it works .