I do not get any error or other things i could report, i do only get no Spark.
check that you have java installed on your system, and that the startup shell scripts are executable/non-modified.
Iām wondering if the latest noobuntu⦠uh, I mean Ubuntu (hehe ) is using Mir? I think Canonical is pushing Mir for some bizzare reason (instead of Wayland)⦠and itās possible the current versions of Java Swing and AWT are expecting X11 instead (and Mir doesnāt have some interface to capture the X11 calls and handle them appropriately).
If so, there wouldnāt be much we could do since this would be a bug in Mir imho, not Java since any new windowing environment should retain backwards compatibility at least to some extent.
Can others test the latest Ubuntu release and possibly confirm?
@Nico perhaps try a āfallbackā mode if there is one to fallback to X11 or something and try running Spark again. Also dig around for some logs from Spark⦠at the very least it should be genearteing a large stacktrace when it refuses to startup (check in ~/.Spark/logs/ )
Dug around the interwebs a little bit ā this is starting to smell like a Mir problemā¦
https://code.google.com/p/java-swing-ayatana/issues/detail?id=19
http://askubuntu.com/questions/349801/running-netbeans-on-ubuntu-13-10-with-xmir -enabled
Bravo Canonical!
@Nico ā some of those posts seem to suggest itās a conflict with Swing and AWT (Javaās built-in GUI toolkits) and Ubuntu running in xmir mode. This seems to suggest there may be some other āmodeā to run 13.10 in, such as using X instead.
Confirming via logs is still needed though.
i checked now ~/.Spark/logs/ but there is nothing in the folder.
About āMIRā, i do not use it, iām using X11 with mate because of my slow graphics card which is not working smoothly with the ubuntu-crap.
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 52.032] X Protocol Version 11, Revision 0
[ 52.032] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
Java is running, because i use SAPGUI for Java which has no problem at all, but ofcourse i do not know if spark is using some APIās which SAPGUI does not.
Any ideas how to get spark to tell me whats going on?
Thanks
Nico
Try at the terminal:
~]# java -version
paste the output here
~$ java -version
java version ā1.7.0_45ā
Java⢠SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot⢠64-Bit Server VM (build 24.45-b08, mixed mode)
Hello there,
Check your error log file in [Spark directory]/logs/error.log. If you have something like that complaining about missing libXtst.so.6, just install i386 version of libxtst6 :
Caused by: java.lang.UnsatisfiedLinkError: [ā¦]/Spark/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
then :
sudo apt-get install libxtst6:i386
and itās done
Running Ubuntu 13.10 64 bits,
java version ā1.8.0-eaā
Java⢠SE Runtime Environment (build 1.8.0-ea-b111)
Java HotSpot⢠64-Bit Server VM (build 25.0-b53, mixed mode).
Hope it will help you.
:~$ /opt/Spark/Spark
:~$ less .Spark/
bin/ logs/ plugins/ resources/ spark.properties user/ xtra/
:~$ less .Spark/logs/
.Spark/logs/ is a directory
:~$ ls -ahl .Spark/logs/
total 8,0K
drwxr-xr-x 2 4,0K Okt 23 08:56 .
drwxr-xr-x 8 4,0K Okt 28 13:16 ā¦
:~$ /opt/Spark/starter
:~$ ls -ahl .Spark/logs/
total 8,0K
drwxr-xr-x 2 4,0K Okt 23 08:56 .
drwxr-xr-x 8 4,0K Okt 28 13:16 ā¦
:~$ sudo apt-get install libxtst6:i386
[sudo] password for :
Reading package lists⦠Done
Building dependency tree
Reading state information⦠Done
libxtst6:i386 is already the newest version.
libxtst6:i386 set to manually installed.
The following package was automatically installed and is no longer required:
libqt4-qt3support
Use āapt-get autoremoveā to remove it.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
nothing changed,ā¦
any idea how to get Spark to give me any error?
Hmmm ok, Can you post the content of your /opt/Spark/logs/error.log ?
/opt/Spark/logs$ cat error.log
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:94)
at org.jivesoftware.launcher.Startup.main(Startup.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.Launcher.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: /opt/Spark/jre/lib/i386/xawt/libmawt.so: libXi.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Unknown Source)
at java.awt.Toolkit.(Unknown Source)
at com.jtattoo.plaf.JTattooUtilities.(Unknown Source)
at com.jtattoo.plaf.AbstractLookAndFeel.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.swing.SwingUtilities.loadSystemClass(Unknown Source)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at org.jivesoftware.Spark.loadLookAndFeel(Spark.java:271)
at org.jivesoftware.Spark.startup(Spark.java:186)
⦠12 more
Ok, it seems libXi.so.6 is missing. This file is contained in libxi6 package. As Spark is searching in /jre/lib/i386, i suppose you need to install libxi6:i386 package
sudo apt-get install libxi6:i386
In Austria we say āKaum mochst as richtig, gehts a gleiā which means āif you do it right, it worksā
Thanks a lot!