Hello all, I am still fairly new to the Openfire/Spark solutions. And am totally impressed. I do have a question after going through posts through the ignite forums I still have not yet found a simple solution to my problem.
How does one take the spark.jar file and recompile it into a new spark.exe file? Or is my thinking totally off on this?
Using: Openfire 3.7.1 and Spark 2.6.3
I have already installed Install4j and have successfully created an installer, which works out perfectly (on windows 7 64bit). But now I would like to change the Spark.exe file to to have a different name/icon as to be more inline with company branding. Steps I have taken.
-
I have changed out the files/images in the spark.jar/images folder
-
Made changes to the default.properties file
3. Skipped Couldn’t figure out how to compile the new Spark.exe (I have attempted with exe4j, but no luck)
ava.lang.NoClassDefFoundError: com/install4j/api/launcher/StartupNotification$Listener
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jivesoftware.launcher.Startup.start(Startup.java:84)
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.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.install4j.api.launcher.StartupNotification$Listener
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)
… 13 more
I assumed maybe I didn’t do something right in exe4j
- Built an installer using install4j.
Any help would definitely be appreciated, let me know if I can/should provide anymore details