Having a hard time with Java/Getting game to launch

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.
fenriah
Posts: 5
Joined: Thu Jul 22, 2010 7:40 pm

Having a hard time with Java/Getting game to launch

Post by fenriah »

I've read over the forums and have tried to do what was noted to try, but I have had no luck getting the client to launch, and I am fairly sure Java is just refusing to download, since it will go through the motions but then it won't launch anything, or show up in programs. I have WIN10, and have tried with firefox/chrome/brave/IE in case that was a factor. I might also be misunderstanding the directions I have found in Q&A and the bug forums and could just use some help.

Thank you in advance!
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Having a hard time with Java/Getting game to launch

Post by MagicManICT »

When installing java, if using the official Oracle version, you can get a manual download so you don't run into network problems while its installing. A link is on the page where you can click "install java", but it's easily missed. Visit the manual download page here: https://java.com/en/download/manual.jsp Make sure to grab the proper version for your operating system. (Note that 32-bit versions are still available. Odds are you want the 64 bit, which is not what is served up by default by the web installer.) You may also have some security software of some sort that may be blocking Java from installing.

Once Java is installed, you can open a command line and type the command "java -version" and get something like
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

After that, click the play button, save the file to your desktop or another convenient location, and it should launch with a double click.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
fenriah
Posts: 5
Joined: Thu Jul 22, 2010 7:40 pm

Re: Having a hard time with Java/Getting game to launch

Post by fenriah »

MagicManICT wrote:When installing java, if using the official Oracle version, you can get a manual download so you don't run into network problems while its installing. A link is on the page where you can click "install java", but it's easily missed. Visit the manual download page here: https://java.com/en/download/manual.jsp Make sure to grab the proper version for your operating system. (Note that 32-bit versions are still available. Odds are you want the 64 bit, which is not what is served up by default by the web installer.) You may also have some security software of some sort that may be blocking Java from installing.

Once Java is installed, you can open a command line and type the command "java -version" and get something like
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

After that, click the play button, save the file to your desktop or another convenient location, and it should launch with a double click.
Thank you so much for your response! I got java downloaded successfully (i checked via cmd as you specified), but when i save it and try to launch, it just throws the file back at me and asks if i want to save it again. (See image)
You do not have the required permissions to view the files attached to this post.
lachlaan
Posts: 488
Joined: Sat Apr 06, 2013 9:32 pm

Re: Having a hard time with Java/Getting game to launch

Post by lachlaan »

Are you just clicking play again on the haven website, or are you trying to run the file you just downloaded? Right click, open, if it's not sure what to open with (it should have associated the .jar format with java) then try to open with and find the path to java.exe
User avatar
Zampfeo
Posts: 652
Joined: Sun Apr 25, 2010 8:30 pm
Location: USA

Re: Having a hard time with Java/Getting game to launch

Post by Zampfeo »

fenriah wrote:
MagicManICT wrote:When installing java, if using the official Oracle version, you can get a manual download so you don't run into network problems while its installing. A link is on the page where you can click "install java", but it's easily missed. Visit the manual download page here: https://java.com/en/download/manual.jsp Make sure to grab the proper version for your operating system. (Note that 32-bit versions are still available. Odds are you want the 64 bit, which is not what is served up by default by the web installer.) You may also have some security software of some sort that may be blocking Java from installing.

Once Java is installed, you can open a command line and type the command "java -version" and get something like
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

After that, click the play button, save the file to your desktop or another convenient location, and it should launch with a double click.
Thank you so much for your response! I got java downloaded successfully (i checked via cmd as you specified), but when i save it and try to launch, it just throws the file back at me and asks if i want to save it again. (See image)
It looks like your PC might be trying to open .Jar files with Firefox. Try right clicking the file on your desktop and clicking "Open with...". You should be opening it with "Java(SE) Platform SE Binary"
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Having a hard time with Java/Getting game to launch

Post by MagicManICT »

No 'might' about it. .jar files are associated with Firefox (as indicated by the icon next to the file name). You can change that association by using the "Open with..." dialog. Select "Choose another app" to get a selection window to pop open. At the bottom make sure to check "Always use this app to open .jar files"
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
fenriah
Posts: 5
Joined: Thu Jul 22, 2010 7:40 pm

Re: Having a hard time with Java/Getting game to launch

Post by fenriah »

MagicManICT wrote:No 'might' about it. .jar files are associated with Firefox (as indicated by the icon next to the file name). You can change that association by using the "Open with..." dialog. Select "Choose another app" to get a selection window to pop open. At the bottom make sure to check "Always use this app to open .jar files"
Ok so I made that change, but when I try to open it, I will see the CMD window flash for a second, then nothing else happens.

(Again, thank you so much)
You do not have the required permissions to view the files attached to this post.
fenriah
Posts: 5
Joined: Thu Jul 22, 2010 7:40 pm

Re: Having a hard time with Java/Getting game to launch

Post by fenriah »

Zampfeo wrote:
It looks like your PC might be trying to open .Jar files with Firefox. Try right clicking the file on your desktop and clicking "Open with...". You should be opening it with "Java(SE) Platform SE Binary"
thanks for the help as well! Got that part resolved, now to get it to launch lol
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Having a hard time with Java/Getting game to launch

Post by MagicManICT »

Two things you might look for:

1. There should be a crash log on your drive called "hs_err_pid.log" This file is typically in the location you installed Java at, but can end up other locations on your system. You might have to search your drive for it.

2. You can launch haven via the command line "java.exe -jar autohaven.jar" Make sure to replace "autohaven.jar" with the name of your Haven launcher. Since an update a couple of weeks ago that allows for auto logging in, everyone gets a custom named file with the account name appended to it. Be sure to navigate to where you have saved the .jar file. If Haven crashes this way, Java should dump any crash report to the command line.

Post any crash logs you get or can find.

Another issues may be security software blocking Haven (or Java apps in general) from running. It's been a while since it has needed to come up, but Haven uses ports TCP 1871, UDP 1870. You may need to configure your security software to allow those to be used. It could be a connection issue in general with the Internet. Beyond that, I have no other suggestions without consulting someone that might be able to look into things a bit deeper.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.

Return to “How do I?”