Hey,buddy:What's up?

          Happy&Optimistic&Effective

          BlogJava 首頁(yè) 新隨筆 聯(lián)系 聚合 管理
            14 Posts :: 1 Stories :: 0 Comments :: 0 Trackbacks
          The Java interpreter proceeds as follows. First, it finds the environment variable CLASSPATH (set via the operating system, and sometimes by the installation program that installs Java or a Java-based tool on your machine). CLASSPATH contains one or more directories that are used as roots in a search for .class files. Starting at that root, the interpreter will take the package name and replace each dot with a slash to generate a path name from the CLASSPATH root (so package foo.bar.baz becomes foo\bar\baz or foo/bar/baz or possibly something else, depending on your operating system). This is then concatenated to the various entries in the CLASSPATH. That’s where it looks for the .class file with the name corresponding to the class you’re trying to create. (It also searches some standard directories relative to where the Java interpreter resides).
          posted on 2005-07-13 15:08 Kun Tao's Blog 閱讀(290) 評(píng)論(0)  編輯  收藏

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 容城县| 英超| 内黄县| 米脂县| 临潭县| 威海市| 南宁市| 青龙| 通化市| 莆田市| 伊金霍洛旗| 河西区| 车致| 昌吉市| 长寿区| 汝南县| 大洼县| 普兰县| 陆丰市| 涞水县| 建始县| 开原市| 阿克苏市| 邵阳县| 塔城市| 滕州市| 临夏县| 巴林右旗| 边坝县| 阿城市| 辉县市| 景洪市| 通道| 洪泽县| 南通市| 隆回县| 民权县| 南宫市| 长沙县| 济源市| 白水县|