

Every file has access permission modes for each user class, and they can be toggled on and off depending on the system’s needs. These cover all possible users who might want to access a file on a given system.

They are specified by two attributes: user classes, and permission modes. In UNIX shell systems, access permissions are used to control who is allowed to interact with system files and in what way. Once we have our code in the file, we need to make it executable by updating its access permission. So I did some research, and cue the Bash executable. I still wanted to avoid having to put my partner through learning how to open up a Terminal, cd to a directory, and copy in a scary and complicated command.

Thanks, Bash!īut this is far from simple, and far from clickable. fxml modules, and finally running the JuliaApplet.jar file. To be clear, the code above is one line, and what we’re doing is specifying the path to the JavaFX module library that I’ve installed into the projects folder, then specifying that we need to import the. java -module-path /Users/griffinpoole/Desktop/appTest/javafx-sdk-11.0.2/lib/ -add-modules ntrols,javafx.fxml -jar JuliaApplet.jar Long story short, I could run the JAR through a Bash command, include the modules’ file location, and list the modules that I needed to import from it in the execute command. It took me a while to figure out the solution to this, but I found a helpful stack overflow solution here. Essentially, the JVM is missing the relevant JavaFX modules during runtime to execute the code that we require in our compiled project.
