Apparently, Oracle is abandoning JNLP (otherwise known as Java Web Start), and as of Java 11 they are not shipping it anymore, and as such it seems we need something else to replace it. I've been checking out the options that are out there already, and they seemed less than fitting for our purposes, and so in the end I've had to write my own launcher.
I'd like to start using it fairly soon, but I'd like to ask you to try it out first, as I'm sure there may very well be edge-cases out there that it doesn't handle well yet. If you feel up for it, please use this link:
http://game.havenandhearth.com/java/hafen-launcher.jar
You'll notice it's a .jar instead of a .jnlp file. Jar files should be just as directly executable as JNLP files, so all you should have to do is "just run it". Please report any problems with it!
As a reflective note, JNLP was by far and away the most important reason why I originally chose to write the client in Java, and while there are many things I like about JNLP, it has been taking a stranger and stranger route in the years since then (the most important one being when Oracle decided to require an "officially" signed certificate for JNLP programs), and so if I had known about that back then, I would have probably taken a diffeent approach. There are other things that I appreciate about the client being in Java (it's still pretty easy to make it run on a variety of platform, and the dynamic code loading system of Java is particularly nice), but if it hadn't been for JNLP, I would have probably not chosen to use Java, so it's interesting how things turn out.
I also think it is very strange that Oracle decided to deprecate JNLP, and I can't really fathom why they did so. Their official reason seems to be that they think that "app stores" are the future, which I both hope and think is untrue, and also strikes me as a weird reason to deprecate a technology that is not only mature and functional, but also seems to be widely used in practice. Weird stuff. I see other games (such as Wurm Online) still use it, seemingly without second thoughts or official plans to transition from it. Nevertheless, Oracle seems steadfast in its decision, so I guess all I can do is to deal with it.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
New launcher, replacing JNLP
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
budzilla
- Posts: 184
- Joined: Sat Feb 02, 2019 3:27 am
- Location: Canada
Re: New launcher, replacing JNLP
As an avid Wurm player, there has been plenty of talk among the staff and devs to transition to a launcher of their own, they just tend to be very slow with their updates.loftar wrote:I see other games (such as Wurm Online) still use it, seemingly without second thoughts or plans to transition from it. Nevertheless, Oracle seems steadfast in its decision, so I guess all I can do is to deal with it.
-
dullah
- Posts: 199
- Joined: Sun Nov 15, 2009 7:09 am
Re: New launcher, replacing JNLP
another reason to client rewrite with another language / framework
plus Java goes pay to use for software devs soon ?
plus Java goes pay to use for software devs soon ?
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: New launcher, replacing JNLP
Citation needed. Seems impossible with OpenJDK out there.dullah wrote:plus Java goes pay to use for software devs soon ?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Ysh
- Posts: 5953
- Joined: Sun Jan 31, 2010 4:43 am
- Location: Chatting some friends on forum
Re: New launcher, replacing JNLP
Given how long rendering rewrite takes, I think I do not like to wait for whole client rewrite too!dullah wrote:another reason to client rewrite with another language / framework
This seem unlikely to me. Java has open source implementation of it.dullah wrote:plus Java goes pay to use for software devs soon ?
I have become victory of very nice Jordan Coles Contest! Enjoy my winning submit here if it pleasures you.Kaios wrote:Spice Girls are integral to understanding Ysh's thought process when communicating, duly noted.
-
dullah
- Posts: 199
- Joined: Sun Nov 15, 2009 7:09 am
Re: New launcher, replacing JNLP
we could still use java 8 SE for free, but without any more security updates.
Upper versions now use a pay to use sub
It's all over internet:
https://www.lakesidesoftware.com/blog/j ... impact-you
EDIT OOPSIE: its JAVA SE, not the JRE ?
Upper versions now use a pay to use sub
It's all over internet:
https://www.lakesidesoftware.com/blog/j ... impact-you
EDIT OOPSIE: its JAVA SE, not the JRE ?
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: New launcher, replacing JNLP
Ah, yes, but that's just for Java 8. Half the point of this thread is to avoid having to rely on Java 8.dullah wrote:we could still use java 8 SE for free, but without any more security updates.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: New launcher, replacing JNLP
I am not surprised, not at all.loftar wrote:so in the end I've had to write my own launcher.
Its easier to count things that you did not write yourself for this game than the things that you wrote.
I tried to run it on both openjdk 8 and 11. Both worked just fine.
Arch Linux, xorg and i3wm.

I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
-
boshaw
- Posts: 1612
- Joined: Tue Jun 01, 2010 10:22 pm
Re: New launcher, replacing JNLP
Are there plans with the rewrite to also upgrade the codebase to Java 11 as well? I know I've experimented with it and noticed some minor issues with deprecated bytebuffers functions from what I imagine was in resource file code.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: New launcher, replacing JNLP
If you know any good alternatives, please feel free to suggest them. This has actually been one of those things that I've felt particularly strong about not really wanting to do myself, but the only reasonable alternative at all that I've been able to find was Getdown, and I was very much less than enthused about its requiring platform-specific installers.shubla wrote:I am not surprised, not at all.loftar wrote:so in the end I've had to write my own launcher.
I'm actually still using Java 8 for my day-to-day development (simply since it's the default Java version in Debian Stable), but I'm sure I'll get around to Java 11 things sooner or later.boshaw wrote:Are there plans with the rewrite to also upgrade the codebase to Java 11 as well? I know I've experimented with it and noticed some minor issues with deprecated bytebuffers functions from what I imagine was in resource file code.
"Object-oriented design is the roman numerals of computing." -- Rob Pike