cross platform - How can I distribute my java applications for user ease? -


i'm confused - it's pretty wierd because know 2 programming langauges can't figure out simple this... i've been looking ages can't seem head around it. see, long time i've been writting in autoit, , i've written 2 programs in due go on sale soon! never meant out long time though (kind of windows vista), lately i've been learning java success. i've wrote few very simple applications in eclipse while going through java tutorials! i'm ready transfer programs java, gain me wider market due java's cross-platform ability, never anticipated distribution complex. first problem have come across ease of use on multiple os's: don't want customers have deal jre or multiple files, need double click solution work on mac, windows, linux, etc complete computer newbie's can launch software! secondly, not problem not sure how do. including files in software package need stay seperate program others compiled, suppose can worked around installer - easier! , other proram made stand - alone can work on usb sticks (which designed for), now, how suppose launch on multiple opearating systems when it's plugged in without hasle?

update :: forgot add :: concerns security

i have read , personal experience know: how easy decompile .jar, , if there not protected read source code! know obfuscation , know i'll have legal worries me. point of view user may wrong first impretion of software.

so conclude in 1 sentace (please read above still): need able let people use software written in java double clicking e.g. made in autoit - standard application i.e *.exe

thanks in advance

there 2 routes can take without needing software involved.

the first make executable jar (java archive) file. java automatically associates .jar extension java interpreter on systems. jar's manifest file tell which class launch when double-click it.

the second, less recommended route, make java web start application, jnlp launcher file. aimed more @ applications distributed web sites.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -