About 629,000 results
Open links in new tab
  1. Does java compiler (javac) require JVM to compile the java code?

    Jul 1, 2025 · 5 If javac is written in java, does compiling a java code require the JVM to start? Yes, running javac requires a JVM or some equivalent way to execute Java code. (You could, I suppose, …

  2. How does Visual Studio Code compile Java code? - Stack Overflow

    Jul 31, 2025 · The JIT compiler optimizes the application at runtime and compiles it to machine-code (that's why it's a JIT (just-in-time) compiler). The issue I have with your answer is that you say "Java …

  3. Is Java a Compiled or an Interpreted programming language

    Aug 25, 2009 · Java implementations typically use a two-step compilation process. Java source code is compiled down to bytecode by the Java compiler. The bytecode is executed by a Java Virtual …

  4. java - What exactly does the JVM do? - Stack Overflow

    Aug 14, 2015 · The Java compiler (javac) turns your human-readable code into bytecode, which is then running in a JVM. From the oracle docs: A program has to be converted to a form the Java VM can …

  5. How to find and change Java compiler option in Visual Studio Code ...

    Jul 2, 2019 · The most common way is to set JAVA_HOME environment variable to the install location of the JDK while you can also use java.home setting in Visual Studio Code settings (workspace or user …

  6. How exactly does java compilation take place? - Stack Overflow

    If the compiler code is written is java, then how come compiler code is executed at the compilation stage, since its the job of the jvm to execute java code. That's exactly what wrapping code does.

  7. Why Java is both compiled and interpreted language when the JIT also ...

    Jan 2, 2014 · There is a bit of misunderstanding here. In normal circumstances java compiler (javac) compiles java code to bytecodes and java interpreter (java) interpretes these bytecodes (line by line), …

  8. java - Is the JVM a compiler or an interpreter? - Stack Overflow

    Oct 6, 2011 · A typical compiler will convert all the code at once from source code to machine level language. Instead, JIT goes line by line (line by line execution is a feature of Interpreters) and …

  9. and /* in Java Comments - Stack Overflow

    Apr 23, 2015 · You use a an entire tool chain, which includes e.g. the compiler, an IDE, a build system, etc. And some of these tools interpret things differently than the Java compiler. In particular, /** ... */ …

  10. Can I compile Java to native code? - Stack Overflow

    Jun 7, 2010 · Is there any way to compile from Java to standalone (or library) machine code without requiring a JVM?