Master thesis deals with Java2D library performance, in which are analyzed their components within different JVM (Java Virtual Machines). This thesis discusses three different implementations of JVM – OpenJDK, OracleJDK and IBM Java. Analyzed are also various tools for testing Java applications performance, e.g. SPECjbb2015, SPECjvm2008 and aims to J2D benchmark. The first chapter is mainly oriented on Java2D library and the second part of this thesis analyses various characteristics of JVM, wherein for this part was developed an application for real-time testing Java2D library.