Comments (2)
Hi Russ,
thanks to you for helpìng to improve JavaPackager!Shouldn't the main class be
com.starfishmedical.sfdq.app.SfdqGui
instead ofcom.company1.app.SfdqGui
? (I don't know if you tried to anonymize your message, and your class name is right)
Ha ha! You are correct on both accounts. The class name was incorrect in the pom file and I tried and failed completely to anonymize my message. I knew I was going to stuff that up.
Although the failure is another, you don't have to directly run the executable JAR (
SmartCableTool-0.1.13-SNAPSHOT-runnable.jar
) from thetarget
directory:C:\Users\rhaley.SPE\starfish\Sfdq_Java_App_39789\target> java -jar .\SmartCableTool-0.1.13-SNAPSHOT-runnable.jarbecause it will look for dependencies in the
libs
directory, which is not there, but in the generatedtarget\SmartCableTool
directory. This directory contains your application as it will be installed on the client. Anyway, you can copy or move the runnable JAR to this folder (target\SmartCableTool
) and run it from there.If a wrong class name is not the problem, you can change
headerType
property toconsole
and it will print any message when running your EXE (target\SmartCableTool\SmartCableTool.exe
). Maybe this will give us some clue.
That's great advice. Perhaps that tidbit could be added to the headerType configuration description in docs/windows-specific-properties.md?
Thank you for your time, your patience in solving my self-inflicted errors is greatly appreciated.
from javapackager.
Hi Russ,
thanks to you for helpìng to improve JavaPackager!
Shouldn't the main class be com.starfishmedical.sfdq.app.SfdqGui
instead of com.company1.app.SfdqGui
? (I don't know if you tried to anonymize your message, and your class name is right)
Although the failure is another, you don't have to directly run the executable JAR (SmartCableTool-0.1.13-SNAPSHOT-runnable.jar
) from the target
directory:
C:\Users\rhaley.SPE\starfish\Sfdq_Java_App_39789\target> java -jar .\SmartCableTool-0.1.13-SNAPSHOT-runnable.jar
because it will look for dependencies in the libs
directory, which is not there, but in the generated target\SmartCableTool
directory. This directory contains your application as it will be installed on the client. Anyway, you can copy or move the runnable JAR to this folder (target\SmartCableTool
) and run it from there.
If a wrong class name is not the problem, you can change headerType
property to console
and it will print any message when running your EXE (target\SmartCableTool\SmartCableTool.exe
). Maybe this will give us some clue.
from javapackager.
Related Issues (20)
- After turning on administrator Required, there is no response after entering the password when starting under mac. HOT 14
- With "org.apache.poi" in my project, there is always "module not found" error occured HOT 17
- How to exclude certain jars from copyDependencies task (duplicate handling strategy) HOT 9
- mis/exe installation package custom installation path HOT 3
- Fat Jar doesn't seem to work as expected HOT 13
- How to make a clean terminal app for MacOS? HOT 5
- How can I set the singleInstance property of launch4j through a plugin HOT 3
- About GraalVM HOT 2
- when I try tro execute the .exe file, it repots "The application requires a java Runtime Environment" HOT 21
- How can I package for macOS with the demo ? https://github.com/fvarrui/JavaPackager/issues/409 HOT 1
- Erro “require java runtime environment......” in 1.7.6-SNAPSHOT HOT 2
- Question (or bug) about PKCS11 keystore type HOT 13
- How to keep old data files when upgrading? HOT 10
- Resource loading exception HOT 5
- javapackager packaging and security HOT 1
- Plugin searches for some library `tool.jar` on Mac under hard coded, non-existing path and fails right away HOT 12
- I need help about that HOT 1
- Path resolution causes bundled jre to not be found on linux when building from windows HOT 15
- Incomplete set of modules for customized JRE HOT 4
- Duplicate symbol 'File:default_local.policy' found. This typically means that an Id is duplicated. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javapackager.