Anonymous asked in 電腦與網際網路程式設計 · 1 decade ago


我安裝了Sun的JDK 也設好環境變數了然後執行命令提示字元(如下 省略了一些)卻無法執行我在c槽的body_gogo資料夾的檔案 請問是怎麼一回事?我檔名確定沒存錯==


Usage: javac <options> <source files>

where possible options include:

-g Generate all debugging info

-g:none Generate no debugging info

-g:{lines,vars,source} Generate only some debugging info

-nowarn Generate no warnings

-verbose Output messages about what the compiler is doing

-deprecation Output source locations where deprecated APIs are u


-classpath <path> Specify where to find user class files and annotati

on processors

-cp <path> Specify where to find user class files and annotati

on processors

-sourcepath <path> Specify where to find input source files

-bootclasspath <path> Override location of bootstrap class files

-extdirs <dirs> Override location of installed extensions

-endorseddirs <dirs> Override location of endorsed standards path

-proc:{none,only} Control whether annotation processing and/or compil

ation is done.

-processor <class1>[,<class2>,<class3>...]Names of the annotation processors t

o run; bypasses default discovery process

-processorpath <path> Specify where to find annotation processors

-d <directory> Specify where to place generated class files

-s <directory> Specify where to place generated source files

-implicit:{none,class} Specify whether or not to generate class files for

implicitly referenced files

-encoding <encoding> Specify character encoding used by source files

-source <release> Provide source compatibility with specified release



javac: file not found:

Usage: javac <options> <source files>

use -help for a list of possible options

1 Answer

  • 1 decade ago
    Favorite Answer




    Source(s): me
    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.