Jump to content

run.bat file doesn't work


Recommended Posts

Did you set the java 17 path to the javaw.exe in your script?

For example:
 

"C:\Program Files\Java\jdk-17.0.11\bin\javaw.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.3.0/win_args.txt
pause

 

Link to comment
Share on other sites

1 hour ago, TileEntity said:

Did you set the java 17 path to the javaw.exe in your script?

For example:
 

"C:\Program Files\Java\jdk-17.0.11\bin\javaw.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.3.0/win_args.txt
pause

 

will test that once i get home, thanks

Link to comment
Share on other sites

6 hours ago, TileEntity said:

Did you set the java 17 path to the javaw.exe in your script?

For example:
 

"C:\Program Files\Java\jdk-17.0.11\bin\javaw.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.3.0/win_args.txt
pause

 

tried that, still getting the same error. bat file currently reads:

@echo off
REM Forge requires a configured set of both JVM and program arguments.
REM Add custom JVM arguments to the user_jvm_args.txt
REM Add custom program arguments {such as nogui} to this file in the next line before the %* or
REM pass them to this script directly
"C:\Program Files\Java\jdk-17\bin\java.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.3.0/win_args.txt
pause

when i used javaw.exe instead, nothing showed up on the console window at all

Link to comment
Share on other sites

16 minutes ago, TileEntity said:

I have no idea - maybe make a test with a pre-configured modpack - most of these already have a server pack - use it as working base

tried to install with create above and beyond, made the run.bat file as suggested, and still doesn't work. it only persists for about a frame before crashing but i managed to grab this screenshot before it crashed. strangely enough it says nothing at all like this in the crash log

Link to comment
Share on other sites

37 minutes ago, TileEntity said:

I have no idea - maybe make a test with a pre-configured modpack - most of these already have a server pack - use it as working base

i tried an old server i had installed a while ago and that worked just fine. could it be an issue with the installer then?

Link to comment
Share on other sites

11 minutes ago, TileEntity said:

You will need an older Java 8 build - oracle 311 or older, azul b308 or older

tried a fresh install of above and beyond with java 8 installed. got a popup that says "Error: Unable to access jarfile forge-1.16.5-36.2.8.jar". every good programmer knows getting a different error means you've made progress!

Link to comment
Share on other sites

31 minutes ago, TileEntity said:

You will need an older Java 8 build - oracle 311 or older, azul b308 or older

okay i've managed to fix it. looks like i made the stupidest error known to man. i hadn't installed forge to the client, which i assumed only affected the launcher which wouldn't affect me because i used a third party one. evidently not. the more you know

  • Like 1
Link to comment
Share on other sites

On 6/21/2024 at 9:24 PM, TileEntity said:

You will need an older Java 8 build - oracle 311 or older, azul b308 or older

ok apparently the issue is even stupider than that. the folder the server was in was called "𝓯𝓻𝓮𝓪𝓴𝔂 server" and apparently the special characters in the folder name break the whole damn thing. this is the stupidest thing in the history of ever

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.