Sign in to follow this  
Nicrolis

How to make wurm use 64bit Java! Stops crashing in most cases!

Recommended Posts

Recently I have been seeing alot of people having issues with the client crashing. All of the ones I have helped, seemed to have wurm using 32bit java on a 64bit system. I have had to type this out to around 10-20 people and thought it would be easier to just make one guide I can link them to! So here it is!

 

This guide works for Windows 7, unsure for other OSs!

Before proceeding please do not use this guide unless you are SURE you are on a 64bit operating system. How to check for a 64bit operating system:

 

Force wurm to run on 64bit Java, a How To Guide.

 

Finding your java version:

 

  1. Navigate to your C drive then to "Program Files" then to the "Java" folder.
  2. See what number is after the underscore on the  "jre1.8.0_" Folder. *Note that if you do not have a "Java"  or a "jre1.8.0_" folder you need to download Windows Offline Java 64bit from https://www.java.com/en/download/manual.jsp

Hrog8rR.png

 

 

 

Showing the file extensions for all file types:

  1. Click the Start menu.
  2. Type "folder options" (without the quotes).
  3. A dialog box with the title "Folder Options" will appear. Open that by clicking.
  4. Go to the "View" tab.
  5. Click to uncheck the box for "Hide extensions for known file types".
  6. Click the "OK" button at the bottom of the dialog box.

jtokdew.png

 

 

 

Creating the .bat run file:

 

  1. Next go to your desktop, right click, go to New and select Text Document.
  2. Name the text document anything you'd like, then change the .txt to .bat. Note: this should change the icon from the text file to an icon with a gear on it.
  3. Right click the file and choose "Edit"
  4. Enter the following code, I will provide a screenshot of what the file should look like after.
@ECHO OFF


"C:\Program Files\Java\jre1.8.0_---\bin\Javaws.exe" http://www.wurmonline.com/client/wurmclient_unstable.jnlp

EDIT THE "---" AFTER "jre.1.8.0_" TO THE JAVA'S VERSION THAT WE FOUND IN THE FIRST SET OF INSTRUCTIONS!!! EXAMPLE WITH JAVA VERSION ADDED:

FpcSW5P.png

 

Save the file and voila! Double click and the client will pop open! Except now it is using Java 64bit instead of 32bit.

 

NOTE:

  •  "@Echo OFF" makes the comand prompt not show up.
  •  "C:\Program Files\Java\jre1.8.0_71\bin\Javaws.exe" is the Java File path for 64bit Java
  •   "http://www.wurmonline.com/client/wurmclient_unstable.jnlp" Is the direct download to the Wurm Unstable Client.
  •  This file tells command prompt to open 64bit Java, and then to launch the linked file from Java.

 

Edited by Nicrolis
Added arrows to images. Will update when new java comes out.
  • Like 5

Share this post


Link to post
Share on other sites

Finding your Operating System(OS) Version

 

  1. Open the start menu.
  2. On the right go to "Computer" and right click.
  3. Go down to "Properties" and click.
  4. in the main window find the "System" catagory.
  5. Find "System Type"

 

If you have a 64bit Operating System it will say "64-bit Operating System" after "System Type"

5CumwRT.png

Edited by Nicrolis
Added image with arrows.
  • Like 1

Share this post


Link to post
Share on other sites

you can sometimes edit the wurm online shortcut to do the same thing and make sure it really use the "C:\Program Files\Java\jre1.8.0_71\bin\Javaws.exe".

 

Batch solution work all the time though, thanks nic for a clear way to solve some of the nasty wurm crashes.

  • Like 3

Share this post


Link to post
Share on other sites

Ah a one or two line Windows batch file... how adorable. Though boring ;)

 

Whipped this together some years ago, and have shared earlier versions of this on the forums before for similar issues.

@echo off
color 3
title Wurm Online Launcher
:start 
cls
echo Choose Client:
echo. 
echo 1) Regular
echo 2) Unstable
echo 3) Test
echo 4) Quit
set /p choice=Enter your choice #: 
if %choice%==1 javaws.exe http://www.wurmonline.com/client/wurmclient.jnlp
if %choice%==2 javaws.exe http://www.wurmonline.com/client/wurmclient_unstable.jnlp
if %choice%==3 javaws.exe http://www.wurmonline.com/client/wurmclient_test.jnlp
exit

 

What I am currently using on the main gaming system. Get your Nerd on!

Edited by Klaa
  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this