Results 1 to 2 of 2

Thread: Using JBuilder

  1. #1
    carl is offline Member
    Join Date
    Jul 2007
    Posts
    35
    Rep Power
    0

    Default Using JBuilder

    Hi, I use JBuilder to create a package then I create a class, easy as it sound.

    Right now, I don't have Jbuilder, I am using a DOS Java compiler, how do I create java package?

    Thanks.

  2. #2
    lenny is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    Well a package is really nothing more than compiling your source files in a directory (make sure you refer to it in your class path) . The name of the directory will be the name of your package. And of course at the top of each file you will declare it to be in that package like so:

    Java Code:
    package directoryname;
    and then in your main classes you would import the package
    Java Code:
    import directoryname.*;

Similar Threads

  1. Decent Book For JBuilder 2006
    By MayheM in forum New To Java
    Replies: 2
    Last Post: 08-12-2008, 01:33 PM
  2. Starts with JBuilder
    By mathias in forum Other IDEs
    Replies: 1
    Last Post: 08-07-2007, 06:50 AM
  3. Jbuilder?
    By Nick15 in forum New To Java
    Replies: 3
    Last Post: 05-11-2007, 12:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •