So I have been trying to run forge with optifine. My problem, however, is that I can't even get forge to install. I have the universal.jar and despite having used jarfix, unblocking the file, trying a bat file, and using the cmd prompt it doesn't work. I finally was able to get a proper error code that gave me some feedback which basically told me I was missing files but I have no idea how to go about getting them. I'll post my error code and hopefully you guys will have some suggestions.
Microsoft Windows [Version 10.0.17134.590]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\based>java -jar forge.jar
Error: Unable to access jarfile forge.jar
C:\Users\based>java -jar C:\Users\based\Desktop\forge.jar
We appear to be missing one or more essential library files.
You will need to add them to your server before FML and Forge will run successfully.java.lang.ClassNotFoundException: net.minecraft.launchwrapper.Launch
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:52)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
C:\Users\based>
So I have been trying to run forge with optifine. My problem, however, is that I can't even get forge to install. I have the universal.jar and despite having used jarfix, unblocking the file, trying a bat file, and using the cmd prompt it doesn't work. I finally was able to get a proper error code that gave me some feedback which basically told me I was missing files but I have no idea how to go about getting them. I'll post my error code and hopefully you guys will have some suggestions.
Microsoft Windows [Version 10.0.17134.590]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\based>java -jar forge.jar
Error: Unable to access jarfile forge.jar
C:\Users\based>java -jar C:\Users\based\Desktop\forge.jar
We appear to be missing one or more essential library files.
You will need to add them to your server before FML and Forge will run successfully.java.lang.ClassNotFoundException: net.minecraft.launchwrapper.Launch
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:52)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
C:\Users\based>
what version of forge are you tying to use?
its possible you have a corrupt jar, try another version or redownload the same version
if this is 1.13, optifine is not currently compatible with forge