Top "Javac" questions

javac is the primary Java compiler, included in the Java Development Kit (JDK) from Sun Microsystems (now Oracle), and also in versions from other vendors.

javac optimization flags

I've recently been writing a lot of code in C and am now switching over to Java. I'm currently implementing …

java optimization compiler-construction javac
JDK/JRE/JVM/Java SDK | What do they all mean? Sometimes you can develop with JRE and sometimes you need JDK?

To tell the truth, I am quite confused on all these terms (JDK/JRE/Java SDK). I am not sure …

eclipse javac java
package org.apache.hadoop.conf does not exist after setting classpath

I am a beginner in hadoop using the hadoop's beginners guide book as a tutorial. I am using a mac …

java hadoop javac word-count hadoop-plugins
Where do you configure Eclipse Java compiler (javac) flags?

Ex. javac -g ButtMonkey.java Where do you configure the -g flag when Eclipse compiles Java source? (Using Ganymede but …

java eclipse debugging javac
How to suppress "unknown enum constant" warnings?

The Checkers Framework references java.lang.annotation.ElementType.TYPE_USE which was added in JDK8. When I use it under …

java annotations javac checker-framework
Where is the source code for the java compiler?

I'm looking for the source code of Sun's standard java compiler, javac. jdk1.6.0_07 has a few classes that are related, …

java javac
Optimization by Java Compiler

Recently, I was reading this article. According to that article, Java Compiler i.e. javac does not perform any optimization …

java optimization javac
Why does the compiler state no unique maximal instance exists?

I have the following classes: public class Obj<T> extends BaseModel { public static final String OBJECT = "object"; public …

java generics compiler-construction compiler-errors javac
Javac Cross-Compilation with 1.7

So guys, I'm trying to play a bit with Javac Cross compilation with Ant and on terminal. Locally and on …

java cross-compiling javac
what's the difference between -source and -target compatibility?

When using the Java compiler (javac), we can specify two kinds of compatibility. One is using -source and the other …

java compilation javac backwards-compatibility