For anyone who gets an error after starting the server, it's probably because you have two java versions installed, and forge defaults to using the most recent one. To tell forge wich java version to use, just write this in your bat file: "C:\Program Files\Java\YOUR JAVA VERSION FOLDER NAME\bin\java.exe" -Xmx2048M -Xms2048M -jar forge.jar nogui (mind that your java.exe file could be in a different position)
@@elite2773 You need to use java 8, you need an Oracle account for it and then you gotta write: "C:\Program Files\Java\jre1.8.0_331\bin\java.exe" -Xmx2048M -Xms2048M -jar forge.jar nogui of course that can change depending on where your java is, but that was my thing.
@@timothymanukian for anyone on mac the file path is /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/jre/bin/java so yeah, your command should look like /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/jre/bin -Xmx2048M -Xms2048M -jar forge.jar nogui pause
Hi, I was going to comment about the 9:00 part saying that I had a InvocotationTargetException error, but found a solution: going to search bar > add or remove programs > java versions showcased I had both java 8 and java 17. You need to un-install any other java version aside from java 8. He mentioned it in the video but I figured I'd leave this comment to help someone. Hope this helps!
Got stuck on this for a while, looked at this comment, saw that I had Java Dev Kit Installed, went to uninstall, then got a message saying the application that I use for my job wouldn't work without Java Dev Kit. Now I need to use another computer to run the server on :/ Thanks for the help though!
I followed TheBreakdown's tutorial, a bigger channel with probably more experience and budget, but I just couldn't get the server to work with mods. Then I stumbled upon your video and now I can make a fully functional server. THANK YOU!!!
Same exact thing. I remembered that at the start of each video he does a small AD for a Hosting server and how easy it is to do with them if you pay, and then the video starts and nothing works? wierd isnt? is it conspiracy? i dont think so hahah jk
@@JoeBlowGaming the mods folder didnt appear also when i renamed the source code to forge my cmd said: A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
OH MY GOD MAN THANK YOUUUU!!!! I am in literal tears! thank you so much for show this step by step. I haven't played minecraft modded in so long, I got so inspired to play, and I managed to get my girl and friends together so everyone played together. I was having so much trouble, so many problems were happening on the server I was trying to create. Then I found you and now my server is running the exact way it use to when I was little. THANK YOU!! You made a man's day and family happy and who knows, maybe a generation of fun. just thank you!
I have a problem, so everything went okay but as soon as i try to put mods(20) and start the server(forge.jar with run.bat) with mods it just disables every mods an the server shutdowns at the end i don´t know what else to do
So i was doing it but when i started the server it said "Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap" can you help me with it thanks...
So I have told server made and all the mods installed on the server and locally and when I load the server all the mods are there but you can’t use them. For instance if you go in creative you can see modded items but if you put them in your inventory you can use/place them. Any fix for this or am I just destined for failure
i get an error when running the .bat file after i change it to forge instead of server... any help? i did this already for one mod pack but now i wanna do a rl craft server and it doesnt work
Hope someone can land a help here, I've been trying to get this to work, watched multiple videos and tutorials, but I end up in the same place. I followed all steps here up until I edit the server .bat file to launch the forge server, and every time the server launches it immediately closes or shuts down right away, but I can host a vanilla server but when I try a forge server, it instantly shuts down, doesn't even want to even get the initial set up going on. What am I doing wrong?
idk if you still need help, it's been over a year, but try adding "pause" to the second line of the start.bat, and if you run it and it has a invocation error, you have 2 versions of java installed. what worked for me was uninstalling both and then downloading java 8 again
@@bazooka1627 yeah my pc is just on. I built a pc dedicated for a server so not to expensive. just launch it then unplug the monitor and anything since it still is running on your pc.
@@EElytee lbut you need to search how to port forward or else the server will be blocked and your friends can't join basically meaning you need to open the port. So the ip for the server should look something like. 111.111.111:11111
I'm really curious right now. What is happening to my server - i have 108mods ( they are really heavy ) , they load just as fine as mods in a client pc BUT after like 10 seconds the server suddenly shuts down. I don't know what is 100% a problem but i have only 8G of RAM installed on that server and in that run.bat file i allocated 5G and now i'm wondering, is it plenty or is it too little. Right now my server PC has some things to do so i will give it a time to update itself and then i will try to install another stick of 2G RAM and give it a try. And also i will alocate 7G instead of 5 so hopefully it'll be alright
i get as far as 9:20 but it wont run, like the server thing pops up saying a problem has occured a few lines of stuff then press anything to continue,nothing else happens in the folders
is there anyway to change it so you can choose to either be in survival or creative? ive tried the commands in the game chat but it says i dont have permission to do that, anyway i can change the programming to allow it?
If you're getting the error that you cant open the forge server, you're using the wrong version of java, if you installed java 8 over a java version you already had, uninstall the other version
After i put 10+ mods on the server it would get to a point then just pause causing me to restart and it wouldn't change, It would work with a couple of mods.
It keeps saying after added this "C:\Program Files\Java\YOUR JAVA VERSION FOLDER NAME\bin\java.exe" i put my java version name since the original thing didnt work like yours did then it says 'C:\Program' is not recognized as an internal or external command, operable program or batch file." i don't know how to fix this?
I keep getting the "invalid session" error, help (All my other servers works fine, my account is not premium tho, but still works on non-premium servers just fine, is just this one)
@@JoeBlowGaming A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') at net.minecraft.launchwrapper.Launch.(Launch.java:34) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ... 6 more
@@unluckyspoon9049 I had the same issue. My problem was that I had another version of the Java SE Kit installed, specifically, the 15.0.0 one and the 16.0.0 one. I had to delete them by going to Control Panel>Programs and Features>Uninstall a program and uninstall both of them from there. after doing that I installed the Java 8, 311 update which at this time is the current up to date version of Java 8. You need to make sure you have no other version of java installed after that I ran the forge file and it worked flawlessly
When I deleted the vanilla server .jar file and did the forge thing and edited the run.bat the command prompt said there was a problem running the server launcher.java.lang.reflect.invocationtarget expection. Help?
the run thing wont act as the server and only the vanilla thing runs as the server. whenever I change the name of the forge.jar file to just forge it completely ruins the file and changes it from an executable jar file to just file. and when I get into the server with my friends, on my end I have the mods and cant do anything with them, and on his end it is the same, we also cant see anything related to mods. help plsss
Its not working at all forge file does nothing when I click on it I have java installed and everything and then when I define the location of my java it says this E:\Minecraft 1.12.2 Server>C:\Program Files\Java\jre-1.8\bin java -Xmx4048M -Xms4048M -jar forge.jar nogui 'C:\Program' is not recognized as an internal or external command, operable program or batch file. E:\Minecraft 1.12.2 Server>pause Press any key to continue . . .
can you please hgelp me man I cant open the jar files with java 8, i tried opening with another app and selecting: "C:\Program Files\Java\jre1.8.0_311\java.exe" but it just opens and closes all really quickly.
did you create the run.bat file. If you did type pause under the command line in your run.bat run the server it will pause it instead of closing right away! let me know what it says!
When i do run.bat it fails and when i do jar.fix it still fails is it because i only have like 12 gb on my pc? i can put some g's in my 3 tear-i-byte storage (DON'T ANSWER I FIXED THIS VIA CHANGING TO JAVA 7 REPEAT I HAVE FIXED IT)
nvm 30 gb and i have java 8 installed the error is this: C:\Users\jayde\Documents\Desktop\Modded Create Server>java -Xmx1024M -Xms1024M -jar minecraft_server.1.20.1.jar nogui Error: Unable to access jarfile minecraft_server.1.20.1.jar C:\Users\jayde\Documents\Desktop\Modded Create Server>pause Press any key to continue . . .
Please, I've been met with the error message "Downloading minecraft server failed, invalid e-tag checksum. Try again, or manually place server jar to skip download." when trying to Install Server for days now. This is my first time trying to create a server and I have no idea what I'm doing. I've tried fixing it via forums online but nothings working. Does anyone have any ideas?
joeblowgaming i have a problem when i start the forge server it says "A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException"
When you double click the last time on "Run" it says a problem occurred running the server launcher java......, i have only one version of java so ots not a problem of localization
Hey I know this vid is a bit old but if could help thatd be great. Im getting an error whenever i try to run the forge server from the run.bat saying, "A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException" then it continues with, "Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')"
When I tried to open the server it said: "The state engine was in incorrect state PREINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded." anyone knows how to fix this?
I have a problem, so everything went okay but as soon as i try to put mods(20) and start the server(forge.jar with run.bat) with mods it just disables every mods an the server shutdowns at the end i don´t know what else to do
wont work i click run and it stops and says press any key to continue the closes not saying it dosent work but for me no and ive restarted this 5 times
found a solution: going to search bar > add or remove programs > java versions showcased I had both java 8 and java 17. You need to un-install any other java version aside from java 8. He mentioned it in the video but I figured I'd leave this comment to help someone. Hope this helps!
hello, when you run run.bat ( java -Xmx2048M -Xms2048M -jar forge.jar nogui pause ) and I launch it does not work and launch nothing at all please help me
For those who got the error: "C:Program is not an internal or external command" I moved my java folder to my desktop which removed any spaces in my file directory
Hi, I was going to comment about the 9:00 part saying that I had a InvocotationTargetException error, but found a solution: going to search bar > add or remove programs > java versions showcased I had both java 8 and java 17. You need to un-install any other java version aside from java 8.
5:39 when i type the *pause* then it just writes *error unable to acces jarfile server.jar* under that is typed *Users//DEsktop/forgeserver>pause so that means it doesnt work as u would expect but when i dont type the *pause* then it wont start up so idk what to do
Upon opening the run.bat file, I would come up with an error, the error being this: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') This was after removing the original server jar. Ive run a forge server before but that one stopped working. Any idea what the heck is happening? I use java 16 btw Edit: I reinstalled java 8 and still having issues
For anyone who gets an error after starting the server, it's probably because you have two java versions installed, and forge defaults to using the most recent one. To tell forge wich java version to use, just write this in your bat file: "C:\Program Files\Java\YOUR JAVA VERSION FOLDER NAME\bin\java.exe" -Xmx2048M -Xms2048M -jar forge.jar nogui
(mind that your java.exe file could be in a different position)
@@elite2773 You need to use java 8, you need an Oracle account for it and then you gotta write: "C:\Program Files\Java\jre1.8.0_331\bin\java.exe" -Xmx2048M -Xms2048M -jar forge.jar nogui
of course that can change depending on where your java is, but that was my thing.
@@germangamermax1974 where do i type the location
how do i write it? it just kicks me out after pressing one key
tysm man
@@timothymanukian for anyone on mac the file path is /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/jre/bin/java so yeah, your command should look like /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/jre/bin -Xmx2048M -Xms2048M -jar forge.jar nogui
pause
Hi, I was going to comment about the 9:00 part saying that I had a InvocotationTargetException error, but found a solution: going to search bar > add or remove programs > java versions showcased I had both java 8 and java 17. You need to un-install any other java version aside from java 8. He mentioned it in the video but I figured I'd leave this comment to help someone. Hope this helps!
Thank you so much! I've been stuck on this for at least 15 mins and decided to check the comments.
Np bro
You are my Hero i had the development kit installed i was so confused.
i had that as well, i'll give it a test now and see if it works
Got stuck on this for a while, looked at this comment, saw that I had Java Dev Kit Installed, went to uninstall, then got a message saying the application that I use for my job wouldn't work without Java Dev Kit. Now I need to use another computer to run the server on :/
Thanks for the help though!
THANK YOU. All other tutorials skipped a lot of steps this was very in depth leaving no room for doubt
I followed TheBreakdown's tutorial, a bigger channel with probably more experience and budget, but I just couldn't get the server to work with mods. Then I stumbled upon your video and now I can make a fully functional server. THANK YOU!!!
Yeah it never got the mods folder
Same exact thing. I remembered that at the start of each video he does a small AD for a Hosting server and how easy it is to do with them if you pay, and then the video starts and nothing works? wierd isnt? is it conspiracy? i dont think so hahah jk
Incredibly helpful, was struggling all night to figure this out to make a server for my misso. Explained it very consisely, earned a sub.
Thanks for the support you're amazing!
@@JoeBlowGaming the mods folder didnt appear also when i renamed the source code to forge my cmd said: A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
@@Windows11Guy798 did you ever figure it out getting the same error
6:04 "Never double click this guy, its really bad"
me who was constantly opening it to run my previous server:
It's not that bad like you can click it to run your server it's just not the best way to do it!!!
Tysm been really going insane watching other tutorials they all skipped lots of parts and didnt explain a lot
this video really helped me a lot
Happy it helped boss!
Thank you so much i was trying to get that forge server to work for hours, but you just explained it perfectly. its now working tysm bro
❤❤❤
Super super helpful bro, even if you think it was long it wasn't, it was perfect and concise!
OH MY GOD MAN THANK YOUUUU!!!! I am in literal tears! thank you so much for show this step by step. I haven't played minecraft modded in so long, I got so inspired to play, and I managed to get my girl and friends together so everyone played together. I was having so much trouble, so many problems were happening on the server I was trying to create. Then I found you and now my server is running the exact way it use to when I was little. THANK YOU!! You made a man's day and family happy and who knows, maybe a generation of fun. just thank you!
all i got was an error lol
You are the ONLY one that actually gave a proper tutorial that 100% worked for me. Thank you so much!
Thank you happy to help out!
@@JoeBlowGaming help ... A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException how do i solve this
as soon as i changed the run.bat "server" into the name "forge" the run.bat wouldnt open anymore, anyone have the same problem?
Yes me too
You need to edit the .bat file and make sure you change the server.jar to forge.jar
@@georgearredondo7863 I have
My run.bat won’t even run
I have this issue as well
bro you make it so simple and basically hold our hand the entire way through thank you so much
I have a problem, so everything went okay but as soon as i try to put mods(20) and start the server(forge.jar with run.bat) with mods it just disables every mods an the server shutdowns at the end i don´t know what else to do
Can you help ?
Thanks broo. You helped me so much. I searched years for a good 24/7 minecraft server host, but i didnt know that i can make it myself!!!!!! I subed😇
Port forward links dont work anymore
the fact that this worked is crazy, you described it in perfect detail and it worked perfectly thanks G
BOOM, great video man simple and straight forward
So i was doing it but when i started the server it said "Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap" can you help me with it thanks...
did you ever find out the solution?
REMOVE THE PAUSE FROM RUN.BAT!
NVM, YOU NEED TO MAKE THE RAM USAGE LOWER ( TRY PUTTING 1024 instead of 2048)
@@tropicalslav931 Tysm
Joe ur the best. you may have been aggresive a bit but i love u. ur soooooo smart. thank youuuuu
Thank you really appreciate you!
thank you dude, other people just say install forge directly!
So I have told server made and all the mods installed on the server and locally and when I load the server all the mods are there but you can’t use them. For instance if you go in creative you can see modded items but if you put them in your inventory you can use/place them. Any fix for this or am I just destined for failure
i get an error when running the .bat file after i change it to forge instead of server... any help? i did this already for one mod pack but now i wanna do a rl craft server and it doesnt work
same
"Java is not recognized as a internal or external command" pls help
make sure you have java installed
Nice vid!
Hope someone can land a help here, I've been trying to get this to work, watched multiple videos and tutorials, but I end up in the same place. I followed all steps here up until I edit the server .bat file to launch the forge server, and every time the server launches it immediately closes or shuts down right away, but I can host a vanilla server but when I try a forge server, it instantly shuts down, doesn't even want to even get the initial set up going on. What am I doing wrong?
same... idk what to do about it
im having the server issue, aw man
idk if you still need help, it's been over a year, but try adding "pause" to the second line of the start.bat, and if you run it and it has a invocation error, you have 2 versions of java installed. what worked for me was uninstalling both and then downloading java 8 again
This is really the greatest tutorial I've ever seen!!!Thank you!!!!!
The first file download won’t open, did you get this error too?
thanks so much man actually genuine and good quality.
the moment I change the server.jar in run to forge.jar the run gives errors. Do you know why?
thank you. It worked now Im running a 24/7 server and all my friends and I can join and it doesn't even lag
Just wondering how you keep it running 24/7 leave your pc on forever?
@@bazooka1627 yeah my pc is just on. I built a pc dedicated for a server so not to expensive. just launch it then unplug the monitor and anything since it still is running on your pc.
@@mrapple6120 Hey how i can send the ip from my friends to join?
@@EElytee well it's either you use your own ip address or you go into a server config and set the ip. It's been a while since I've had a server.
@@EElytee lbut you need to search how to port forward or else the server will be blocked and your friends can't join basically meaning you need to open the port. So the ip for the server should look something like. 111.111.111:11111
uninstalled java development kit, now it works
Fantastic! Saved my server woot! Thanks
I'm really curious right now. What is happening to my server - i have 108mods ( they are really heavy ) , they load just as fine as mods in a client pc BUT after like 10 seconds the server suddenly shuts down. I don't know what is 100% a problem but i have only 8G of RAM installed on that server and in that run.bat file i allocated 5G and now i'm wondering, is it plenty or is it too little. Right now my server PC has some things to do so i will give it a time to update itself and then i will try to install another stick of 2G RAM and give it a try. And also i will alocate 7G instead of 5 so hopefully it'll be alright
how does this guy have a mortgage xD
thx for the tutorial tho, it was really helpful :)
i get as far as 9:20 but it wont run, like the server thing pops up saying a problem has occured a few lines of stuff then press anything to continue,nothing else happens in the folders
same..........
I'm getting a VM error
how do you fix that?
What is the ip for send it to friends❤
just a quick question...what happens when you click jar file instead of the .bat?
It will open the server but it’s not the proper way. The run.bat is better to be able to run the sever you can dedicate RAM to it.
don't listen to him, it just start the server with 2 GB of ram, nothing to worry about if you run it accidentally
big vid thumb up 👍
is there anyway to change it so you can choose to either be in survival or creative? ive tried the commands in the game chat but it says i dont have permission to do that, anyway i can change the programming to allow it?
do "/op {your name} in the console
@@GryphonsChannel it says i dont have permission anyways
I followed all the steps but when I try to run forge I get an error
what error do you get?
If you're getting the error that you cant open the forge server, you're using the wrong version of java, if you installed java 8 over a java version you already had, uninstall the other version
@@XanMcC thanks man this fixed my problem
Why do we use the .bat instead of the jar files we're given though? Can they not be modified in some way to receive extra ram?
I did everything but when I opened the run it didn't start the server, it just sat there
indeed
After i put 10+ mods on the server it would get to a point then just pause causing me to restart and it wouldn't change, It would work with a couple of mods.
I fixed it i put the client sided mods where the server sided mods went.
Does anyone know how to change the diffulculty and how to make the owner op?
the forward 1 and 2 link says vid is unavailable.. so how do i give the IP to my friends?
It keeps saying after added this "C:\Program Files\Java\YOUR JAVA VERSION FOLDER NAME\bin\java.exe" i put my java version name since the original thing didnt work like yours did then it says 'C:\Program' is not recognized as an internal or external command, operable program or batch file." i don't know how to fix this?
I keep getting the "invalid session" error, help (All my other servers works fine, my account is not premium tho, but still works on non-premium servers just fine, is just this one)
How can i add some plugins on this server? Just create the "plugins" folder?
THANK YOU. this tutorial helped me so much.
when i open the run.bat after renaming "server" to "forge" the command prompt opens for a second then closes and nothing happens
Type pause under the command line in your run.bat run the server it will tell you the error let me know what it is!
@@JoeBlowGaming A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at net.minecraft.launchwrapper.Launch.(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
@@unluckyspoon9049 im having the same issue.
@@unluckyspoon9049 me 2
@@unluckyspoon9049 I had the same issue. My problem was that I had another version of the Java SE Kit installed, specifically, the 15.0.0 one and the 16.0.0 one. I had to delete them by going to Control Panel>Programs and Features>Uninstall a program and uninstall both of them from there.
after doing that I installed the Java 8, 311 update which at this time is the current up to date version of Java 8. You need to make sure you have no other version of java installed
after that I ran the forge file and it worked flawlessly
thanks a lot it work!!
Thanks for the tutorial ;-;
Hey everything was working untill i went to boot up forge. i have java installed but it pops up puts down some text and stops. what cani do to fix?
this happened to me, what i did was use the version of forge he was using and it worked
Hey thanks so much for the video wne right into it and what to do thanks! didn't want to get viruses so thanks for the great directory!
When I deleted the vanilla server .jar file and did the forge thing and edited the run.bat the command prompt said there was a problem running the server launcher.java.lang.reflect.invocationtarget expection. Help?
the run thing wont act as the server and only the vanilla thing runs as the server. whenever I change the name of the forge.jar file to just forge it completely ruins the file and changes it from an executable jar file to just file. and when I get into the server with my friends, on my end I have the mods and cant do anything with them, and on his end it is the same, we also cant see anything related to mods. help plsss
9:23 nothing happens for me. mod folder doesn't even show up just tells me to press any key to continue and then closes its self if I do
having the same problem, any fix?
Its not working at all forge file does nothing when I click on it I have java installed and everything and then when I define the location of my java it says this E:\Minecraft 1.12.2 Server>C:\Program Files\Java\jre-1.8\bin java -Xmx4048M -Xms4048M -jar forge.jar nogui
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
E:\Minecraft 1.12.2 Server>pause
Press any key to continue . . .
Very helpful, thank you my friend
How would I make the server with the RLCraft madpack?
can you please hgelp me man I cant open the jar files with java 8, i tried opening with another app and selecting: "C:\Program Files\Java\jre1.8.0_311\java.exe" but it just opens and closes all really quickly.
did you create the run.bat file. If you did type pause under the command line in your run.bat run the server it will pause it instead of closing right away! let me know what it says!
so i have a problem that says unable to access jarfile server.jar what do i do
Help, It just: ERROR ni Errors with built-in recipes! and none of the files get made in my folder!
When i do run.bat it fails and when i do jar.fix it still fails is it because i only have like 12 gb on my pc? i can put some g's in my 3 tear-i-byte storage (DON'T ANSWER I FIXED THIS VIA CHANGING TO JAVA 7 REPEAT I HAVE FIXED IT)
nvm 30 gb and i have java 8 installed the error is this:
C:\Users\jayde\Documents\Desktop\Modded Create Server>java -Xmx1024M -Xms1024M -jar minecraft_server.1.20.1.jar nogui
Error: Unable to access jarfile minecraft_server.1.20.1.jar
C:\Users\jayde\Documents\Desktop\Modded Create Server>pause
Press any key to continue . . .
I have a error when i unistall server.jar file an install forge and overwrite Run.bat to java -Xmx1024M -Xms1024M -jar forge.jar nogui
pause
Please, I've been met with the error message "Downloading minecraft server failed, invalid e-tag checksum. Try again, or manually place server jar to skip download." when trying to Install Server for days now. This is my first time trying to create a server and I have no idea what I'm doing. I've tried fixing it via forums online but nothings working. Does anyone have any ideas?
joeblowgaming i have a problem when i start the forge server it says "A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException"
When you double click the last time on "Run" it says a problem occurred running the server launcher java......, i have only one version of java so ots not a problem of localization
Hey I know this vid is a bit old but if could help thatd be great. Im getting an error whenever i try to run the forge server from the run.bat saying, "A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException" then it continues with, "Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')"
I dont know what this means or how to fix it so any help would be great
I had the same problem and I solved it with this video I hope it helps you ruclips.net/video/_rxLXxSK5t8/видео.html
You can try to download older version of java. I had similar problem and it worked for me
@@piotrsta6249 wich one for example?
@@giobosco3170 java 8
my server didn't start correctly and i didn't get a mods folder and im not sure what i should do
Thank you. Works like a charm.
when i make the server it works fine i follow the entire tut but it doesent make a mods folder anyone know why?
you can add your own just name it mods
yea
i dont know why but when i do the forge part is closes
it says 'java' is not recognized as an internal or external command,
operable program, or batch file. I have java installed so how do I fix this?
wow,thanks,its very helpful to play with may friends
At 9:05 when i type forge in the Run.bat, when i launch it it doesnt show the mods folder and the config folder, please help me :C
my mods folder isnt showing up and i cant open the forge 1.12.2 java file
When i try to run my forge thing after running the run.bat file nothing happens. How do i fix it?
When I tried to open the server it said: "The state engine was in incorrect state PREINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded." anyone knows how to fix this?
I have a problem, so everything went okay but as soon as i try to put mods(20) and start the server(forge.jar with run.bat) with mods it just disables every mods an the server shutdowns at the end i don´t know what else to do
You have can't put the client side mods in the server mods, but you still have to put the server sided mods in the client's mods.
is there anyway to use this with biomesoplenty? i can seem to find out how?
Your port forwarding videos are unavailable. Any newer ones?
hi when im about to start the server at 9:24 it gets paused and closes itself almost instantly
I have the same problem kinda
im getting an error:failed to download version manifest, can not find server server jar URL.
Never mind just had to reinstall java
wont work i click run and it stops and says press any key to continue the closes not saying it dosent work but for me no and ive restarted this 5 times
9:17, When I reach that part it says "A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException"
exactly the same for me
found a solution: going to search bar > add or remove programs > java versions showcased I had both java 8 and java 17. You need to un-install any other java version aside from java 8. He mentioned it in the video but I figured I'd leave this comment to help someone. Hope this helps!
it is showing failed to download version manifest, can not find server jar URL.
PLZ Help me :(
I keep getting that too...
very good tutorial you did there
hello, when you run run.bat ( java -Xmx2048M -Xms2048M -jar forge.jar nogui
pause )
and I launch it does not work and launch nothing at all
please help me
For those who got the error: "C:Program is not an internal or external command" I moved my java folder to my desktop which removed any spaces in my file directory
Hi, I was going to comment about the 9:00 part saying that I had a InvocotationTargetException error, but found a solution: going to search bar > add or remove programs > java versions showcased I had both java 8 and java 17. You need to un-install any other java version aside from java 8.
Im getting an error saying it cant fine the specified path
Man, can you send link on this ready server? Because i can't launch modded server. Be gratefull
If I do this can my friends join through curse forge or do they have to get the forge version
They must have the same forge version
omg thank you so much
bro iam having a problem this tutorial also cant help me :(
5:39 when i type the *pause* then it just writes *error unable to acces jarfile server.jar* under that is typed *Users//DEsktop/forgeserver>pause
so that means it doesnt work as u would expect but when i dont type the *pause* then it wont start up so idk what to do
you find the fix?
ayo bro i think i did everything correctly the server starts and all but the mod pack doesn't its just regular mc
what happened to the port fowarding videos?
i fixed this if you are having problems tell me i will post a vid here soon
when I change the name to just forge it changes file type so how do i fix that
wdym by install to client? In like the first minute i cant figure out how to open it up
nvm i just had to install java client, no biggie
Upon opening the run.bat file, I would come up with an error, the error being this: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') This was after removing the original server jar. Ive run a forge server before but that one stopped working. Any idea what the heck is happening? I use java 16 btw
Edit: I reinstalled java 8 and still having issues
Try installing Java 16 as development kit.
same problem
same problem