To those with errors with java, a comprehensive guide

The worst monsters in the Hearthlands warp the fabric of space and time..

To those with errors with java, a comprehensive guide

Postby jgudge » Wed Jan 19, 2011 4:53 pm

This may seem like a rather basic method of troubleshooting, but i will write a guide for you all. If you are experiencing and error while running the program on the main client that is java related, look no further, this may be the solution you've been waiting for.

Many users have commented on the program crashing at launch, or while in character select, and have not even seen what the game looks like for themselves.

If you are having a problem similar to the ones that have been described here, you answer may very well lie here.
http://www.havenandhearth.com/forum/viewtopic.php?f=4&t=13395
http://www.havenandhearth.com/forum/viewtopic.php?f=2&t=14530
http://www.havenandhearth.com/forum/viewtopic.php?f=4&t=14536

1st step: Which client am i using, The main or Gilbertus?
This is important, because in my version of Gilbertus, the .belt and .conf files are corrupt and must be deleted before every new launch. You may be having a problem with the .conf file if you can't even start the game, and a .belt file problem if you can see char select, but cannot get past it.

2nd step:Is Java properly installed?
Some of us may laugh, but honestly, if java doesn't exist on your computer, it cannot launch.
http://java.com/en/download/index.jsp

3rd step:Am I having problems with any other java applets?
This may be a sign that your java was improperly installed, and that a fresh copy would be advised.

4th step:What version of java am i running?
Rather important. proceed to your java control panel, located in your "Control Panel", then "Java" on xp, vista and 7 should be relatively the same, then click on "about".

Image

If you're running JRE 1.1.0 (java runtime environment), and the newest version is 1.6.3, you're about five whole versions behind. Also to note, java 1.6 has been buggy with haven for some people. If you have java 1.6 and you cannot solve with the previous steps, proceed to search the internet for a file called "jre-1_5_0_22-windows-i586-p.exe". This will install a previous version of java, version 1.5.0_22, the version I am currently running, and according to Loftar,
loftar wrote:Haven client is compatible with Java 1.5


5th step:I've installed java again, what now?
Simple, open your java control panel once more, except now proceed to the temporary internet files "Delete Files" button. Proceed to erase all java info. The most that this step could do is make you re-download small java files, which should be no problem with the internet we have nowadays. Essentially this is removing all pre-downloaded files for H&H, and on the next run, it will re-install with the files that were supplied from the server.

6th step:I'm proud, my cache is cleared, now what?
Try running the haven client of your choice once more, it should attempt to re-download the files that are required to play, but this time the files should work. :roll:

7th step:It still doesn't work!
Perhaps your video drivers are out of date, visit your hardware manufacturer's website to get the latest drivers.
Try re-downloading the launcher file again, whether it be Gilbertus' client, or the PLAY button at the top of each page.


EDIT IN: ShadowChris's guide;
shadowchris wrote:I get a super big ass error message when opening the client
1: You don't have java
2: Reinstall java
3: Update your video/sound card drivers

Unable to launch application
1: Make sure you updated your java
2: Using a outdated version of the H&H client (Gilbertus client not modified by mqrius, or using Pacho's client).
To find the updated gilbertus clients, use either one of these clients depending on your system; 32 or 64 bit.
http://is.gd/h3101
http://is.gd/h3aPL
Can't connect to server/moltke.se error
1: Server is down
2: You're using the wrong client (Gilbertus or Pacho's).


If in fact your modified client does NOT work, whether connection is the issue or not, it very well could be a problem with the run.bat trying to connect to the old server location.

The solution to this is to edit the "run.bat" file included in hh-windows-__bit folder by right clicking and selecting "Edit". This will open a notepad window. Delete the current text and copy this code from here, into your run.bat.
Code: Select all
java -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se

Then try running again.

Hope this helps. If all the above fails look for help anyway. Feel free to contribute trouble shooting tips.
This concludes my troubleshooting guide. This is in no way a fix to the 1.6 java issue, but it is a workaround, and hopefully it solves some problems.

I haven't posted the link to the java 1.5 version for a reason. I don't want to be responsible for people's idiocy in not virus scanning items off the internet, and i don't have a for-sure link to a virus-free version. That being said, there are plenty of places that archive old java files for reasons exactly like this, java.sun.com is not one of them.

MOST IMPORTANTLY
If anyone wishes to post debugging code here, I will NOT look at it. I'm not fluent in the ways of the java programming in ANY way. Post if you wish, and perhaps a developer will be able to help.

Code: Select all
CODING LIKE THIS IS ACCEPTABLE

CODING

LIKE

THIS

IS

NOT

You will be clogging up the forum in this manner, do not do it please.

Readers are encouraged to share their knowledge with other members. Please follow the guidelines however.

Please post your results as a reply, whether this worked for you or not.

Cheers,
James Gudge

EDIT: Link to a version of java 1.5 is included here; http://www.brothersoft.com/java-runtime-environment-220149.html

I AM NOT RESPONSIBLE FOR INFECTIONS, AS I HAVE NOT SCANNED THIS MYSELF. APPLY YOUR VIRUS SCANNER OF CHOICE BEFORE RUNNING.

This should be a functioning copy of java 1.5, so hopefully you can look here for the download.

As always, comments below.

Cheers
Last edited by jgudge on Sat Jan 22, 2011 6:30 am, edited 2 times in total.
George Carlin wrote:The real reason that we can’t have the Ten Commandments in a courthouse: You cannot post “Thou shalt not steal,” “Thou shalt not commit adultery,” and “Thou shalt not lie” in a building full of lawyers, judges, and politicians. It creates a hostile work environment.
User avatar
jgudge
 
