3 Replies - 1590 Views - Last Post: 20 March 2013 - 12:15 PM Rate Topic: -----

#1 hwoarang69  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 171
  • Joined: 23-October 12

create jar file in mac

Posted 19 March 2013 - 10:49 AM

i have a project and i am trying to make it to jar files so i can run it from anywhere. problem is that i am trying for 3 weeks and its not working for me. i tried look up online but nothing works.

if i send you my project can some one please make it to runable jar file? i cant attach my project here bc it too large. let me know if you can help me out and i can email you the project.

thanks

This post has been edited by hwoarang69: 19 March 2013 - 04:26 PM

Is This A Good Question/Topic? 0
  • +

Replies To: create jar file in mac

#2 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 822
  • View blog
  • Posts: 2,529
  • Joined: 29-July 11

Re: create jar file in mac

Posted 19 March 2013 - 02:02 PM

Nope. It's all the same. In order for there to be anything populated under the "launch configuration" drop down, you need to have launched the application at least once. It does not sound like you did. When you do that, it should show up there. In any event, I don't want to get into a back and forth about it, because it may be something not worth pursuing, time wise. You could always create the jar at the command line, or use another ide like Netbeans, which is probably the easiest ide in the java world.
Was This Post Helpful? 0
  • +
  • -

#3 hwoarang69  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 171
  • Joined: 23-October 12

Re: create jar file in mac

Posted 20 March 2013 - 11:33 AM

how to create a Manifest.txt

Main-Class: Main
Class-Path: test.jar





1st line name of my Main class
2nd line is name of jar file?
3rd line enter
4th line enter

is this sound right??

*Edited: Note that the code tags removed the 2 blank lines at the end
You need at least one of them

This post has been edited by pbl: 20 March 2013 - 01:47 PM

Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10397
  • View blog
  • Posts: 38,465
  • Joined: 27-December 08

Re: create jar file in mac

Posted 20 March 2013 - 12:15 PM

These seem to be related threads, so I'm going to merge them.

Have you checked the Eclipse docs?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1