Jump to content

Recommended Posts

Posted

Hello, I am having issues with installing forge currently, the version is 1.16.2 I get this txt file when I try and open the installer.

JVM info: Oracle Corporation - 1.8.0_251 - 25.251-b08
java.net.preferIPv4Stack=true
Found java version 1.8.0_251
Exception in thread "main" 
java.lang.RuntimeException: javax.imageio.IIOException: Can't create cache file!
    at net.minecraftforge.installer.InstallerPanel.getImage(InstallerPanel.java:151)
    at net.minecraftforge.installer.InstallerPanel.<init>(InstallerPanel.java:167)
    at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:169)
    at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:143)
Caused by: javax.imageio.IIOException: Can't create cache file!
    at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
    at javax.imageio.ImageIO.read(Unknown Source)
    at net.minecraftforge.installer.InstallerPanel.getImage(InstallerPanel.java:146)
    ... 3 more
Caused by: java.nio.file.AccessDeniedException: C:\PROGRA~1\KMSpico\temp\imageio7051565874300452575.tmp
    at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
    at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
    at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
    at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
    at java.nio.file.Files.newByteChannel(Unknown Source)
    at java.nio.file.Files.createFile(Unknown Source)
    at java.nio.file.TempFileHelper.create(Unknown Source)
    at java.nio.file.TempFileHelper.createTempFile(Unknown Source)
    at java.nio.file.Files.createTempFile(Unknown Source)
    at javax.imageio.stream.FileCacheImageInputStream.<init>(Unknown Source)
    at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
    ... 6 more
 

  • 2 months later...
Posted

I get the exact same problem and it seems to be with any form of forge installer. I even uninstalled and reinstalled java too. if you guys worked out a fix do tell

Posted

You haven't tampered with the temp folder, have you?

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

 

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.