how do I enable java script in LibreOffice?

I can’t open some of my files without using java script

Please clarify your intent:

  • you want to use java script as macro language in LibreOffice ?
  • you want to open a Office-File in an external Java-Script program ?
  • you want to send comands from java-script programs to a running LibreOffice - like a remote control ?
  • or did you even mix java and Java-Script

Jm

First step for the asked question:
During Installation of LibreOffice avoid standard Install,
but choose custom, and check if the additional components for java-script/net-beans are installed or deselected.

Second: like python there will be no IDE for development. You have to write your programs with an external Editor an put them in the appopiate folders yourself.

J.