java


How to package non-JavaFX application as Native installer with Maven


I'm trying to package a Java application with maven as a Native installer. So far I have success with doing this with jfx:native for a GUI app. However this time I am trying to build a CLI application with installer.
Here's my code:
public class HelloWorld {
public static void main(String... args){
Cli.CliBuilder<Runnable> builder = Cli.<Runnable>builder("helloworld")
.withDescription("the hello toolbox (beta)")
.withDefaultCommand(Help.class)
.withCommand(Help.class);
Cli<Runnable> hwParser = builder.build();
hwParser.parse(args).run();
}
}
Now doing the same with this app, running jfx:native does make a installer package, the problem is when the output exe is installed and executed, nothing happens, while running jfx:run build does output something in the console. What could be wrong in my build?

Related Links

Add to cart Servlet - how it works
JBoss, IntelliJ IDEA, deploy exploded ear, subdeployment doesn't work
JavaEE WebProject request attribute or JPA entity seems to be cached
how to locate error data in Bulk Insert?
how to publish my jsp project on internet using tomcat,mysql and jdbc driver
Run multiple test using maven command with testing.xml
Proper way to extend ParseObject and have a generic query factory
How can I remove button?
getImage() throws exception on commandline but not in eclipse?
Applet html embedding and I can't seem to locate the .class from my git repo
Permission denied when uploading a video to Facebook in Android
search text for strings in between strings android
detect hashtag and handles in a text under Android
Parallelization of map reduce
How can I launch a new Activity to a Fragment that is not the initial fragment?
Convert Base64 into PDF without converting it into an Image in JAVA

Categories

HOME
osgi
testng
listview
netsuite
cookies
pycharm
platform-builder
adb
programming-languages
twitter-bootstrap-4
c#-2.0
ravendb
append
elasticsearch-hadoop
export-to-csv
static-libraries
flask-wtforms
django-admin
pugjs
reactive-cocoa
immutable.js
tapestry
microsoft-r
numerical-methods
dynamic-featured-image
poltergeist
url-scheme
kannel
elasticsearch-ruby
libuv
stormpath
karaf
google-qpx-express-api
fog
catch-all
usbserial
openoffice.org
android-kernel
normal-distribution
mmenu
suricata
simplexml
scaffold
twitch
webix-treetable
graphenedb
grid.mvc
arena-simulation
outlook-2013
youcompleteme
logparser
tactic
pg-dump
color-profile
minimization
smart-table
nested-sets
grails-tomcat-plugin
database-optimization
plottable.js
master-slave
whois
bgp
rvest
hexdump
ipconfig
freelancer.com-api
myo
nsight
truevault
dia
winddk
android-nested-fragment
phalanger
applescript-objc
yorick
message-driven-bean
oam
access-rights
cdc
aqtime
quartz-graphics
opcache
eclipse-memory-analyzer
shellexecute
buster.js
drools-planner
android-hardware
kyotocabinet
trusted
cisco-jtapi
manchester-syntax
newtonscript
objective-c-2.0
ticoredatasync
regsvr32
custom-backend
boost-filesystem
nsobject
mod-auth
genshi
locate
android-sdk-2.1
html-input
multi-tier
webkit.net
audio-capture
iweb
swing-app-framework
sector
django-notification

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App