Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Jar Bundler

Jar Bundler
Thread Tools
oni
Forum Regular
Join Date: Oct 2002
Location: Palmy North, New Zealand
Status: Offline
Reply With Quote
Sep 14, 2004, 06:47 PM
 
Hi, I am having trouble using the apple provided jar bundler and also a jar bundler for use with ant.
I have a java project for a software engineering project. I would like to build it into a OS X .app but am having trouble using either of these tools. Does anyone have a step by step guide to using them?
From what I have read it should just work, but it doesnt seem to launch the main class when i double click the .app.

Any ideas or help appreciated
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Sep 14, 2004, 06:57 PM
 
did you specify the main class in the manifest?
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
oni  (op)
Forum Regular
Join Date: Oct 2002
Location: Palmy North, New Zealand
Status: Offline
Reply With Quote
Sep 14, 2004, 07:22 PM
 
Yes the main class is set in the jar file that ant builds and looks to be set in the .app file, the jar runs and the .app does not. When using the jar bundler application what I am doing is selecting the main .class file from the folder heirarchy then selecting all the other .class files in the "class path and files tab" is this the right thing to do?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:14 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2