Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

When I try to run a forge server on my computer through a virtual machine (oracle) it cant find the .jar file

Featured Replies

Posted

Hello there. I am trying to set up a virtual machine using oracle to run my own minecraft server and everything works up until i need to run the server on tmux and when i try to do it, it said im unable to because it cant find the server jar file. it says server installed on tmux however the .jar file isnt in the directory. I am using commands from a youtube video from a year ago and those commands didnt work so believe it or not I asked Chat GPT and it spat out all the proper codes and everything and they all work but then I get to when I need to run this: "java -Xmx24G -Xms4G -jar forge-1.20.1-47.3.0.jar nogui" in order to start the server and it says unable to find it. Chat GPT gave me some solutions but it doesnt work. FileZilla might not be extracting it properly or idk maybe tmux is the issue but here is the whole convo with Chat GPT and what I was doing to fix this: https://pastebin.com/EDJDmAXw 

This is for Forge 1.20.1 - 47.3.0

I dont know what to do and I have tried for a while to fix this but nothing on the internet has helped so I now turn to experts with forge for help. 

Forgot to add the video I was referencing 

 

Edited by DragonMaster185

  • Author

I did use JDK 17 and it said it installed java 17 and from what I saw that is the best version for 1.20.1 modded I installed it on both Putty and Tmux and was fine with installing

  • Author

Should I try downgrading the forge version? or maybe raising it?

Or possibly just copying the universal,jar or server.jar for forge 1.20.1-47.3.0 to filezilla directory so that it can find those files?

Edited by DragonMaster185

  • Author

Yeah, It runs fine normally and through the curseforge app as well as servers I have tried but werent up to par for what I was looking for in performance. 

The "can't find the server jar file" error usually refers to an issue with Java

 

On the vm, what are the startup lines for the server?

If you are using something like

java -Xmx...

replace the word java with the java path on the vm (to the javaw.exe) and put it into quotation marks

 

Try my Modpack

spacer.png

>>Link to Curseforge<<

  • Author

This is the code for when JDK 17 is installing if there is a problem with java: https://pastebin.com/y6LxHzsa

This is when the forge is being installed from using "wget https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.1-47.3.0/forge-1.20.1-47.3.0-installer.jar"  then using "java -jar forge-1.20.1-47.3.0-installer.jar --installServer" and the code as far up as it goes in putty without cutting off is: https://pastebin.com/eAmsDLGe

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.