Windows 8.1

General discussion and socializing.
User avatar
_sarah_
Posts: 182
Joined: Fri Jun 01, 2012 3:16 pm

Re: Windows 8.1

Post by _sarah_ »

Mxwhite484 wrote:The exact message looks like this:

Application Error
Unable to launch the application.
Name: Haven and hearth
Publisher: Seatribe
Location: http://www.Havenand hearth.com

When i click on details,

Launch File:jnlp codebase="http://www.havenandhearth.com/java/" spec="1.0+">
<information>
<title>Haven and Hearth</title>
<vendor>Seatribe</vendor>
<description>The Haven game</description>
<homepage href="http://www.havenandhearth.com/"/>
<icon href="icon.gif"/>
<icon kind="splash" href="splash.gif"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+" max-heap-size="256M"/>
<java version="1.5+" max-heap-size="256M"/>
<jar href="haven.jar"/>
<extension href="haven-res.jnlp" name="res"/>
<extension href="http://www.havenandhearth.com/java/jogl/jogl.jnlp" name="jogl"/>
<property name="jnlp.haven.authck" value="e6bd8a1561f08c4d7739fb29aec0fdb142b87f13398362687b59a69608cbb245"/>
<property name="jnlp.haven.authuser" value="Mxwhite484"/>
<property name="jnlp.haven.fullscreen" value="off"/>
<property name="jnlp.haven.errorhandler" value="on"/>
<property name="jnlp.haven.errorurl" value="http://www.havenandhearth.com/java/error"/>
<property name="jnlp.haven.defserv" value="moltke.seatribe.se"/>
</resources>
<application-desc/>
</jnlp>



Exception:com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.havenandhearth.com/java/haven-res.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source)
at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)




Wrapped exception: java.net.SocketException: Address family not supported by protocol family: connect
at java.net.DualStackPlainSocketImpl.connect0(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 java.net.Socket.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.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getJreResource(Unknown Source)
at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)



Again running windows 8.1 on a 64 bit system, Cant run any .jnlp files so I used javas internet tool to see if i had the up to date one and they told me that the one i have is good, so i dont know what to do there. Please help.
---------------------------------------------------------------------------------------------------------
Check whether you have browsers enabled in Java Control Panel (Security Tab)

did you made exeptions for both http:// and https:// ? <----YEs

Set Default JNLP Program in Windows 8 / 8.1 <-----Set to javaws.exe

Windows has a way that you can choose what program opens a file by default. To make Java Web Start Launcher the default program to open JNLP files, open the Charms bar, click the magnifying glass, and then type "Default Programs" (without quotes) into the text field. Click "Apps | Default Programs | Associate a File Type or Protocol With a Program | .JNLP | Change Program | Java Web Start Launcher." If you don't see Java Web Start Launcher, click "More Options" and then click "Look For Another App on This PC." Locate the JRE folder and then open the "BIN" folder. Click "Javaws.exe" and then click "Open." <--Did this


To install client you need to download updater. Download it and put into some folder. Then run this file - it will download client and all require files to that folder.
source code could be found at git://github.com/EnderWiggin/Haven-and- ... -Ender.git

I clicked the download updater, and i installed the .jar and i clicked on it and it ran in java fine, did its update thing but dissapeared and nothing else happened after that.



Still no luck


Address family not supported by protocol family-- Network adapter

Try this, type this on CMD (command line) + enter ; -Djava.net.preferIPv4Stack=true
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Windows 8.1

Post by borka »

OP - Did you run an anti virus check?

yep Sarah is right with IP4 <-> IP6 ( Java 7 and 8 are trying with IP6 by default on windows)

create a bat (with Notepad - save as updater.bat - file type: all types !not .txt) in your Ender folder

Code: Select all

"C:\Program Files\Java\jre8\bin\java.exe" -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false -jar updater.jar"
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Windows 8.1

Post by MagicManICT »

Mxwhite484 wrote:I have a windows 8.1 computer does it matter if it is 64 bit cause thats what mine is

The requirements for which version you have installed is dependent on which processor and architecture you use. 64 bit processing is pretty much standard now, and 32 bit installations of Windows 8 (does it exist? haven't looked) are supported for legacy systems that can run it. Why you'd want to put 8 on a PC that already has 7 installed, I don't know, but some do.

Conclusion: yeah, it matters. With a 64 bit OS, you should stick to 64 bit programs for best performance. There may still be issues with some older programs in properly recognizing it as a 32 or 64 bit installation, so you should make sure you're getting the right thing. (You should do this always, anyway, just to make sure something isn't being screwy.)
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
Mxwhite484
Posts: 55
Joined: Sat Jan 03, 2015 4:58 pm
Location: USA

Re: Windows 8.1

Post by Mxwhite484 »

hey thanks everyone i got it figured out!
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Windows 8.1

Post by borka »

never bad to tell how you did - might help others who run into the same problems

Return to “The Inn of Brodgar”