🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: һ����ѧ�ߵ�����

#23158
From: ��������
Date: Sat, 16 Aug 2003 08:53
31 lines
2230 bytes
���classpathû�м���.(��Ŀ¼,
���ҽ��그��ͬ��Ĵ���,
����classpath,������Ҳ��
java -classpth . filename
�� �� sniperXP (һ¥������) �Ĵ������ᵽ: ��
����ڼ���ѧjava�������ϵ�ָ��������j2sdk1.4.2�����������껷������������һ��

��򵥵IJ��ԣ���д��Hello.java�ij��򡡡�
public class Hello
{
    public static void main(String args[])
    {
        System.out.println("Hello!");
    }
}
��javac�ɹ�����󣬳���Hello.class�ļ���֮����java Hello���У�ȴ����
Exception in thread  "main" java.lang.NoClassDefFoundError: Hello

��ô���£�
�ѵ�������ô����java����Ҳд�����𣡣�
���Ϻָ�㣡��

--
��Ҫ��֪��������������ϣ�����һ�����ǵ�����ģ�������ʲôʱ��������ʲô�ط�
��������֪��������������һ���˵ġ�


--
�ұ�֤��ֻҪ�������һ����һ����δ�����ҹ

�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 162.105.203.99]
Technical Details
Message-ID: <47g1dY$9mS@bbs.pku.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,eea52621a1967df7
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-08-16 01:54:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU
From: strayboy@bbs.pku.edu.cn (��������)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: һ����ѧ�ߵ�����
Date: 16 Aug 2003 08:53:08 GMT
Organization: ����δ��վ
Message-ID: <47g1dY$9mS@bbs.pku.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1061023858.A
Lines: 31