• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie Q: Building .class instead of .jar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Q: Building .class instead of .jar


  • Subject: Re: Newbie Q: Building .class instead of .jar
  • From: Prachi Gauriar <email@hidden>
  • Date: Fri, 30 Jul 2004 09:54:44 -0500

On Jul 30, 2004, at 9:23 AM, Eric Azarcon wrote:

I don't see a New Project option for a .class Java tool. What do I need to
change in my configuration to create a .class tool instead of .jar?

(Apologies, but I'm using a beta of Xcode, so I'm going to have to be vague for fear of breaking the NDA). Double-click on the target in Xcode. A window should come up with a lot of settings in it. Look for Java Archive Settings or something like that. There you will find something to let you switch from a JAR to a .class (sometimes called Class Hierarchy).


Once you do this, you also have to modify the arguments that the java executable gets when launched. Go the Java executable and double-click. Find the Arguments list, and disable the -jar "TargetName.jar" argument. Add a new argument for the main class you want to use. You might also need to change the executable's working directory so that it points to the appropriate location.

-Prachi
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Newbie Q: Building .class instead of .jar
      • From: Eric Azarcon <email@hidden>
References: 
 >Newbie Q: Building .class instead of .jar (From: Eric Azarcon <email@hidden>)

  • Prev by Date: Newbie Q: Building .class instead of .jar
  • Next by Date: Re: Newbie Q: Building .class instead of .jar
  • Previous by thread: Newbie Q: Building .class instead of .jar
  • Next by thread: Re: Newbie Q: Building .class instead of .jar
  • Index(es):
    • Date
    • Thread