title: How does the JVM print something to the screen?
body: <p>So I've been studying Java-bytecode and it's been fun so far, seeing how the JVM works. But there's something confusing me.</p>
  <p>For example, if the JVM wants to do any sort of math, it uses registers to push/pop off the internal stack (oversimplifying it, I know).</p>
  <p>But let's say the JVM wants to compute the bytecode version of this line:  <code>System.out.println(&quot;Hello&quot;);</code></p>
  <p>In the mnemonic version of the bytecode, I can see it searches for the System class in the java.lang package and invokes that method but what does that actually mean for the JVM?</p>
  <p>Once the JVM reads the instruction and knows it has to print something, does it spawn a console window? Or can the JVM only do this type of instruction FROM the console? (So like for this, you would NEED to use the <code>java</code> tool)</p>
  <p>Thank you!</p>