Open aabhaanjan opened 7 years ago
No base JDK. Package will use system JRE.
No base JDK. Package will use system JRE.
Creating app bundle: BurnAndTurn in C:\Users\project1\target\installer\bundles
Result application bundle: C:\Users\project1\target\installer\bundles
Installer (.exe) saved to: C:\Users\project1\target\installer\bundles
Bundler MSI Installer skipped because of a configuration problem: Can not find WiX tools (light.exe, candle.exe).
Advice to fix: Download WiX 3.0 or later from http://wix.sf.net and add it to the PATH.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
is this an error of jdk ?
The javapackager tool is telling you that you need to install WiX or InnoSetup before you're able to create installers :)
Actually, I think you might have Inno Setup installed, and hence have an exe installer already in C:\Users\project1\target\installer\bundles. You don't necessarily need the MSI installer.
To be able to debug the run time error you need to provide either the generated installer or your project configuration.
I can't see anything immediately wrong here, can you also provide the installer?
I'm getting this error too. productionApp jar and fxlauncher.jar are in the same folder (target/app) with al the dependencies
Error during Create Application phase java.lang.ClassNotFoundException: com.project.clients.production.ProductionApp at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at fxlauncher.AbstractLauncher.createApplicationEnvironment(AbstractLauncher.java:170) at fxlauncher.Launcher.lambda$start$0(Launcher.java:149) at java.lang.Thread.run(Thread.java:748)
Hi @edvin, I'm getting the same error as well using the OSX installer found here: https://tix.innova-red.net/downloads/assets/tix-time-client-0.1.0-SNAPSHOT.dmg
java.lang.ClassNotFoundException: com.github.tix_measurements.time.client.Main at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at fxlauncher.AbstractLauncher.createApplicationEnvironment(AbstractLauncher.java:170) at fxlauncher.Launcher.lambda$start$0(Launcher.java:149) at java.lang.Thread.run(Thread.java:745)
Here's the repo: tix-time-client
Before this error you should have gotten another error which will most probably show you what the real issue is :) Can you post the complete output if you run the app from the command line?
I forgot to add, this error appears inside an error window only when executing the .app file, NOT when executing .jar file (using the jar works perfectly). And the error window starts with "Error during Create Application phase".
I don't have a Mac atm, but I cloned the tix-time-client repo and did gradle generateNativeInstaller
and then ran the installer exe. It installed the app perfectly and started it without issues. Is the issue only Mac specific perhaps?
Yes, it's definitely Mac specific.
Hi In my system it is working fine when trying to install in other system it is throwing error: Error during create application phase java.lang.ClassNotFoundException: com.lab.Main at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at fxlauncher.Launcher.createApplication(Launcher.java:179) at fxlauncher.Launcher.lambda$start$0(Launcher.java:85) at java.lang.Thread.run(Thread.java:745)