Posts: 868
Joined: Mon Dec 20, 2010 12:44 pm
Location: Canada, eh.

Re: To those with errors with java, a comprehensive guide

Postby Moogie » Wed Jan 19, 2011 6:59 pm

Thanks for the post, hopefully many people will find it useful.

Not sure if this is just an error I'm getting, but today I tried loading H&H and received an error "java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z"

Some Googling of this error tells me that the String.isEmpty method is new in 1.6+ and not supported in 1.5. If the devs updated H&H over the past day or so with some new code, then it means anyone with Java 1.5 installed now needs to upgrade to 1.6.
User avatar
Moogie
 
Posts: 260
Joined: Wed Mar 31, 2010 4:57 am

Re: To those with errors with java, a comprehensive guide

Postby jgudge » Wed Jan 19, 2011 7:52 pm

Moogie wrote:Some Googling of this error tells me that the String.isEmpty method is new in 1.6+ and not supported in 1.5. If the devs updated H&H over the past day or so with some new code, then it means anyone with Java 1.5 installed now needs to upgrade to 1.6.

Perhaps, but i'm running 1.5 fine, and 1.6 gives a DynamicLookupHelper error.
George Carlin wrote:The real reason that we can’t have the Ten Commandments in a courthouse: You cannot post “Thou shalt not steal,” “Thou shalt not commit adultery,” and “Thou shalt not lie” in a building full of lawyers, judges, and politicians. It creates a hostile work environment.
User avatar
jgudge
 
Posts: 868
Joined: Mon Dec 20, 2010 12:44 pm
Location: Canada, eh.

Re: To those with errors with java, a comprehensive guide

Postby jgudge » Thu Jan 20, 2011 6:21 am

Edited to include ShadowChris's guide, and made minor changes.

Included script for run.bat.
George Carlin wrote:The real reason that we can’t have the Ten Commandments in a courthouse: You cannot post “Thou shalt not steal,” “Thou shalt not commit adultery,” and “Thou shalt not lie” in a building full of lawyers, judges, and politicians. It creates a hostile work environment.
User avatar
jgudge
 
Posts: 868
Joined: Mon Dec 20, 2010 12:44 pm
Location: Canada, eh.

Re: To those with errors with java, a comprehensive guide

Postby Metic » Fri Jan 21, 2011 9:05 am

Thank you very much, i was able to play after clearing out my java history and re downloading the H&h client.
Metic
 
Posts: 1
Joined: Tue Jan 18, 2011 4:36 am

Re: To those with errors with java, a comprehensive guide

Postby jgudge » Sat Jan 22, 2011 6:37 am

Added a link to a java 1.5 version download.
George Carlin wrote:The real reason that we can’t have the Ten Commandments in a courthouse: You cannot post “Thou shalt not steal,” “Thou shalt not commit adultery,” and “Thou shalt not lie” in a building full of lawyers, judges, and politicians. It creates a hostile work environment.
User avatar
jgudge
 
Posts: 868
Joined: Mon Dec 20, 2010 12:44 pm
Location: Canada, eh.

Re: To those with errors with java, a comprehensive guide

Postby Phyrehawk » Sat Jan 22, 2011 12:47 pm

So - I've tried to launch H&H through the play button at the top of the page, and the client link from the first post, in both 1.5 and 1.6 versions of Java and get the below error as soon as the client loads. The error text from the "Problem Details" is below the picture.

I'm running Windows 7 Home Premium, graphics drivers and sound drivers are up to date as it's a relatively fresh install of 7.

Image

Code: Select all
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   javaw.exe
  Application Version:   5.0.220.3
  Application Timestamp:   4acef479
  Fault Module Name:   nvoglv32.DLL
  Fault Module Version:   8.17.12.6099
  Fault Module Timestamp:   4cb9da81
  Exception Code:   c0000005
  Exception Offset:   006737a0
  OS Version:   6.1.7600.2.0.0.768.3
  Locale ID:   2057
  Additional Information 1:   0a9e
  Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:   0a9e
  Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


Anyone got any ideas? :)
Phyrehawk
 
Posts: 1
Joined: Tue Jan 26, 2010 4:32 am

Re: To those with errors with java, a comprehensive guide

Postby Cassial » Sun Jan 23, 2011 5:37 am

I have the same issue as the above poster. My game ran fine last night...
User avatar
Cassial
 
Posts: 39
Joined: Thu Oct 01, 2009 10:55 pm

Re: To those with errors with java, a comprehensive guide

Postby jgudge » Sun Jan 23, 2011 9:47 am

You wouldn't happen to still have java 1.6 installed on your machine, would you?

1.5 and 1.6 compete with each other, and the only safe way is to remove 1.6 and install 1.5, then clear the cache of all items.
George Carlin wrote:The real reason that we can’t have the Ten Commandments in a courthouse: You cannot post “Thou shalt not steal,” “Thou shalt not commit adultery,” and “Thou shalt not lie” in a building full of lawyers, judges, and politicians. It creates a hostile work environment.
User avatar
jgudge
 
Posts: 868
Joined: Mon Dec 20, 2010 12:44 pm
Location: Canada, eh.

Re: To those with errors with java, a comprehensive guide

Postby rozn » Sun Jan 23, 2011 9:49 am

+1
Certainly, in taking revenge, a man is but even with his enemy; but in passing it over, he is superior; for it is a prince’s part to pardon. - A wise friend.
User avatar
rozn
 
Posts: 1386
Joined: Sun Apr 11, 2010 2:18 pm
Location: A wonderful place called

Next

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 0 guests