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.

Featured Replies

Posted

Using "forge-1.12.2-14.23.4.2705-installer.jar" fails installation.

Reveal hidden contents

It gives the following error code.

Reveal hidden contents

 

I've already placed the 1.12.2 server jar from Mojangs websites in the same directory as this, so it shouldn't be failing. The directory is /root/minecraft btw. (root being the folder, not the actual VFS root "/" )

 

https://pastebin.com/nNCfbXjX Here is the pastebin that contains the log.

 

This is a headless server, so I am unable to use a GUI. I'd appreciate it if anyone could help me install it.

You need to rename the minecraft jar to "minecraft_server.1.12.2.jar" for the Forge installer to detect it properly. 

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.

Reveal hidden contents

 

  • Author
  On 6/29/2018 at 2:38 PM, DaemonUmbra said:

You need to rename the minecraft jar to "minecraft_server.1.12.2.jar" for the Forge installer to detect it properly. 

It still gives another error. Here's the pastebin link. I used the same command, after renaming the server.jar file. https://pastebin.com/BHRU6e7N

Try putting 

-Djava.net.preferIPv4Stack=true

before your -jar argument

 

 

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.

Reveal hidden contents

 

  • Author
  On 6/30/2018 at 7:39 PM, DaemonUmbra said:

Try putting 


-Djava.net.preferIPv4Stack=true

before your -jar argument

 

 

  Quote

cd /root/minecraft

java -Djava.net.preferIPv4Stack=true -jar forge-1.12.2-14.23.4.2705-installer.jar --installServer

Leads to the same error. I've also made sure my DigitalOcean Droplet's firewall was off.

  Quote

javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

 

Only thing google tells me is your JRE is not installed correctly.

Run using a different JRE or re-install your java.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Why doesn't Java 9 work with Forge? Where does the software let us know that?

 

Anyways, I've installed Java 8, and it doesn't seem to work still, giving the same error.

If its giving you the same error then SOMETHING is broken with your JVM. Or your trust chains. See https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty for more info. This isn't a Forge or installer issue. Its something wrong with your server.

 

As for Forge not working on J9, the installer will work fine on it. However LaunchWrapper, the core loading system assumes some things about the classpath that J9 breaks. It'll just error when you try and actually run the server. As I said, the installer will work fine. As for where this is told yo you, in the error, and in our EAQs

 

 

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.