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