Results 1 to 3 of 3
  1. #1
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    439
    Rep Power
    6

    Default Regarding package

    Hello TO all.

    I have a doubt about package.
    I am using jdk1.6.0_11 and windows.My source file is tata.java
    When i compile the tata.java under the package such car.nano .The class tata is created at which the source is not in car\nano.
    If i use any IDE like Jcreator,i can get class under car/nano.
    but with out IDE,Using Command prompt i couldn't get it. why?

    What should i do for that?
    Mak
    (Living @ Virtual World)

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default

    Multiple topics cross posted here and on the Sun forums. This one's shallowly disguised by posting different example packages on the two sites.
    New To Java - Regarding Package

    Swing - Netbeans GUI Design?
    NetBeans Design?

    New To Java - Is Interface only an alternative on for mutiple inheritance?
    Interface?

    db
    Last edited by DarrylBurke; 03-24-2009 at 05:23 PM.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Thanks for the warning Darryl. I answered him in the Sun fora. Lesson learned.
    Last edited by Fubarable; 03-24-2009 at 05:51 PM.

Similar Threads

  1. package mj does not exist
    By PzK in forum New To Java
    Replies: 8
    Last Post: 12-03-2008, 10:30 PM
  2. Problem With Package
    By acp26b in forum New To Java
    Replies: 3
    Last Post: 07-14-2008, 05:58 PM
  3. get classes of a certain package
    By ashraf shaban in forum New To Java
    Replies: 4
    Last Post: 07-08-2008, 07:20 PM
  4. JXL Package
    By gaya3 in forum Java Servlet
    Replies: 1
    Last Post: 05-23-2008, 09:03 AM
  5. Java Package help?
    By Bibendum in forum New To Java
    Replies: 2
    Last Post: 12-12-2007, 04:29 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
  •