Jump to content

Recommended Posts

Posted (edited)

I've tried downloading different versions: Not just the recommended and latest but various other random versions.

I've tried downloading the .jar file and tried using the command 'java -Djava.net.preferIPv4Stack=true -jar' in Powershell. I got the error message 'Error: Could not find or load main class .net.preferIPv4Stack=true'

Every time I try installing, it says it can't download a certain file, ( maven.artifact ), and stops.

I have the log for the installer as well, I attached it.

Can I get some assistance with this, please? I would greatly appreciate it.

  Quote

 

Expand  

 

forge-1.12.2-14.23.4.2705-installer-win.exe.logFetching info...

Edited by ChorneTheFirstborn
Posted

Post the exact command you are running because if you ran the one given to you in the EAQ you wouldnt get that error.

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

Posted

That's what happens when you try to run that command with PowerShell, you need to use CMD. (You can run CMD inside a PowerShell window by typing cmd)

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

 

Posted

I used "java -Djava.net.preferIPv4Stack=true -jar forge-1.12-14.21.1.2387-installer.jar".

 

And pardon me, I'm unfamiliar to Powershell... how exactly do I input 'cmd)'? I think I'm doing it wrong. I keep getting an error message:

 

  Quote

At line:1 char:4
+ cmd) java -Djava.net.preferIPv4Stack=true -jarforge-1.12-14.21.1.23 ...
+    ~
Unexpected token ')' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnexpectedToken

Expand  

 

Posted

I typed it correctly, ( I think, ) got this error message:

  Quote

 

C:\Users\---------\Downloads>cmd
Microsoft Windows [Version 10.0.17134.165]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\---------\Downloads>java -Djava.net.preferIPv4Stack=true -jar forge-1.12-14.21.1.2387-installer.jar
Unrecognized option: -jar?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

C:\Users\---------\Downloads>

 

Expand  

 

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.

Announcements



×
×
  • Create New...

Important Information

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