🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #12789

Re: ��һ������import������

#12789
From: ���̼Ӹ�
Date: Wed, 14 Jul 2004 10:03
30 lines
2369 bytes
����һ�㣬���package��.classĿ¼һ���ˣ�
�ǾͲ鿴һ���Լ���classpath���ö���û�С�
�����ֶ�����Ҫ����İ����classpath�У�
Ҳ�����������к������-cp�����·��
�� �� sayer �Ĵ������ᵽ: ��
: source�ļ������package��Ҫ��
: .class�ļ���Ӧ��Ŀ¼��һ�£�
: ��������ҷţ��ٸ����ӣ�
: �����Ϊ
: package mypackage;
: ����֮���.class�ļ���Ҫ����
: mypackageĿ¼���档
: ��Ϊ·��ͨ�������д��.class��bytecodes�У�������classloader
: ͨ���ȡpackage����������classpath����Ӧ��Ŀ¼��װ��.class��bytecode
: ���ԣ����Ҫ���·������Ҫ����package,���±������ſ��ԡ�
: �����ȥ�ֶ����.class�ļ������bytecode(��Ȼ����������˽�ÿ��bytecode���..
: �ڶ������������е�ʲôָ����򣬾ͱ����׸Ķ�.class�ļ������Ǵ��±��롣..
: �� �� leondu. �Ĵ������ᵽ: ��
: : ��������Ľṹ
: : +src
: :   +com
: :     +test
: :       +Class1
: : +ejbsrc
: :   +com
: (��������ʡ��...)

--

�� ��Դ:���ɽ��ˮ bbs.neu.edu.cn��[FROM: 210.30.201.16]
Technical Details
Message-ID: <4DEBAM$Cuu@bbs.neu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!newshosting.com!nx02.iad01.newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp-server.pubsub.com!maily.cic.tsinghua.edu.cn!news.neu.edu.cn!NEU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,5753730fc576f075
X-Google-Attributes: gidf6cb0,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!newshosting.com!nx02.iad01.newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp-server.pubsub.com!maily.cic.tsinghua.edu.cn!news.neu.edu.cn!NEU
From: sayer.bbs@bbs.neu.edu.cn (���̼Ӹ�)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ��һ������import������
Date: 14 Jul 2004 10:03:34 GMT
Organization: ��ɽ��ˮ
Message-ID: <4DEBAM$Cuu@bbs.neu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: java/M.1089799414.A
Lines: 30