Open Lazza opened 4 years ago
This file is part of the Netbeans platform that Autopsy uses. It is not part of Autopsy.
@markmckinnon thank you for your reply.
I see... Is there any kind of build script that I can check to see if the substitution of this string can be automated?
It is very important on macOS if the user has more than one JDK installed, because setting the JAVA_HOME
doesn't help.
The files are part of the build process so there is no way to automate changing that file that I am aware of.
Thank you. I see that there are some scripts in /release_scripts
that maybe are run after the releases are built... like a kind of "post build hook".
IMHO, if there is such a mechanism, it should be possible to use it to fix the nbexec
command as well. Unfortunately I know very little about the code base.
Currently, the platform/lib/nbexec script contains the following at line 161:
However, this does not detect the Liberica JDK 8 package correctly. This should be written instead:
This also conforms to the instructions written in
Running_Linux_OSX.txt
. If thenbexec
script is fixed, theJAVA_HOME
must only be set once for the UNIX setup step. After that, it does not even need to be set correctly.