Monday, March 19, 2007

In the last couple of week amongst other things, one thing I have been frantically trying is to package my java application for deployment. I have a webstart version
for my app which I have made available from java.net. But, I want a exe version ready for my product which is in beta. So I tried various installers but Iam yet to find one that suits my needs. And Iam not just looking for the free ones which I know may not have all the necessary features. I haven't been able to get the evaluation download of even the paid ones to fulfill my needs. The installers I have tried include:

1. advanced installer - $199
2. launch4j - free
3. jshrink - $67
4. native4j - $45
5. lzpack - free
6. macrovision installshield - $449

Let me explain my requirements clearly which I think would be the same as anyone else in my position. You have built something putting in your hard effort and would like to guard yourself against unauthorized copying. So I would like to obfuscate my application. I have tried jshrink, porguard and recently allatori obfuscators. Next I would like to package my application classes in one jar file and specify the Main-class in the manifest file. The layout of my application is as follows:

com ----> root of application classes
resources --- used by application and contains icons, resource bundles
themepacks.zip - for my look and feel
META-INF - contains manifest file
lib ----> contains jar files used by my application


What I would like to do is package everything in one exe file for distribution. Is that too much to ask. Many of the installers I tried like native4j, launch4j cannot do this directly. They expect me to put all my classes and jar files in one big jar file and present it to them as input so they can do the packaging. This is easier said than done. There's more than 1 approach to do this none of which is satisfactory.

1. unjar all the jar files in a temporary directory and jar them al back into 1 big jar file. This doesn't work as many jar files' manifest contains signature information which prevent this approach from working

2. package everything as one jar file retaining the library jars as is. The problem here is the Class-path entry in your application jar's manigest only scans the filesystem. It does not check the jar file itself to see if the jars are in the classpath.

3. Find an installer that hides the details and packages everything nicely for you - Again very difficult unless you have the big bucks to buy a license for commercial installers like zeroG or exe4j.

The best promise is approach 2 and 3 but comes with the problems I have mentioned above. The packaging everything into 1 jar problem is addressed by the one-jar project hosted on sourceforge. But it doesn't seem to work either. Looks like there's a plugin for eclipse which I have downloaded but haven't tried. Iam hoping that this will do the trick. The other options include:

1. look more into izpack which seems to do everything I want albeit in a not so very starightforward manner
2. Try again with the installers that offer some promise atleast
3. Find some vendor who offers support and helps sort out all my troubles.

The cost is also a factor and I would like to get this done for as little as possible. Comments are welcome from people who know of a solution to this problem. I promise to give them a free license to my product if they help me sort this out.

Update: Since posting this blog, I went back to further tinker with Advanced Installer as I distinctly remembered having configured it correctly once. As luck would have it, I was able to get it working again. Looks like AI has a problem with jar files. When I supplied it with my folders expanded, AI was able to generate the setup file. But then AI costs $199 whereas there are cheaper alternatives around. Depending on available time and other factors, I may explore these alternatives someday.

12 comments:

Anonymous said...

