Jump to content

So I have been messing around with Minecraft and some mods, when i found out I needed to update Forge to get one mod in particular to work. so I saved all of my mods, uninstalled and reinstalled Minecraft to make sure I was getting a clean install then tried to run the Forge installer and nothing happened. All it did was create a text file called Forge.jar.log where it identified my Java version, so I tried to uninstall and reinstall java, still no luck. so I figured maybe I should look at the java control panel, but even that won't open when I try to pull it up. It's like my computer just refuses to interact with java runtime environment entirely. I've tried different java versions, new installs, I've tried jarfix, but nothing seems to make java actually function on my PC, any help with this would be appreciated.

Link to post
Share on other sites

Sounds like your Java installation is broken. Which version(s) of Java do you have installed? As far as I can tell Minecraft requires at least Java 8 (aka 1.8) but its installer should take care of installing it, if it is missing.

 

Do you have an environment variable called JAVA_HOME? What happens if you enter "java -version" on the terminal?

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

I've had this problem too. There is almost certainly a way to fix this, but right now I workaround it by opening a command prompt window and typing:

 

*path to java.exe file* -jar *path to forge jar*

(obviously replace the stars and stuff inside them with what is supposed to be there)

 

Hope this works!

Link to post
Share on other sites

16 minutes ago, IAmAFrenchFry said:

I've had this problem too. There is almost certainly a way to fix this, but right now I workaround it by opening a command prompt window and typing:

 


*path to java.exe file* -jar *path to forge jar*

(obviously replace the stars and stuff inside them with what is supposed to be there)

 

Hope this works!

this is what happens when i type that into command prompt:

 

C:\>Java\jre1.8.0_271\bin\java.exe -jar forge-1.16.4-35.1.4-installer.jar
java.io.FileNotFoundException: forge-1.16.4-35.1.4-installer.jar.log (Access is denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at net.minecraftforge.installer.SimpleInstaller.getLog(SimpleInstaller.java:180)
        at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:50)
JVM info: Oracle Corporation - 1.8.0_271 - 25.271-b09
java.net.preferIPv4Stack=true
Found java version 1.8.0_271

Link to post
Share on other sites

18 minutes ago, Eigenvektor said:

Sounds like your Java installation is broken. Which version(s) of Java do you have installed? As far as I can tell Minecraft requires at least Java 8 (aka 1.8) but its installer should take care of installing it, if it is missing.

 

Do you have an environment variable called JAVA_HOME? What happens if you enter "java -version" on the terminal?

when i type java -version i get back:

 

C:\>java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

Link to post
Share on other sites

10 minutes ago, Lord Slorgi said:

java.io.FileNotFoundException: forge-1.16.4-35.1.4-installer.jar.log (Access is denied)

Sounds like the game is trying to access (or more likely write to) a file it doesn't have access to. The other messages would indicate that Java 1.8 is installed properly. The directory is probably owned by an administrator and you're not running the installer with administrative permissions.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

3 minutes ago, Eigenvektor said:

Sounds like the game is trying to access (or more likely write to) a file it doesn't have access to. The other messages would indicate that Java 1.8 is installed properly. The directory is probably owned by an administrator and you're not running the installer with administrative permissions.

im the admin and only user on my pc

Link to post
Share on other sites

5 minutes ago, Lord Slorgi said:

im the admin and only user on my pc

Yes, but you're not running the installer with administrative permissions. You need to right click Command Prompt and select "run as Administrator". Only then will Java (and the installer) run with administrative privileges.

 

~edit: Since the installer seems to create the log file in the current directory, you should probably make sure to run it in the directory you want the game to go.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

10 hours ago, Lord Slorgi said:

java.io.FileNotFoundException: forge-1.16.4-35.1.4-installer.jar.log (Access is denied)

This is either a permissions error (with a fix above) or it might just be that you weren’t in the directory of the forge file. Try using, for example, “C:\Users\epicness\Desktop\forge\forge-1.16.4-35.1.4-installer.jar”. Obviously this isn’t what you have, so change it to whatever it actually is.

 

However, it is more likely it is a permissions error, so refer to @Eigenvektor’s above post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×