I installed Java and everything, but when I try to execute it I get a quick flash of a window popping up with a black screen and then immediately closing again.
Can someone help me?
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Why can't I execute autohaven.jar?
If the client is crashing, try searching your drive for a file called "hs_err_pid.log" that should be placed in the root Java folder, wherever you told Java to install.
Also, what sort of hardware do you have in your computer--CPU, GPU, is it a laptop or desktop? What operating system and version? What version of Java do you have installed?
A few things come to mind as to the possible causes, but there has been several recent updates that have changed what the typical cause of crashes are, and don't want to make suggestions that aren't even going to work.
Also, what sort of hardware do you have in your computer--CPU, GPU, is it a laptop or desktop? What operating system and version? What version of Java do you have installed?
A few things come to mind as to the possible causes, but there has been several recent updates that have changed what the typical cause of crashes are, and don't want to make suggestions that aren't even going to work.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Why can't I execute autohaven.jar?
Do you get the splash screen/download window and then the actual client crashing, or is it the downloader itself that is crashing in the first place?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Moosenheim
- Posts: 8
- Joined: Sat Nov 07, 2020 7:47 pm
Re: Why can't I execute autohaven.jar?
try jarfix if it's a fresh install of java on windows.
-
telas
- Posts: 21
- Joined: Wed Aug 12, 2020 9:52 pm
Re: Why can't I execute autohaven.jar?
i just get this error today. i think was the custom client but the original client have an error too.
Code: Select all
java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
at haven.launcher.Driver.execute(Driver.java:72)
at haven.launcher.Driver.run(Driver.java:89)
at haven.launcher.Driver.main(Driver.java:147)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketInputRecord.readFully(Unknown Source)
at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source)
at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
at sun.security.ssl.SSLTransport.decode(Unknown Source)
at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readApplicationRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.access$300(Unknown Source)
at sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.MeteredStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
at haven.launcher.Cache.update0(Cache.java:229)
at haven.launcher.Cache.update(Cache.java:277)
at haven.launcher.Resource.update(Resource.java:64)
at haven.launcher.Driver.execute(Driver.java:47)
... 2 more
Suppressed: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at haven.launcher.Cache.update0(Cache.java:206)
... 5 more
Suppressed: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at haven.launcher.Cache.update0(Cache.java:206)
... 5 more
Last edited by loftar on Sun Nov 29, 2020 10:38 pm, edited 1 time in total.
Reason: Added code tags
Reason: Added code tags
-
vatas
- Posts: 5255
- Joined: Fri Apr 05, 2013 8:34 am
- Location: Suomi Finland Perkele
Re: Why can't I execute autohaven.jar?
Consider using "hide" instead of "spoiler" next time.telas wrote:i just get this error today. i think was the custom client but the original client have an error too.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: Why can't I execute autohaven.jar?
Could you post the error you get from the base client? I'm not sure it'll be any different.
Generally, when you get an error like
There may be other causes, but those are generally code issues (which most everyone would be having, at least intermittently), or beyond my skill to help with.
Moved to the "bugs" section.
Generally, when you get an error like
it indicates there's a network problem. Either you're having a connection issue with the server, such as network outages, or there is some local software, typically antivirus or other security software, interfering with the connection. Make sure that java.exe and javaw.exe are allowed access to the network, and if possible to set specific Java apps, the appropriate Haven files--autohaven.jar, haven.jar (possibly others).telas wrote:SocketTimeoutException: Read timed out
There may be other causes, but those are generally code issues (which most everyone would be having, at least intermittently), or beyond my skill to help with.
Moved to the "bugs" section.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
-
telas
- Posts: 21
- Joined: Wed Aug 12, 2020 9:52 pm
Re: Why can't I execute autohaven.jar?
what a helpful answer. tksvatas wrote:Consider using "hide" instead of "spoiler" next time.telas wrote:i just get this error today. i think was the custom client but the original client have an error too.
i think was both my connection and my antivirus. tksMagicManICT wrote:Could you post the error you get from the base client? I'm not sure it'll be any different.
Generally, when you get an error likeit indicates there's a network problem. Either you're having a connection issue with the server, such as network outages, or there is some local software, typically antivirus or other security software, interfering with the connection. Make sure that java.exe and javaw.exe are allowed access to the network, and if possible to set specific Java apps, the appropriate Haven files--autohaven.jar, haven.jar (possibly others).telas wrote:SocketTimeoutException: Read timed out
There may be other causes, but those are generally code issues (which most everyone would be having, at least intermittently), or beyond my skill to help with.
Moved to the "bugs" section.