Re: Package and compiling
From: hiwa (HGA03630_at_nifty.ne.jp)
Date: 02/14/04
- Next message: DWY: "Re: How to write a file in the directory of a webapp.."
- Previous message: hiwa: "Re: Java Server programming Problem"
- In reply to: Isa: "Package and compiling"
- Next in thread: Raymond DeCampo: "Re: Package and compiling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 14 Feb 2004 02:10:00 -0800
"Isa" <isa.janfada-balu@comhem.se> wrote in message news:<_UaXb.82643$dP1.220245@newsc.telia.net>...
> Hi!
> I have a question about the package and Java class files. I hope someone can
> answar me. When I compile a java source file with a package statement I
> expect that the compiler should create the package directories and put the
> class file there.
> For example:
>
> package homecompany.utilies;
> public class graph{
> ...
> }
>
> The command C:\ javac graph.java compiles and create the class file
> graph.class
> in the same directory. I suppose that the class file graph.class should
> placed in the
> directory C:\homecompany\utilies\, but it does not. The development env. is
> windows xp with Java SDK 1.4_2.
>
> Thanks to any comment
> Isa
Mapping between java package and system directory structure is
not automatic default. See Java Language Specification chapter 7.
- Next message: DWY: "Re: How to write a file in the directory of a webapp.."
- Previous message: hiwa: "Re: Java Server programming Problem"
- In reply to: Isa: "Package and compiling"
- Next in thread: Raymond DeCampo: "Re: Package and compiling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|