So I need Studio 3t for my work, which is in Java, using the annoying Install4j software.
This means that the linux download gives me a tar file with a single .sh file which contains a huge binary dump.
I wanted to try a get it setup via nix-build, but I have no idea where to start, since the first error I get when trying to run the script is this
./studio-3t-linux-x64.sh: line 580: /home/armeeh/Pkg/studio-3t/studio-3t-linux-x64.sh.27032.dir/jre/bin/java: cannot execute: required file not found
Looking at the script it does have some sort of override for java location, so I tried:
$ nix-shell -p jre $ INSTALL4J_JAVA_HOME_OVERRIDE=$(realpath "$(dirname $(which java))/..") ./studio-3t-linux-x64.sh
But that resulted in the same error.