Hi @zellwd,
All depends on your code…
P5js and processing java build up a similar framework ie. setup/draw.
Regarding the libraries. No! Java and Javascript are different things.
But if you want to implement backend logic with java you can use a server-site approach ie. RestAPI calls etc.
But that mean you need an appserver running ie. tomcat.
As said, all depends on your code and what it does … and if you could tell what libraries you want to use for what we can see if there are similar libraries for js…
Cheers
— mnse