Jump to content

Ubuntu and forge


Urbanjack

Recommended Posts

hay all ,

 

 

been reading up on trying to get forge running on my home linux servers .. 

 

I have no issues getting a regular mc vanilla server up and running .. been doing that for years . using spigot and other addons .. 

 

but with forge i cant seem to get the correct syntax to get the server up and running 

 

all my files are set to full perms on the dir that i want to load from but ever time i just get 

 

 

after running the installer I get this 

 

 Cache: 
    /home/.../forge/./libraries/net/minecraftforge/forge/1.16.1-32.0.108/forge-1.16.1-32.0.108-server.jar Validated: 35a8f893b7b7e46ee0df59803ca44027735cba1b
  Cache Hit!
The server installed successfully, you should now be able to run the file forge
You can delete this installer file now if you wish

 

 

so i know the installer is installed and configured . but when i try and run the server files i just get this ( yes i know there are no memory options in the command i just left them out to see if i could just get it working ) 

 

and the server version

#java -jar forge-1.16.1-32.0.108-server.jar 
Error: Invalid or corrupt jarfile forge-1.16.1-32.0.108-server.jar

 

either running the universal

# java -jar forge-1.16.1-32.0.108-universal.jar 
no main manifest attribute, in forge-1.16.1-32.0.108-universal.jar

 

and yes i have verified that java is installed ( currently running a vanilla server with out any issues .. and yes stopped it for doing the forge install and trying to run this install / server version) 

 

:~/forge$ java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
:~/forge$ 

 

 

any tips .. or help would be amazing i would like to get this running .. and there is not really any documentation out there for running under linux anywhere . mostly only windows and the few places i found linux docs are sparse at that 

 

Link to comment
Share on other sites

6 hours ago, diesieben07 said:

You need to run the forge-1.16.1-32.0.108.jar file that is generated directly in the target folder, not any other file.

 

oh my ... that was the only file i did not try run 

 

 

thanks . ill make sure to remember that for next time ..

 

thanks alot 

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.