New installation process

If you found a bug in Illarion or need help ask here. / Wenn Du einen Fehler in Illarion gefunden hast oder Hilfe benötigst, frage hier.

Moderator: Developers

Post Reply
User avatar
Velisai
Posts: 338
Joined: Wed May 13, 2009 3:23 pm
Location: where pigs can fly

New installation process

Post 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)
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Re: New installation process

Post 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
User avatar
Velisai
Posts: 338
Joined: Wed May 13, 2009 3:23 pm
Location: where pigs can fly

Re: New installation process

Post 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.
Teflon
Posts: 938
Joined: Wed Oct 21, 2009 12:53 pm

Re: New installation process

Post 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
User avatar
Vilarion
Developer
Posts: 2008
Joined: Sun Aug 15, 2004 8:10 pm
Contact:

Re: New installation process

Post 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).
User avatar
Velisai
Posts: 338
Joined: Wed May 13, 2009 3:23 pm
Location: where pigs can fly

Re: New installation process

Post 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
User avatar
Vilarion
Developer
Posts: 2008
Joined: Sun Aug 15, 2004 8:10 pm
Contact:

Re: New installation process

Post 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/
User avatar
Velisai
Posts: 338
Joined: Wed May 13, 2009 3:23 pm
Location: where pigs can fly

Re: New installation process

Post 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.
User avatar
Vilarion
Developer
Posts: 2008
Joined: Sun Aug 15, 2004 8:10 pm
Contact:

Re: New installation process

Post by Vilarion »

We have analyzed the problem and are working on a solution.
User avatar
Vilarion
Developer
Posts: 2008
Joined: Sun Aug 15, 2004 8:10 pm
Contact:

Re: New installation process

Post 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).
User avatar
Velisai
Posts: 338
Joined: Wed May 13, 2009 3:23 pm
Location: where pigs can fly

Re: New installation process

Post 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.
Attachments
launcher.png
launcher.png (145.79 KiB) Viewed 3414 times
Post Reply