How do I get H&H running.

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Re: How do I get H&H running.

Postby borka » Mon Feb 10, 2014 8:18 pm

check where your Java is installed (!not system32 !) - depending on OS Bit version it should be at
C:\Program Files\Java\jre7\bin\
or
C:\Program Files (x86)\Java\jre7\bin\

post the path please - info on OS and Bit version would help too ...

another suggestion would be deleting haven.jar in your Ender folder and run updater.jar again so that it gets fetched again (don't confuse haven.jar with haven-res.jar)
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: How do I get H&H running.

Postby Vihart » Tue Feb 11, 2014 5:30 pm

Java Location (from looking at the location in properties of java): C:\Windows\System32
OS - Windows 7
Bit Version -32 Bit

Edit- thanks for your help guys

Edit II- "another suggestion would be deleting haven.jar in your Ender folder and run updater.jar again so that it gets fetched again (don't confuse haven.jar with haven-res.jar)"...Tried this and it didnt work
Image
User avatar
Vihart
 
Posts: 210
Joined: Sat Feb 04, 2012 6:53 pm

Re: How do I get H&H running.

Postby Arcanist » Tue Feb 11, 2014 5:37 pm

Java will not be in system 32. Some of the drivers/files will be, but the main executable that haven needs will be in program files.

make your run.bat this:

Code: Select all
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se

pause


I made a mistake in the last one.

If you are using jre6 (check by looking in Program files (x86)\Java and see if there is folder jre6 or jre7) then update your java.
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: How do I get H&H running.

Postby Vihart » Tue Feb 11, 2014 5:51 pm

Right okay im sorry I didnt realize I was looking for the wrong file. I found jre7 here.

C:\Program Files\Java

------------------------------------------------------

I tried using the:
Code: Select all
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se

pause


...and I got this, "the system cannot find the path specified"

Edit- I should also mention I found both jre6 and jre7...
Image
User avatar
Vihart
 
Posts: 210
Joined: Sat Feb 04, 2012 6:53 pm

Re: How do I get H&H running.

Postby Arcanist » Tue Feb 11, 2014 6:01 pm

please post a screenshot.

The only way that your java will be in system 32 will be if you manually put it there while installing.
My system shows system 32
Image


But this is the one you want.
Image


If you can't find it from looking around in your program files, then do a search in C drive for 'javaw'

Image


Ignore anything in C:\Windows
You want a location ending in jre7\bin

Write that location in place of the one in the run.bat, and don't forget the quotes

Isn't this all in ender's thread OP?

edit- if this doesn't work, do the same and try jre6
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: How do I get H&H running.

Postby Lord_of_War » Tue Feb 11, 2014 6:24 pm

If you are running jre6 it may be time to update. Best practice is to update java for security and compatability.
One death is a tragedy; one million is a statistic. -- Joseph Stalin #1 Forum troll You mad bro?
"My soul is terrifying" "Some men just want to watch the world burn"
http://www.youtube.com/watch?v=5f2M9t_tEhQ
User avatar
Lord_of_War
 
Posts: 1668
Joined: Wed Jul 17, 2013 2:53 am
Location: A long time ago in a land far away

Re: How do I get H&H running.

Postby Vihart » Tue Feb 11, 2014 6:26 pm

Image

Okay I found it, although I do have one in system 32 (not sure why - I dont mess around with files like this)

I also tried using both jre6 and jre7

@Lord of war, I did update it to jre7

Edit, current code:

Code: Select all
"C:\Program Files\Java\jre7\bin" -Djava.library.path="C:\games\HnH\" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se

pause


edit, edit -
Code: Select all
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se

pause
Image
User avatar
Vihart
 
Posts: 210
Joined: Sat Feb 04, 2012 6:53 pm

Re: How do I get H&H running.

Postby Arcanist » Tue Feb 11, 2014 6:39 pm

The run.bat should be in the same folder as your haven.jar and all of the other client files right?

I'm not sure why you need the extra bits in the file..

try this. Right click haven.jar, open with. then find the javaw (enders uses javaw) in your jre7 bin folder and try to run it.
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: How do I get H&H running.

Postby Vihart » Tue Feb 11, 2014 6:45 pm

error: invalid or corrupt jarfile C:\users\zita\desktop\original folder\haven.jar
Image
User avatar
Vihart
 
Posts: 210
Joined: Sat Feb 04, 2012 6:53 pm

Re: How do I get H&H running.

Postby Lord_of_War » Tue Feb 11, 2014 7:31 pm

Just about the only thing it could be after elimination is exactly that. Try a different client. Or find a more updated jar.
One death is a tragedy; one million is a statistic. -- Joseph Stalin #1 Forum troll You mad bro?
"My soul is terrifying" "Some men just want to watch the world burn"
http://www.youtube.com/watch?v=5f2M9t_tEhQ
User avatar
Lord_of_War
 
Posts: 1668
Joined: Wed Jul 17, 2013 2:53 am
Location: A long time ago in a land far away

PreviousNext

Return to How do I?

Who is online

Users browsing this forum: Ahrefs [Bot], Barkrowler [Bot], Claude [Bot], Semrush [Bot] and 2 guests