r/javahelp • • Jan 12 '19

I'm not a programmer. Java crashes upon install. I can't open jar files.

Is this the wrong subreddit? Undoubtedly, and I'm sorry about that, I just can't find a java general help forum. Googling the problem leads me to minecraft threads or mute youtube videos from 2008.

TL;DR I want Java to install properly so I can use these jar files I got.

Like I said, not a programmer, so I don't really know where to start on the problem except to just spin my tale of woe from the beginning. Bear with me, I'll try and keep it short.

Got a new computer. Win7, 64 bit, fancy n nice. I use some jar programs like Framerate Limiter 0.2, so I installed Java so I could start using them. The installer tells me it installed successfully, but seconds later a window opens telling me Java SE Binary has stopped working. In the details, it tells me APPCRASH and the name of the java installer.

I try googling this, I get lead to nothing but minecraft support threads. Trying to run the jars gives me "Application Error: Unable to launch the application" and in the "More Information" window, under "error: could not parse launch file. Error at line 1" the "launch file" tab is... Filled with garbage. Black diamonds, random letters and symbols, the plus sign... Clearly not good, and really hard to articulate into a search engine.

I tried uninstalling and reinstalling Java. I tried installing the 32 bit java. I didn't get the "Java Binary has stopped working" problem, but then my jar files wouldn't open at all and I couldn't manually force them through "open with" because it only showed windows media center. Uninstalled everybody. Reinstalled Java. APPCRASH. The cycle begins anew.

Any and all help is appreciated, and I'll do my best to follow along and supply any more information required, but bear in mind I am very dumb. It'll take a few tries.

1 Upvotes

12 comments sorted by

2

u/cyberhiker Jan 12 '19

Is your goal to run Java in general or to get a framerate limiter working? If the latter I'd probably refer you to a gaming subreddit where folks who know about such things can advise on the most appropriate one for your graphics hardware.

If your goal is to get Java running you are in the right place. There are some resources on the right side of the screen which will walk you through getting the java runtime installed - sppecifically you want to install the JRE from the Oracle Java Downloads site. Once installed you should be able to run it following these instructions from stackoverflow.

Try that and let us know if something doesn't work.

1

u/StringOfPotatoes Jan 12 '19

That's a really great question, and I'm not entirely sure. I want to get Framerate limiter working for sure, but since Java seems to be crashing upon install, I figure that's where the source of the problems are. Plus, it's not just Framerate Limiter, but other jars, too.

1

u/StringOfPotatoes Jan 12 '19 edited Jan 12 '19

Got the JRE from the Oracle Java Downloads page, it's how I'd gotten it before. "jre-8u191-windows-x64"

Installed, got the succesfull install message, closed it, and got the "Java Platform SE Binary has stopped working" popup. Problem details: Problem event name "APPCRASH", application name jre-8u191-windows-x64.exe. Fault module name jre-8u191-windows-x64.exe.

The first set of instructions on stack overflow was kind of what I was doing already. I'll try installing Jarfix next

EDIT: I should mention, I did follow the first set of instructions, not just brush them off because I thought I'd already tried them.

2

u/FoodComputer Jan 12 '19

Are you sure that you have the correct version of Java? In addition to 64bit and 32bit there are also Java 9, Java 10, and Java 11 which may have features not found in Java 8. Is there any documentation for the jar files that says which version you need?

1

u/StringOfPotatoes Jan 12 '19 edited Jan 12 '19

That hadn't occurred to me. Thanks, I'll look!

Meanwhile, and maybe I should have mentioned this before- but since the java problem has been happening on my new computer it slipped my mind- I have a laptop, windows 10, that runs 32 bit java?(appears in the x86 program files section and says 32 bit java on it in control panel) and can launch the jar files just fine.

Update! I looked in both jar folders and readmes, and only one had information on version usage. It mentioned java 6, and stressed that it could only run under 32 bit java. Considering these jar files are around the same age, could that be the case for the first one, as well?

2

u/FoodComputer Jan 12 '19

I'd say that's a fair assumption. You should still be able to run it with Java 8 in that case. Java tries to maintain forwards compatibility between versions (they don't generally remove anything old). Give it a shot and if that doesn't work then look on the website you got it from and see if you can find any information there. Failing that, you can try downloading a fresh copy (perhaps yours got corrupted).

1

u/StringOfPotatoes Jan 12 '19

Thanks! I'll give that a shot. There's something I want to ask, though, hope you don't mind. Whenever I install Java, right after it tells me it installed successfully, I get a popup that tells me Java SE binary has stopped working. Does that mean it crashed? Like, immediately upon install? Is there a way to fix that?

2

u/FoodComputer Jan 12 '19

That sounds like a Windows problem more than anything else. I wouldn't worry about that.

1

u/StringOfPotatoes Jan 12 '19

Yeah? Okay... Like, I tried installing both 32 and 64 bit versions this morning 'cause I heard that's a thing, and when I did it with the 32 bit version I didn't get the error. Also, when I get the error after installing the 64 bit version, the details say it's an APPCRASH and the application crashing is listed as the installer I was using.

If that's something I don't need to worry about, then I'll have to look harder for where this problem is coming from. Sorry this has been such a nuisance, and thanks so much for your help

2

u/96-62 Jan 12 '19

Reading this, I was struck by the idea that it was the jar file that was corrupt, rather than the java executable. Alternatively, maybe it was a java version issue - which version did you install?

1

u/StringOfPotatoes Jan 12 '19

The latest java? Got it right off the Oracle download page last night, it's uh- version 8, update 191, build 1.8.0_191-b12? If those aren't the right numbers I can go back to the site and check as well.

1

u/96-62 Jan 12 '19

The latest java is version 11, although oracle don't give it away for free anymore. Maybe the openjdk version [here]:(https://jdk.java.net/11/)?