Spark 2.7.7, Ubuntu Gnome 16.04

Just reinstalled my Ubuntu 16.04 and after that I cant run spark, Im getting the next message:

“Failed to change to directory ‘/opt/Spark’ No such file or directory”

Any clue?

I tried to run as a terminal command but send this lines:

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:498)

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(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)

at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)

Caused by: java.lang.UnsatisfiedLinkError: /opt/Spark/jre/lib/i386/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)

at java.lang.Runtime.load0(Runtime.java:809)

at java.lang.System.load(System.java:1086)

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)

at java.lang.Runtime.loadLibrary0(Runtime.java:870)

at java.lang.System.loadLibrary(System.java:1122)

at java.awt.Toolkit$3.run(Toolkit.java:1636)

at java.awt.Toolkit$3.run(Toolkit.java:1634)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)

at java.awt.Toolkit.(Toolkit.java:1668)

at com.jtattoo.plaf.JTattooUtilities.(JTattooUtilities.java:44)

at com.jtattoo.plaf.AbstractLookAndFeel.(AbstractLookAndFeel.java:42)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:348)

at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1874)

at javax.swing.UIManager.setLookAndFeel(UIManager.java:582)

at org.jivesoftware.Spark.loadLookAndFeel(Spark.java:261)

at org.jivesoftware.Spark.startup(Spark.java:170)

… 12 more

looks like your missing a library

try

apt-get install libxrender1:i386