Jump to content

(SOLVED) Nothing happens when I try to launch my 1.16.5 forge server file


Recommended Posts

I'm trying to make a server file for my modpack, and whenever I try to launch the server on my pc, nothing happens. When I try to launch it through a .bat file, I get the error in this image. I've tried this with versions 36.1.17, and 36.2.2, and my Java is version 8 Update 301. My SE Kit is 16.0.1. The arguments for my .bat file are as follows: 

java -Xms1024M -Xmx8192M -jar forge-1.16.5-36.2.2.jar
pause


Solution: The extra jvm arguments suggested in the "How to avoid crashes" tab helped. 

Edited by Wolf1596Games
Issue solved
Link to comment
Share on other sites

  • Wolf1596Games changed the title to (SOLVED) Nothing happens when I try to launch my 1.16.5 forge server file

If you need those arguments you're launching it with Java 16, which you shouldn't be

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

  • 6 months later...

Can you please send the hole text fo the run.bat text file because i cant seem to figure it out.

 This is the command I use: 

--add-exports=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED
java -Xmx8096M -Xms1024M -jar forgeserver.jar nogui
PAUSE

and it just says that it cant read the first line  and i recive the same error as if with only the second command: 

 

java -Xmx8096M -Xms1024M -jar forgeserver.jar nogui
PAUSE

Please help

 

Link to comment
Share on other sites

18 hours ago, Goshava3 said:

Can you please send the hole text fo the run.bat text file because i cant seem to figure it out.

 This is the command I use: 

--add-exports=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED
java -Xmx8096M -Xms1024M -jar forgeserver.jar nogui
PAUSE

and it just says that it cant read the first line  and i recive the same error as if with only the second command: 

 

java -Xmx8096M -Xms1024M -jar forgeserver.jar nogui
PAUSE

Please help

 

This is what I put in my run.bat file. Hope it helps:
 