[url=http://www.ile-maurice.com/forum/members/wetter-vorhersage.html][b]www wetter com[/b][/url]

[url=http://www.ile-maurice.com/forum/members/wetter-vorhersage.html][b]wetter radar[b][/url]

Anonymous said...

[url=http://www.ile-maurice.com/forum/members/wetter-vorhersage.html]online wetter[/url]

[url=http://www.ile-maurice.com/forum/members/wetter-vorhersage.html]in wetter[/url]

Anonymous said...

Hello.

A banks is a financial institution that accepts deposits and channels those deposits into lending activities. Banks primarily provide financial services to customers while enriching investors. Government restrictions on financial activities by bank vary over time and location. Banks are important players in financial markets and offer services such as investment funds and loans. In some countries such as Germany, banks have historically owned major stakes in industrial corporations while in other countries such as the United States banks are prohibited from owning non-financial companies. In Japan, banks are usually the nexus of a cross-share holding entity known as the keiretsu. In France, bancassurance is prevalent, as most banks offer insurance services (and now real estate services) to their clients.

The level of government regulation of the banking industry varies widely, with countries such as Iceland, having relatively light regulation of the banking sector, and countries such as China having a wide variety of regulations but no systematic process that can be followed typical of a communist system.[url=http://projectcontrol.v3host.nl]CLICK HERE[/url]

Anonymous said...

Do You interesting how to [b]Buy Viagra per pill[/b]? You can find below...
[size=10]>>>[url=http://listita.info/go.php?sid=1][b]Buy Viagra per pill[/b][/url]<<<[/size]

[URL=http://imgwebsearch.com/30269/link/viagra%2C%20tramadol%2C%20zithromax%2C%20carisoprodol%2C%20buy%20cialis/1_valentine3.html][IMG]http://imgwebsearch.com/30269/img0/viagra%2C%20tramadol%2C%20zithromax%2C%20carisoprodol%2C%20buy%20cialis/1_valentine3.png[/IMG][/URL]
[URL=http://imgwebsearch.com/30269/link/buy%20viagra/3_headsex1.html][IMG]http://imgwebsearch.com/30269/img0/buy%20viagra/3_headsex1.png[/IMG][/URL]
[b]Bonus Policy[/b]
Order 3 or more products and get free Regular Airmail shipping!
Free Regular Airmail shipping for orders starting with $200.00!

Free insurance (guaranteed reshipment if delivery failed) for orders starting with $300.00!
[b]Description[/b]

Generic Viagra (sildenafil citrate; brand names include: Aphrodil / Edegra / Erasmo / Penegra / Revatio / Supra / Zwagra) is an effective treatment for erectile dysfunction regardless of the cause or duration of the problem or the age of the patient.
Sildenafil Citrate is the active ingredient used to treat erectile dysfunction (impotence) in men. It can help men who have erectile dysfunction get and sustain an erection when they are sexually excited.
Generic Viagra is manufactured in accordance with World Health Organization standards and guidelines (WHO-GMP). Also you can find on our sites.
Generic [url=http://viagra.deutafilm.ru]buy generic viagra online in canada[/url] is made with thorough reverse engineering for the sildenafil citrate molecule - a totally different process of making sildenafil and its reaction. That is why it takes effect in 15 minutes compared to other drugs which take 30-40 minutes to take effect.
[b]buy viagra for less
viagra water
Viagra Uk Nhs
female viagra alternate
paypal to buy viagra
purchase viagra in australia
viagra sideeffects
[/b]
Even in the most sexually liberated and self-satisfied of nations, many people still yearn to burn more, to feel ready for bedding no matter what the clock says and to desire their partner of 23 years as much as they did when their love was brand new.
The market is saturated with books on how to revive a flagging libido or spice up monotonous sex, and sex therapists say “lack of desire” is one of the most common complaints they hear from patients, particularly women.

Anonymous said...

burn the fat -
carb rotation diet -
chopper tattoo -
conversationalhypnosis -
conversational hypnosis -
cure for tinnitus -
debt free in three -
driver checker -
duplicate file cleaner -
earth4energy -
earth 4 energy -
easy member pro -
easy tv soft -
eatstopeat -
eat stop eat -
end your tinnitus -
fap winner -
fat burning furnace -
fatloss4idiots -
fat loss 4 idiots -
final sync -
final uninstaller -
firewall gold -
fitness model program -
fit yummy yummy -
flatten your abs -
forex auto money -
forex auto pilot -
forex confidante -
game tester guide -
governmentregistry -
government registry -
healthy urban kitchen -
higher faster sports -

Anonymous said...

homebrew installer -
homemadeenergy -
home made energy -
i am big brother -
instant profit machine -
i want a teaching job -
joyful tomato -
lose man boobs -
lower body make over -
macro virus -
magic of making up -
make money taking surveys -
malware bot -
maternityacupressure -
maternity acupressure -
meet your sweet -
moles warts removal -
money siphon system -
muscle gaining secrets -
my airfare secrets -
my miracle loans -
my out of control teen -
natural cancer treatments -
ovarian cyst cures -
pc optimizer pro -
piano for all -
prevent sweating -
privacy control -
publicrecordspro -
public records pro -
pvp bible -
quick article pro -
quit smoking today -
reg defense -

Anonymous said...

reg genie -
registry easy -
registry genius -
registry smart -
registry winner -
registry winner download -
reg tool -
relationship headquarters -
reverse mobile -
richard mackenzie direct -
rocket japanese -
rotator cuff training -
satellite tv pc master -
secrets book -
spy no more -
spyware cease -
survey scout -
the bad breath report -
thedietsolutionprogram -
the diet solution program -
the guru assassin -
the power pause -
tmj help -
tonsil stones remedies -
turbulence training -
two minute profits -
vincedelmontefitness -
vince del monte fitness -
warp speed fat loss -
web traffic machines -
wedding speech 4u -
wind plans -
xp repair pro -
your fun business -

Anonymous said...

[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra libido dick [/url]

[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]shippingfree levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]side-efects levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra order online [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]taking levitra and alcohol [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]how to get levitra hmo [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]anger and levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra being prescribedfor inmate [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra free shipping [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]can levitra help with zoloft efects [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]india and levitra men [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra pay pal [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]air order travel levitra videos [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra levitra online buy levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra t commercials [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra tomatoes [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra quick prescription [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]epinions levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]ingredient in levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra bom [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra how often [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra cheapest [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]women taking levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra ukforum [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra discoun [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra free levitra find charles edinburgh [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra discount drug [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra inurl [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]online sales levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]online sales levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitra cheapest [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]levitracialis generic levitra levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]money order levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]can i make generic levitra [/url]
[url=http://www.atv.com/forum/showthread.php?p=26410#post26410]health health levitra levitra woman woman [/url]

Anonymous said...

[b][url=http://www.saleuggbootsstore.co.uk/]uggs uk[/url][/b] Early from the seventeenth century, Dutch settlers, who arrived to North The usa to track down a brand new paradise, begun at The big apple for a superb site. Presently, The big apple however appears much like aged time design dollars. In straightforward fact, ahead of Globe War II, Big apple designers wound up even now slavishly imitating the excellent masters of Europe, Paris and London.

[b][url=http://www.shoesonlinesales.co.uk/]louis vuitton shoes[/url][/b] Seductively classy and glossy the Shoreham not only guarantees a fascinating visible experience its 174 luxuriously appointed and tech-savvy guestrooms and suites guarantee the very best conventional of comfort and ease advantage and amenities all of which are complimented by an attentive welcoming personnel. The lodge encompasses a new restaurant lounge highlighted by colourful spectacular Residing Glass partitions and an epicurean menu a state-of-the-art cardiovascular techno-gym conditioning center equipped by Technogym and its possess artwork gallery showcasing authentic works from digital interactive and classic artists. Remarkable meeting areas including an Atrium Loft Penthouse Suite with impressive views of your NYC skyline are available for get-togethers enterprise gatherings or any exclusive occasion.
I would instead buy a real compact Louis Vuitton bag then have got a phony nicer or larger a person. If I had a fake a single, I would always know inside of that's was bogus which would always trouble me. Louis Vuitton is good but so around completed. This listing consists of a stable foundation towards earning your conferences efficient. Now, it's your accountability to just take this data and make use of it. Get it done on your business, your group, yourself, and get it done for the good name of meetings everywhere! Adhere to these seven recommendations and when you fulfill to layout a horse, you are going to close up having a horse, not a camel!.

[b][url=http://www.salelouisvuittonbagsus.com/]www.salelouisvuittonbagsus.com[/url][/b] Following utilizing these diagnostic checks to make a diagnosis with regards to your head injury, your health practitioner will then determine upon a program of treatment. There are plenty of variables that guide to this determination apart from the analysis. The physician may also consider into account your age and health care heritage as well as your tolerance for many drugs and solutions.
Have an interest within your staff. Really don't be so specialist together with your workers which you you should not even know about their families, hobbies, goals, passions, or maybe in which their table is. Delve into their character deeper by way of realizing the items they adore to carry out.

[b][url=http://www.cheapuggbootssalenow.co.uk/]cheap uggs[/url][/b] These bags have have manufactured their method to the manner stream following important gals and royalties have detected the exclusive top quality that only the patterns of Louis Vuitton can muster and his line can execute with mastery that no other designers can duplicate or simply match. Louis Vuitton purses are actually so stylish that immediately after Hollywood stars are actually sighted clutching among the list of types, the manner line has expanded in Europe , US and in terms of Australia. In truth, Asian superstars also are about the frenzy when it comes to shopping for these designer bags.

Anonymous said...

Hello to the entirety everybody on this large forum. Offer hospitality to me offer myself. I am doktor and i am contest this website :
fue teknigi
Waiting after all these friends.
Regards

Anonymous said...

http://louisvuittontaschen.citationguide.net louis vuitton purses louis vuitton wallet price dubai

梁爵 said...

2020.05.29酒店小姐的基本介紹跟工作內容酒店經紀梁曉尊教你保護自己比賺錢還重要
我在酒店上班的日子酒店上班安全最重要
酒店經紀梁小尊又要開講啦!許多來找我梁曉尊面試應徵工作的求職者,在詢問不敢來酒店上班-酒店打工的原因工作相關資訊時,常遺漏了最重要的事情,就是在酒店上班有那些是必須要注意的地方。相信有許多人在網路或報紙上求職時酒店上班-酒店兼職-兼差如何達成人生的第一桶金,常看到很多廣告內容都強調薪水有多少,卻忘了告訴想到酒店工作的各位,酒店這個環境有那些是要注意的,這裡我酒店經紀梁曉尊就提供一些相關安全資訊給大家。
酒店經紀教妳選擇酒店兼差不是一個複雜的工作環境?酒店工作內容與環境
就梁小尊長期觀察酒店這個環境,只要酒店內部裝潢明亮看起來乾淨整潔,這樣的酒店工作內容幾乎都是十分單純,穿著小禮服或是便服的方式坐檯,工作內容都是陪客人喝酒、唱歌、聊天以及做些桌面服務(整理桌面,保持清潔)這一方面的基本互動。很多玩的比較瘋的酒店內部裝潢普遍昏暗、陳舊及髒亂且常會飄有異味。如果您希望的工作內容相較單純些的話,可依照上述的方式做一個初步判斷。
酒店經紀梁曉尊教妳出場如何自保職場須知 【酒店PT 】
在我們這裡工作的公關面對出場問題有絕對選擇權。但單純出場陪客人去續攤或是約個小會是在所難免的,畢竟在酒店上班是要營造出與客人有如戀愛的感覺。當然公關都要先觀察客人在包廂與自已的互動,以及觀察客人酒後的行為,做為是否要跟客人出場的判斷。當然客人在詢問公關要不要出場的時候,公關必須詢問客人出場要去的地點,以及有無其他同行友人,最後要再與幹部回報與確認,如此才能大幅降低出場的危險。但難免有些客人說要出場的地點跟實際去的地點不同。例如:客人說要去吃消夜結果車子開到汽車旅館或是住家(私人場所),如果遇到這種狀況,在客人把車停靠在汽車旅館入口的時候,請直接當櫃檯小姐的面前先行下車,並直接回報店家行政與幹部,同時店家行政也會立即連絡酒店經紀人回報狀況,其餘的事情都交由公司處理即可。