A quick search for java in my package manager says I have only this installed:
java-runtime-common
https://www.archlinux.org/packages/extra/any/java-common/Is the above the only "java" package I need?
Here's what starsector.sh looks like after the edit:
java -server -XX:CompilerThreadPriority=1 -XX:+CompilerThreadHintNoPreempt -Djava.library.path=./native/linux -Xms1536m -Xmx1536m -Xss1024k -classpath janino.jar:commons-compiler.jar:commons-compiler-jdk.jar:starfarer.api.jar:starfarer_obf.jar:jogg-0.0.7.jar:jorbis-0.0.15.jar:json.jar:lwjgl.jar:jinput.jar:log4j-1.2.9.jar:lwjgl_util.jar:fs.sound_obf.jar:fs.common_obf.jar:xstream-1.4.10.jar -Dcom.fs.starfarer.settings.paths.saves=./saves -Dcom.fs.starfarer.settings.paths.screenshots=./screenshots -Dcom.fs.starfarer.settings.paths.mods=./mods -Dcom.fs.starfarer.settings.paths.logs=. com.fs.starfarer.StarfarerLauncher
Running starsector.sh shows this:
$ ./starsector.sh
Unrecognized VM option 'CompilerThreadHintNoPreempt'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Yes, it was a clean installation.
I just downloaded a fresh copy of Starsector and moved my saved game over.
Running the edited starsector.sh still gives me the above error.