Page 1 of 1

New installation process

Posted: Wed Jul 02, 2014 7:55 pm
by Velisai
I tried to reinstall the client via the new .deb package and the installation of the package itself seems to run without problems, but it doesn't install anything to the home/.illarion directory. Instead I get some files extracted to file system/opt. When I tried to execute them either nothing happens at all or (when running the file simply called Illarion) I get the following error:

java.lang.NoClassDefFoundError: javafx/application/Application
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more

My OS is Linux Mint 17 MATE Edition (based on Ubuntu 14.04)

Re: New installation process

Posted: Wed Jul 02, 2014 8:55 pm
by Nitram
That points to the wrong Java being installed. You need Oracle Java.

The installation itself is correct. It installs to /opt/illarion (where additional applications should be installed) and maintains its binary files there. .illarion in the home directory will contain log files and the minimap data and so on.

I'll get a Linux installed to see what the problem is.

Nitram

Re: New installation process

Posted: Wed Jul 02, 2014 9:29 pm
by Velisai
I have both Oracle Java 7u60 and Open JDK 7u55 installed, because LibreOffice needs OpenJDK. Oracle Java is set as default though and the client did reinstall and is still running when I use the old .jar file to launch, so there must be a problem with the new launcher.

Re: New installation process

Posted: Wed Jul 02, 2014 11:28 pm
by Teflon

Code: Select all

java.lang.NoClassDefFoundError: javafx/application/Application
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 14 more
same here... :(
ubuntu 14.04 LTS
oracle java 7 runtime

Re: New installation process

Posted: Thu Jul 03, 2014 2:19 am
by Vilarion
Currently only the windows installers are working as they should. Please bear with us while we fix the other installers.
These installers will make it much easier to run Illarion and keep it up to date as soon as they work properly (hopefully tomorrow).

Re: New installation process

Posted: Thu Jul 03, 2014 3:33 am
by Velisai
@Nitram: On reboot, I get following error message:

Xsession: unable to launch "INSTALL4J_JAVA_HOME=/opt/java/64/jre1.7.0_60" X
session --- "INSTALL4J_JAVA_HOME=/opt/java/64/jre1.7.0_60" not found; falling
back to default session.

Same thing happens with the override variable we set or tried to set. Could be a syntax error, I don't know. The path to Oracle Java is definitely correct, so it should be found.

Then I fired up Synaptic and removed all OpenJDK packages. sudo update-alternatives --config java confirms I only have Oracle Java installed now. As you said, LibreOffice still works, but the Illa installer still gives me the same error message from the original post. So OpenJDK can't be the problem. Hope that helps narrow it down.


To anyone else who'd like to uninstall OpenJDK from their Linux machine for whatever reason. You might want to create a launcher to still be able to run the illarion.jar file without going through the terminal as Oracle Java doesn't seem to be integrated in all the desktop environments available for Linux. The launcher command should be: java -jar [path to your illarion.jar file] For example: java -jar /home/username/Illarion/illarion.jar

Re: New installation process

Posted: Thu Jul 03, 2014 2:52 pm
by Vilarion
Linux users: while the packaged installers (rpm, deb) are broken at the moment, you can use the general Linux installer for your architecture.
Download the .sh file and run it as root. After completing the installation you can run Illarion from your user account by typing "illarion" into a terminal, or by copying a link to your desktop and running that with a double click: cp /opt/Illarion/Illarion.desktop ~/Desktop/

Re: New installation process

Posted: Tue Jul 08, 2014 5:05 am
by Velisai
I tried a reinstall again since the latest update made my version 2.1.15.3 client unusable. Both the .deb package and the .sh don't work for me. The launcher actually starts now, but it doesn't download the client for some reason.

edit: I got the launcher to download via wine, emulating vista or older, but the client crashes immediately after it starts up with a "massive error" message. I'm out of ideas.

Re: New installation process

Posted: Tue Jul 08, 2014 1:21 pm
by Vilarion
We have analyzed the problem and are working on a solution.

Re: New installation process

Posted: Tue Jul 08, 2014 9:47 pm
by Vilarion
Installer version 1.0.0.18 works on my Linux Mint 17 Mate installation, without hacking any environment variables, even with OpenJDK installed (the installer uses its own JRE).

Re: New installation process

Posted: Tue Jul 08, 2014 11:54 pm
by Velisai
The dev client works for me now. Release still stops before downloading. See screenshot.
Thank you very much for the quick fix and all the other work you do here, Vilarion and Nitram.