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 > java jar question

java jar question
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 23, 2001, 02:43 AM
 
I am a beginner so please be patient :-)

I have a simple java program. I am trying to make a .jar archive for downloading so my buddy can get it and see my beautiful work. Somehow it does not work. I have looked thru the java tutorial and most of the docs about jar and still stumped.

I use the command:
jar cvfm [myjarfile] [manifestfile] files

and can make the .jar ok but it does not change the manifest to show where the main class is. My manifest file is a single-line text file with "Main-Class: theclass" so please help. I don't know why it won't work.

Thanks.
     
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 23, 2001, 02:53 AM
 
It is OK thanks. I have fixed it with a little help.
     
   
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 11:15 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