Can't launch the game

The worst monsters in the Hearthlands warp the fabric of space and time...
Sebitaco
Posts: 6
Joined: Mon Sep 17, 2012 6:01 pm

Can't launch the game

Post by Sebitaco »

I've invited a friend to the game recently and he gets this error when trying to launch the game: The 'Haven and Hearth' icon shows first, and then there's an error message: 'java.lang.ArrayIndexOutOfBoundsException: -1
at jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:170)
at javax.media.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:422)
at javax.media.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:1403)
at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:617)
at java.desktop/java.awt.Container.addNotify(Unknown Source)
at java.desktop/java.awt.Window.addNotify(Unknown Source)
at java.desktop/java.awt.Frame.addNotify(Unknown Source)
at java.desktop/java.awt.Window.pack(Unknown Source)
at haven.MainFrame.<init>(MainFrame.java:196)
at haven.MainFrame.main2(MainFrame.java:383)
at haven.MainFrame.access$100(MainFrame.java:35)
at haven.MainFrame$7.run(MainFrame.java:426)
at java.base/java.lang.Thread.run(Unknown Source)"

We've tried a few things, but nothing has worked so far.
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Can't launch the game

Post by MagicManICT »

See this thread: https://www.havenandhearth.com/forum/viewforum.php?f=47

To summarize: uninstall any beta versions of Java and install the latest full release version.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
Sebitaco
Posts: 6
Joined: Mon Sep 17, 2012 6:01 pm

Re: Can't launch the game

Post by Sebitaco »

I can't see the forum post, that link led me to the forum section instead
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Can't launch the game

Post by MagicManICT »

Apologies. Here's the thread I was trying to send you to: https://www.havenandhearth.com/forum/vi ... tionFactor
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
Sebitaco
Posts: 6
Joined: Mon Sep 17, 2012 6:01 pm

Re: Can't launch the game

Post by Sebitaco »

Thank you
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Can't launch the game

Post by borka »

MagicManICT wrote:See this thread: https://www.havenandhearth.com/forum/viewforum.php?f=47

To summarize: uninstall any beta versions of Java and install the latest full release version of Java 8.
http://www.oracle.com/technetwork/java/ ... 33155.html
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
lazykatvix85
Posts: 1
Joined: Sat Apr 07, 2018 4:54 am

Re: Can't launch the game

Post by lazykatvix85 »

I'm having the same problem. I tried to update Java to the latest version (Java SE 10) and it didn't work. And I really wanted to try this game out.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Can't launch the game

Post by borka »

Go Java SE 8 (DL url above)
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
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Can't launch the game

Post by MagicManICT »

lazykatvix85 wrote:I'm having the same problem. I tried to update Java to the latest version (Java SE 10) and it didn't work. And I really wanted to try this game out.
Be sure you distinguish between release versions and beta versions. If you aren't a developer, knowledgeable software tester, or have been instructed by a support person to use the beta version, stick to the official release versions.

I'll note that there's nothing wrong with learning about software testing and such. We've all started somewhere. Learn how to set up test environments and virtual machines for testing. If you need to continue using the beta version of Java, learn to set your system up to use specific versions. (Information on how to do run multiple versions of Java is available through java.com.)
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
Putin666
Posts: 2
Joined: Sun Mar 08, 2020 2:13 pm

Re: Can't launch the game

Post by Putin666 »

Hi everyone!

Haven't played this gem for many years and now decided to return. However, after I downloaded the official autohaven archive (34 files in launcher and 1 in META-INF), I couldn't figure out which file in launcher do I open with Java Web start launcher. Please, help me out here, I suck at figuring such things out by myself.

Return to “Bugs”