Jump to content

Recommended Posts

Posted

I downloaded the newest version of Java. 

If i download the newest release of minecraft Forge, and try to open it, it will close very quickly after i clicked twice on it. 

I really don't know how to fix this..

Can anyone help me?

Posted
25 minutes ago, Babecido said:

I downloaded the newest version of Java. 

Use Java 8 with forge, I do not believe it is compatible with newer versions.

 

7 minutes ago, kdog12 said:

Im having a similar issue where i double click the batch file and it opens for a second then closes 

The original post has nothing to do with a batch file, you should create your own thread with more information (i.e. contents of said batch file)

  • Like 1
Posted (edited)

I am using Java 8, but when i download the latest version of forge, the forge installer.jar willen open for a 10th of a second en thats all what happens :(

Edited by Babecido
Posted
2 minutes ago, diesieben07 said:

Then you are not in the correct directory.

What does that mean? What do i have to do?

I did the same as the video told me

Posted
27 minutes ago, diesieben07 said:

If the installer is located in "Downloads" then you must have the command line also pointed at "Downloads".

I did, but still unable to open

Posted (edited)

the problem is, the file has spaces in it, so you should use

java -jar "forge-1.15.2-31.1.16-installer (1).jar"

if you dont use it, you requesting:

  1. execute program called java
  2. call java with first argument: -jar
  3. call java with second argument: forge-1.15.2-31.1.16-installer
  4. call java with third argument: (1).jar

But you want to:

  1. execute program called java
  2. call java with first argument: -jar
  3. call java with second argument: "forge-1.15.2-31.1.16-installer (1).jar"

Because spaces are used as parameter seperation in general (cmd, powershell, bash, whatever) if a path or filename contains a space or special characters, enclose them with quotes.

 

If you are in the correct folder, you only need to write java -jar "forge- and can press TAB for autocomplete, but dont miss the closing " at the end

Edited by Jusito
typo2
  • Thanks 1
  • 1 year later...
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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