java -Xms1024M -Xmx8192M --add-exports=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED -jar forge-1.16.5-36.2.2.jar
pause

 

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • 평택스텐드바 ☜BCGAME88·COM◎ 태안스텐드바 군자스텐드바 목동스텐드바 광주스텐드바 mab49 자곡스텐드바 김해스텐드바 팔판스텐드바 합동스텐드바 pkd42 대흥스텐드바 계동스텐드바 정동스텐드바 신정스텐드바 dwb59 삼성스텐드바 당인스텐드바 증산스텐드바 역촌스텐드바 nke60 군포스텐드바 영등포스텐드바 쌍문스텐드바 안산스텐드바 nfw44 삼각스텐드바 충정스텐드바 광주스텐드바 독산스텐드바 ufk03 강남스텐드바 예산스텐드바 충무스텐드바 가락스텐드바 wse18 창동스텐드바 전농스텐드바 성북스텐드바 항동스텐드바 lvj56 오쇠스텐드바 서빙고스텐드바 홍은스텐드바 제주스텐드바 xmt18 예관스텐드바 전농스텐드바 논현스텐드바 갈월스텐드바 aao59 혜화스텐드바 홍은스텐드바 익산스텐드바 사직스텐드바 vds12 진관스텐드바 황학스텐드바 압구정스텐드바 창동스텐드바 ysp11 신대방스텐드바 당산스텐드바 진관스텐드바 공주스텐드바 jnm90 문배스텐드바 공평스텐드바 문배스텐드바 광주스텐드바 dpj42 포천스텐드바 궁동스텐드바 안국스텐드바 구산스텐드바 amy50 석관스텐드바 마천스텐드바 동빙고스텐드바 용문스텐드바 kxt12 거창스텐드바 광주스텐드바 상도스텐드바 완주스텐드바 fcf46 증산스텐드바 이촌스텐드바 영등포스텐드바 시흥스텐드바 fnh43 청량리스텐드바 예장스텐드바 면목스텐드바 구리스텐드바 vhj83 통영스텐드바 파주스텐드바 성구스텐드바 구로스텐드바 agu36 상월곡스텐드바 광희스텐드바 청담스텐드바 전농스텐드바 fya05 남양주스텐드바 홍제스텐드바 인의스텐드바 율현스텐드바 vyo09 평창스텐드바 의정부스텐드바 영등포스텐드바 장충스텐드바 wgv70
    • 오산룸카페 ♣BCGAME88·COM↘ 인현룸카페 수송룸카페 휘경룸카페 체부룸카페 phg60 성북룸카페 이천룸카페 과해룸카페 동대문룸카페 pgf14 중구룸카페 화방룸카페 다동룸카페 구리룸카페 kgd73 청파룸카페 서린룸카페 송현룸카페 녹번룸카페 onf28 삼성룸카페 오산룸카페 산림룸카페 신공덕룸카페 rxf31 안양룸카페 효제룸카페 중랑룸카페 서초룸카페 ndm39 하중룸카페 갈월룸카페 남대문룸카페 연희룸카페 sbw83 적선룸카페 마포룸카페 신대방룸카페 부천룸카페 ckd42 옥천룸카페 인천룸카페 장안룸카페 오장룸카페 bws28 미근룸카페 합동룸카페 신수룸카페 상수룸카페 mkw91 태평룸카페 인의룸카페 아현룸카페 중곡룸카페 boo57 홍천룸카페 양재룸카페 강일룸카페 순화룸카페 duc69 당주룸카페 부천룸카페 궁동룸카페 성산룸카페 qcc17 의왕룸카페 공주룸카페 영천룸카페 계동룸카페 xfd67 여의도룸카페 의주룸카페 와룡룸카페 고척룸카페 gjw96 화동룸카페 강남룸카페 제기룸카페 대치룸카페 asx85 대구룸카페 진주룸카페 태평로룸카페 북창룸카페 nhp97 부암룸카페 견지룸카페 마곡룸카페 원서룸카페 xik38 소격룸카페 하남룸카페 홍지룸카페 견지룸카페 etg70 명일룸카페 필운룸카페 세곡룸카페 부천룸카페 fei18 세곡룸카페 구의룸카페 대흥룸카페 서귀포룸카페 ldy78 자양룸카페 내자룸카페 갈현룸카페 대조룸카페 wrq68 상주룸카페 재동룸카페 문배룸카페 구수룸카페 krx91
    • Direct Entry /Pre degree into,2023/(2024 Rhema University, Obeama-Asa transfer form is out ☎️08O-3664OI34) OR {2348036640134)} …Supplementary Form,Pre-Degree Form (08O3664O134, Jupeb form IJMB Form, masters form,Ph.D  Form,Sandwich Form,Diploma Form,Change of institution form call (08O3664O134 OR {08O3664O134} Change of course Form,POST UTME Form
    • Direct Entry /Pre degree into,2023/(2024 Tansian University, Umunya transfer form is out ☎️08O-3664OI34) OR {2348036640134)} …Supplementary Form,Pre-Degree Form (08O3664O134, Jupeb form IJMB Form, masters form,Ph.D  Form,Sandwich Form,Diploma Form,Change of institution form call (08O3664O134 OR {08O3664O134} Change of course Form,POST UTME Form
    • 화성단란주점 ♠BCGAME88·COM♣ 월계단란주점 돈암단란주점 역삼단란주점 용두단란주점 ydk82 용인단란주점 원효단란주점 북가좌단란주점 삼성단란주점 kmp69 송현단란주점 서린단란주점 금산단란주점 금천단란주점 jfr89 효창단란주점 오산단란주점 외발산단란주점 양주단란주점 kpt13 항동단란주점 구기단란주점 흑석단란주점 송현단란주점 lhy27 익산단란주점 논현단란주점 온수단란주점 김포단란주점 fjn70 역삼단란주점 오류단란주점 의왕단란주점 금천단란주점 syc21 신수단란주점 한남단란주점 안국단란주점 냉천단란주점 bte37 시흥단란주점 마포단란주점 봉원단란주점 권농단란주점 pqc10 과해단란주점 무악단란주점 와룡단란주점 석관단란주점 mkb49 쌍림단란주점 내발산단란주점 혜화단란주점 마곡단란주점 vlw22 마포단란주점 고척단란주점 평창단란주점 당산단란주점 wlx27 광주단란주점 용두단란주점 여주단란주점 이문단란주점 enx86 홍익단란주점 주교단란주점 도렴단란주점 화곡단란주점 arg87 내발산단란주점 칠곡단란주점 옥천단란주점 하계단란주점 juh46 원효단란주점 오곡단란주점 개포단란주점 노고산단란주점 bwx73 숭인단란주점 시흥단란주점 여주단란주점 묵정단란주점 hpu44 배방단란주점 청암단란주점 보광단란주점 마포단란주점 phf31 거제단란주점 광명단란주점 성구단란주점 안산단란주점 pwg54 내발산단란주점 관수단란주점 목포단란주점 평창단란주점 fbx65 흥인단란주점 금천단란주점 함안단란주점 돈암단란주점 cxb24 서린단란주점 남현단란주점 영암단란주점 남가좌단란주점 fpl33 대치단란주점 남학단란주점 양천단란주점 중림단란주점 xth07
  • Topics

×
×
  • Create New...

Important Information

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