I was having the same problem, java exception... only with version b6 though. Lol, I was beating myself up about what the heck I was doing wrong. I should have known when the icon for the *.jar didn't match the sun logo.... DUH!!! Thank you.
Running Optifine 1.8.1 HD_B5 on vanilla, it launches fine, but when I run 1.8.1 HD_B6, I get 'A Java Exception Has Occurred'
Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionSpec
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: joptsimple.OptionSpec
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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)
... 6 more
It seems that I'm not the only one, with the problem. I have attempted to open the OptiFine file, both ways. I'm running Java(TM) Platform SE binary that's used for 64 bit Java. Here's my suspicion. The Optifine jar file is 32 bit and I am using a 64 bit application to open a 32 bit file.
Is there a workaround? I really don't want to install 32 bit Java, to just run Optifine. With Forge, they wrap it in a Win installer .exe file. Is this a possibility?
Rollback Post to RevisionRollBack
Ever onward, ever forward,I shall go along this dusty road;
Ever onward, ever forward for stories to share on my site, Inspiration Point
It seems that I'm not the only one, with the problem. I have attempted to open the OptiFine file, both ways. I'm running Java(TM) Platform SE binary that's used for 64 bit Java. Here's my suspicion. The Optifine jar file is 32 bit and I am using a 64 bit application to open a 32 bit file.
Is there a workaround? I really don't want to install 32 bit Java, to just run Optifine. With Forge, they wrap it in a Win installer .exe file. Is this a possibility?
I use 64 bit Java 8_25 and both installers work fine for me. (The only Forge installers I've seen were .jar files)
So just to make sure, when you selected the program to use, you selected javaw.exe in C:\Program Files\Java\[Java version]\bin ?
What Java version are you using?
The .jar file might have been corrupt, have you tried re-downloading the .jar file maybe?
I use 64 bit Java 8_25 and both installers work fine for me. (The only Forge installers I've seen were .jar files)
So just to make sure, when you selected the program to use, you selected javaw.exe in C:\Program Files\Java\[Java version]\bin ?
What Java version are you using?
The .jar file might have been corrupt, have you tried re-downloading the .jar file maybe?
I downloaded the OptiFine .jar file multiple time. Hmm, let's dig a little deeper.
Here's the file version for Java(TM) Platform SE binary - 7.0.250.17 The date is 7/5/2013 for file modification.
From what you and @grimallq are saying, it appears I've a dated version of Java.
Oh, grim asked "What happens when I clicked on the OptiFine jar file?" I get the command line box. Unfortunately, it last for a sex and the box disappears. So, I don't get any clues on what's happening.
Update: Ok. I updated to Java 8.0.2 and I associated the OptiFine .jar file with the Java executable. Same result. I've also downloaded the .jar file for OptiFine, again.
When I go to OptiFine and choose "Open With" I'm choosing Java (tm) Platform SE Binary. Hopes this help.
Update: Ok. I updated to Java 8.0.2 and I associated the OptiFine .jar file with the Java executable. Same result. I've also downloaded the .jar file for OptiFine, again.
When I go to OptiFine and choose "Open With" I'm choosing Java (tm) Platform SE Binary. Hopes this help.
You also have to be sure to UNINSTALL the old java first, so it's not anywhere on your system. Not sure why, but it will still choke if more than one java is installed.
You also have to be sure to UNINSTALL the old java first, so it's not anywhere on your system. Not sure why, but it will still choke if more than one java is installed.
I double checked and I've only 1 version of Java running and it's the latest one. Good question, though. I've seen it happen, before.
Update: I highly doubt it's related, but... I am using the latest version of Google Chrome to download my files. Yes, it's a 64 bit browser.
HI, i recently reinstalled minecraft and optifine with this newer version 1.8.1.
My new built has an ati video card, an ati radeon r9 290x and now when i try to modify some settings like Anti aliasing or anisotropic filtering, load far and other settings they just can't be changed. When i click the option it remains the same without any change. I mean it says Antialiasing: off, then i click and nothing happens. Any ideas???? How to modify theese settings? i want to change basically load far to"ON"
The Meaning of Life, the Universe, and Everything.
Join Date:
2/14/2014
Posts:
50
Member Details
think you could make a stand-alone version of better skies? currently optifine conflicts with hardcore darkness, and i have a massive sky project i made would also help at new versions, giving functionality of portions of optifine instead of waiting for a whole update ^.^ <3
Can you not type in a giant font? People would be more kind to you and probably answer your question or help fix your problem if you didn't try to make it so stand outish. Just a thought.
Thought I was replying to someone's post but clicked wrong reply. My apologies.
Well I learned the white things I mentioned before were clouds, and just turned those off. Now I'm having my sound just mute after about an hour of playing. Exit, restart minecraft, works again for another hour. I don't know if this is MC 1.8.1 or optifine ultra because I literally cannot play without this mod.
Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionSpec
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: joptsimple.OptionSpec
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
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)
... 6 more
Is there a workaround? I really don't want to install 32 bit Java, to just run Optifine. With Forge, they wrap it in a Win installer .exe file. Is this a possibility?
Ever onward, ever forward for stories to share on my site, Inspiration Point
I use 64 bit Java 8_25 and both installers work fine for me. (The only Forge installers I've seen were .jar files)
So just to make sure, when you selected the program to use, you selected javaw.exe in C:\Program Files\Java\[Java version]\bin ?
What Java version are you using?
The .jar file might have been corrupt, have you tried re-downloading the .jar file maybe?
I downloaded the OptiFine .jar file multiple time. Hmm, let's dig a little deeper.
Here's the file version for Java(TM) Platform SE binary - 7.0.250.17 The date is 7/5/2013 for file modification.
From what you and @grimallq are saying, it appears I've a dated version of Java.
Oh, grim asked "What happens when I clicked on the OptiFine jar file?" I get the command line box. Unfortunately, it last for a sex and the box disappears. So, I don't get any clues on what's happening.
Update: Ok. I updated to Java 8.0.2 and I associated the OptiFine .jar file with the Java executable. Same result. I've also downloaded the .jar file for OptiFine, again.
When I go to OptiFine and choose "Open With" I'm choosing Java (tm) Platform SE Binary. Hopes this help.
Ever onward, ever forward for stories to share on my site, Inspiration Point
You also have to be sure to UNINSTALL the old java first, so it's not anywhere on your system. Not sure why, but it will still choke if more than one java is installed.
I double checked and I've only 1 version of Java running and it's the latest one. Good question, though. I've seen it happen, before.
Update: I highly doubt it's related, but... I am using the latest version of Google Chrome to download my files. Yes, it's a 64 bit browser.
Ever onward, ever forward for stories to share on my site, Inspiration Point
Found the instruction for running Java in a commandline prompt -- java -jar filename.jar
It installed nicely and I loaded up Minecraft. It works. Thanks for the help.
Ever onward, ever forward for stories to share on my site, Inspiration Point
Update your Optifine
Thank's for the hint. Didn't know about it.
My new built has an ati video card, an ati radeon r9 290x and now when i try to modify some settings like Anti aliasing or anisotropic filtering, load far and other settings they just can't be changed. When i click the option it remains the same without any change. I mean it says Antialiasing: off, then i click and nothing happens. Any ideas???? How to modify theese settings? i want to change basically load far to"ON"
He means read the OP. The original post that has the download links and such. AKA - The first post.
Never arbitrary,

-DaBlizz
Thought I was replying to someone's post but clicked wrong reply. My apologies.