Skip to content

Tag: jvm

What happens if import statements can not be resolved?

I am not clear on the following: A class is loaded by JVM when needed, like lazy initialization, right? Now if class A does an import of class B which class B actually is not in the file system (e.g. B.class was deleted or not delivered or any reason) then does class A get loaded and runs if no method

JAVA_OPTS for increasing heap size

I want to increase my Heap size. How can I use JAVA_OPTS for doing so.I am getting the following error may be this is because of low heap size Answer You should be able to use the information found in this post. where zzz is your minimum size. where zzz is your maximum size. You can find more info on

Java implementation of a… JVM?

Some time ago I found the MJVM project. Sadly, this project has been abandoned by it author (I asked Igor via email). I wonder if there is a (continued) open source project of a full implementation of a JVM in Java like this one. By “full”, I mean, not only to emulate mobile devices. Answer The Ji…