javac

javac

 英

  • 網絡編譯;編譯器;編譯程序

例句

A Java program is initially compiled through the Java SDK's javac program into a native platform-neutral format known as class files.

Java程序最初通過JavaSDKjavac程序編譯成本平臺無關格式文件)。

And, now that javac is open source, it is possible the features might be supported by a third party.

而且既然javac開源那么這個特性可能得到第三支持

In fact, I purposely created it with just a Java editor, Wordpad for the files, javac, and the jar command.

實際上故意使用一個Java編輯器文件Wordpadjavacjar命令進行創建

java and --javac allow you to generate "real" Java classes from Ruby classes in a given file.

java--javac根據給定文件Ruby生成真正Java

Enumerations: The JSR 14 target mode of javac has no special support for enumerations.

枚舉:javacJSR14目標模式枚舉沒有特殊支持

There shouldn't be too many surprises here, other than some of the niceties that the javac compiler added on your behalf.

除了添加javac編譯之外代碼應當過多令人驚訝

In my opinion, any Lombok extension needs to support both javac and ECJ, at least for now.

觀點任何Lombok擴展需要同時支持javacECJ至少現在這樣

Make sure the file extension ends in . aj, but don't attempt to compile it with the normal javac.

確保文件擴展.aj結束不要常規javac進行編譯

In between the do and the end of my javac task is where all the magic happens.

魔力發生javac任務doend之間

By default, the javac compiler thinks all of these are the current working directory, which is almost never what you want.

默認javac編譯上述目錄認為當前目錄并不是希望

AspectJ comes with an Ant task, dubbed iajc, that acts like javac; however, this process compiles and weaves aspects into subject code.

AspectJ引入一個Ant任務稱為iajc充當javac角色過程方面進行編譯編入主體代碼

If javac were a pluggable compiler, you could instruct it to compile both your Groovy and Java files at the same time.

如果javac插拔編譯可以指示同時編譯GroovyJava文件

xjc is an extended javac compiler that understands XML Schema, XPath expressions, and XML.

xjc一個擴展javac理解XMLSchemaXPath表達XML

You can use one of two flags with the javac command: -deprecated or the new -Xlint: deprecated flag.

可以使用下列標記之一javac命令:-deprecated-Xlint:deprecated標記

Android apps are written in the Java(TM) language, and compiled by the JDK's javac compiler (or equivalent, like ECJ).

Android應用程序JavaTM語言寫成使用JDKjavac等效工具例如ECJ編譯

Code using javac or ECJ APIs is not trivial to read and understand.

采用javacECJAPI代碼閱讀了解起來并不繁瑣

Lombok uses non-public APIs in both javac and ECJ to accomplish its clever code-generation technique.

LombokjavacECJ采用公共API實現智能代碼生成技術

I've included tests for both javac and ECJ annotation handlers in this article's sample code (see Download).

本文示例代碼下載包含用于javacECJ注釋處理程序測試

Assuming there are no syntax errors, javac places the compiled . class file in the same directory where the . java file is.

假設沒有出現任何語法錯誤javac編譯.class文件對應.java文件所在相同目錄

The Iterable options allow the client to pass additional compiler options that correspond to the javac options.

Iterableoptions允許客戶機傳遞額外編譯選項這些選項對應javac選項

In one future, Duby becomes a widely-used, general-purpose replacement for Java and javac.

其一Duby成為廣泛使用通用Javajavac代替品

For all you lazy developers who have happily forgotten the cryptic syntax of java and javac, a useful Ant task is also available.

對于所有那些已經非常高興地忘記javajavac神秘語法開發人員來說提供一個有用Ant任務

String concatenation: The JSR 14 target mode of javac causes the compiler to generate calls to StringBuffer instead of StringBuilder.

字符串連接javacJSR14目標模式使編譯生成StringBuffer調用不是StringBuilder調用

Sadly, the javac compiler will do exactly that unless you're careful.

遺憾如果不夠謹慎javac編譯就會明知故犯”。

But in this style-called the @AspectJ model-aspects can be compiled using javac.

這種風格——叫做@AspectJ模型——切面使用javac進行編譯

Javac is the default compiler used by build tools like Ant and Maven.

JavacAntMaven之類構建工具默認采用編譯

After doing the above work, use the following command to start the program: javac-classpath " new grapro directory parent directory" grapro.

做好上面工作之后下面命令啟動程序javawclasspath新建grapro目錄上級目錄grapro

Tag file source is compiled when the including JSP is processed by javac.

javac處理包括JSP編譯標記文件代碼

This tip is useful only if you decide to support both javac and ECJ.

如果決定同時支持javacECJ提示有用

The good news is that the Lombok team has done a fairly good job of documenting how they use javac and ECJ to generate AST nodes.

一個消息Lombok團隊已經完成大量關于利用javacECJ生成AST節點相關文檔工作

Compile the Java code using the command-line Java tool javac.

使用命令Java工具javac編譯Java代碼

Going back to our use of "javac" , after compiling the source code we probably want to run it, with a command such as "java TestProgram" .

回到我們使用javac”,編譯代碼之后我們可能命令javaTestProgram運行

Because it's not, you can simply wrap the javac task in Ant with a groovyc task.

但是不是因此只需groovyc任務Ant封裝javac任務

Compile wsdlcpp using the command javac wsdlcpp. java.

使用javacwsdlcpp.java命令編譯wsdlcpp

This class, on the other hand, can be compiled using javac and applied by Spring.

這個另一方面可以使用javac進行編譯Spring應用

I want a language that can replace javac in producing free-standing Java . class files.

想要一種語言生成自立Java.class文件代替javac

Now the program compiles without error and produces the output shown in Figure 4. Notice that javac also compiled the file Fraction. java

現在編譯程序不會出現錯誤會產生5輸出

Retroweaver came first, and it handled all the cases handled by javac -target JSR 14, and a few more

首先Retroweaver處理javac-targetJSR14處理所有情況其他一些情況

Compiling this code (javac HelloJavaSwing. java) and running it (java HelloJava) should yield an application as shown in Figure 1

編譯代碼(javacHelloJavaSwing.java)運行javaHelloJava),應該顯示1應用程序

To run the test, you compile the class with javac and then invoke TestNG with the following command

運行測試javac編譯然后以下命令調用TestNG