Importing Java libraries into embed Processing sketch online

Hi @mnse and thank you for your answer.
So if I convert my Processing code to p5.js I would have to convert the java libraries I wanted to import too? Is there no way to import java libraries into a p5.js program?
Thank you