Hi, I just want to ask, when JVM executes java bytecode, it actually translates them for desired architecture and OS. But, when I want for example simple console output in windows, JVM must actually call OS for console and handle that output. So, what I want to ask, does JVM actually have these functions (accesing console and other system calls) built-in, or is it somehow compiled into the program? And if it is handled by JVM, does it mean that java bytecode actually is not similiar to assembler in a way that it must contain intructions to invoke desired function by JVM? And than, does it mean that JVM must contain methods to actually access and handle all system functions and routines that you may need? Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks