We've all read the definition of the JRE:
"The
Java Runtime Environment (JRE) provides the libraries, Java virtual machine, and other components necessary to run
applets and applications written in the Java programming language".
Yet I never see examples of the 'libraries' immediately following this definition and never felt comfortable about what is meant by a runtime exception. I assume that they mean something illegal has happened to a runtime library when a program was running. But doesn't that always happen when a program fails?
So if anyone could provide a real simple example of a runtime library [aren't all libraries used at 'runtime' ?] and how an exception happens to it I'd be most appreciative. Also, do exceptions happen to libraries I create or only the ones provided by SUN?
Thanks in advance to all replies.
Danny