Java 8 true nas problem

Hello, Here is my problem I use a profile FTBold (FTBinfinity)
on true nas with the version of java 8 everything works perfectly well, but I uninstalled the plugin but now every time I reinstall java 8 my plugin crashes and impossible to reopen it I absolutely have to reinstall it, knowing that I don’t I didn’t change the method I did exactly the same

pkg install -y npm openjdk8-jre

Of course I modify the server so that it takes the right version

thank you if I ever use true nas core on freeBSD