It's all good. I'll just try to mess around with it and hopefully figure something out. Or maybe somebody has a solution. Either way, thanks for the reply!
The error code in your original post is an “access denied” error, meaning you don’t have sufficient permissions. When this mind of error pops up on a Windows machine, I can think of two possible causes/solutions:
- Try running the bat file as an administrator (right click, run as administrator or ctrl+shift+enter in the start menu bar).
- Where is your Starsector installation located? If it’s in Program Files or Program Files (x86), try moving it out to, say, Documents. Windows really doesn’t like its users modifying the program files for some reason.
Edit: upon further inspection, this seems like a java issue and not a Starsector issue, so the second suggestion is unlikely to work. If running as administrator fails you may need to go into regedit and create java preferences key yourself.
When I just run the bat file as admin, it just brings up the command prompt like bat files do, and it closes out after anything is pressed. I ran IDEA as admin and went to debug it again, and it did clear up the first error, which is awesome. However, the second error still shows up.
Edit: I realize it would likely be more helpful to post the entire output I got when running the debugger on IDEA as it does say Error in there even though it was not highlighted in red...
Spoiler
cmd.exe /c "C:/Program Files (x86)/Fractal Softworks/Starsector/starsector-core/debug-starsector.bat"
C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core>..\jre\bin\java.exe -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 -Xms1536m -Xmx1536m -Xss2048k -Dcom.fs.starfarer.settings.paths.logs=. -Dcom.fs.starfarer.settings.paths.saves=../saves -Dcom.fs.starfarer.settings.paths.screenshots=../screenshots -Dcom.fs.starfarer.settings.paths.mods=../mods -classpath janino.jar;commons-compiler.jar;commons-compiler-jdk.jar;starfarer.res.jar;starfarer.api.jar;starfarer_obf.jar;jogg-0.0.7.jar;jorbis-0.0.15.jar;json.jar;lwjgl.jar;lwjgl_util_applet.jar;jinput.jar;lwjgl_test.jar;log4j-1.2.9.jar;lwjgl_util.jar;fs.sound_obf.jar;fs.common_obf.jar;xstream-1.4.10.jar com.fs.starfarer.StarfarerLauncher
Listening for transport dt_socket at address: 5005
0 [main] INFO com.fs.starfarer.StarfarerLauncher - Starting Starsector 0.95.1a-RC6 launcher
1 [main] INFO com.fs.starfarer.StarfarerLauncher - Running in C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core
1 [main] INFO com.fs.starfarer.StarfarerLauncher - OS: Windows 8.1 6.3
1 [main] INFO com.fs.starfarer.StarfarerLauncher - Java version: 1.7.0_79 (64-bit)
12 [main] INFO com.fs.starfarer.launcher.ModManager - Found mod: [C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Magellan Protectorate(modified)]
13 [main] INFO com.fs.starfarer.settings.StarfarerSettings - Loading settings
13 [main] INFO com.fs.starfarer.loading.LoadingUtils - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/settings.json)]
53 [main] ERROR com.fs.starfarer.StarfarerLauncher - java.lang.UnsatisfiedLinkError: no lwjgl64 in java.library.path
java.lang.UnsatisfiedLinkError: no lwjgl64 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:87)
at org.lwjgl.Sys.<clinit>(Sys.java:117)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at com.fs.graphics.DisplayManager.Ò00000(Unknown Source)
at com.fs.starfarer.launcher.opengl.GLLauncher.detectResolutions(Unknown Source)
at com.fs.starfarer.launcher.opengl.GLLauncher.<init>(Unknown Source)
at com.fs.starfarer.launcher.opengl.GLLauncher.createUI(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.Sys
at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
Press any key to continue . . .