ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • JAVA 컴파일하기~ to JSP
    프로그램/JSP 2007. 11. 27. 20:00

    CMD 창==========================================================================
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Administrator>cd C:\Program Files...\ROOT\chap11\WEB-INF\src\madvirus\jdbcdriver
    //컴파일 위치로 이동

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\chap11\WEBNF\src\madvirus\jdbcdriver>java -version
    //자바 버전확인

    java version "1.5.0_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode, sharing)

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\chap11\WEBNF\src\madvirus\jdbcdriver>path
    //페스 확인

    PATH=C:\jdk1.5.0_13\\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1
    in;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN
    WS\System32\Wbem;C:\Program Files\ESTsoft\ALZip;C:\Program Files\IDM Computer
    ...
    windir=C:\WINDOWS

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\chap11\WEB-INF\src\madvirus\jdbcdriver>cd ../..

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\chap11\WEB-INF\src>
    set CLASSPATH=C:\Program Files\Apache Software Foundation\Tomcat 5.5\coon\lib\servlet-api.jar;
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\mmon\lib\jsp-api.jar;..\classes
    //CLASSPATH 지정


    <path 지정하기>
    set PATH=C:\jdk1.5.0_13\\bin;

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\chap11\WEB-INF\src>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\Administrator\Application Data
    classpath=C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\se
    let-api.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\
    ...
    USERNAME=Administrator
    USERPROFILE=C:\Documents and Settings\Administrator
    WF_RESOURCES=C:\oracle\ora92\WF\RES\WFus.RES
    windir=C:\WINDOWS
    //지정된 세팅 보기

    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\chap11\WEB-INF\src>javac -d ..\classes madvirus\jdbcdriver\Loader.java
    //컴파일

Designed by Tistory.