powered by Jive Software

Compile and publish

Hi all,

I’m trying to make the Spark code project work, I’m using IntelliJ IDEA, I already got the project running on IDE Debug, but when I try run on windows console I got the following error:

C:\Spark\core\target\classes>if AMD64 == x86 (rem 32 bit ) else (set SPARK64=64 )
C:\Spark\core\target\classes>if “” == “-debug” goto debug
C:\Spark\core\target\classes>if “” == “-noconsole” goto noconsole

C:\Spark\core\target\classes>java -Dappdir=… -cp …/lib/*;…/lib/windows64/jdic.jar;…/resources;…/lib/windows64; -Djava.library.path="…/lib/windows64/" org.jivesoftware.launcher.Startup
Exception in thread “main” java.lang.NoClassDefFoundError: com/install4j/api/launcher/StartupNotification$Listener
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructor0(Class.java:3075)
at java.lang.Class.newInstance(Class.java:412)
at org.jivesoftware.launcher.Startup.start(Startup.java:78)
at org.jivesoftware.launcher.Startup.main(Startup.java:38)
Caused by: java.lang.ClassNotFoundException: com.install4j.api.launcher.StartupNotification$Listener
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 6 more

C:\Spark\core\target\classes>goto end

I’m out of programming in Java for a long time, and I’m not seeing what is the error, could someone help me?

When I go to Startup.java, and run on IDE the application opens but with some encoding problems, so I wanna try first run on Windows to check what can be…

1 Like