Zelix KlassMaster - Documentation

Compatibility

What do you need to run Zelix KlassMaster™?

Zelix KlassMaster™ is written entirely in Java 8 (i.e. JDK 1.8) and technically should run on any platform that supports a Java 8 or better Virtual Machine. However, note that Zelix KlassMaster™ version 10 or better requires a recent version of a Java 8 JVM or better to run. If you use an Oracle JVM earlier than 1.8.0_152 then you may get a JVM crash due to HotSpot bugs. Also note that Zelix KlassMaster™ version 22 currently may not run successfully on older versions (e.g. pre-Aug 2020) of the Eclipse OpenJ9 JVM due to a JVM bug.

More generally, differences in the file systems and GUIs can also cause problems. Further, Zelix KlassMaster's flow obfuscation technology can expose bugs in some Just in Time (JIT) compilers.

Zelix KlassMaster™ has been tested on:
  • Windows 11™ 64bit using
    • java version "1.8.0_401" Java HotSpot(TM) 64-Bit Server VM (build 25.401-b10, mixed mode)
    • openjdk version "1.8.0_402" OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)
    • java version "11.0.22" 2024-01-16 LTS Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.22+9-LTS-219, mixed mode)
    • openjdk version "11.0.22" 2024-01-16 OpenJDK 64-Bit Server VM Temurin-11.0.22+7 (build 11.0.22+7, mixed mode)
    • openjdk version "17.0.10" 2024-01-16 OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode)
    • openjdk version "21.0.2" 2024-01-16 LTS OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode)
    • java version "21.0.2" 2024-01-16 LTS Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)
    • openjdk version "22" 2024-03-19 OpenJDK 64-Bit Server VM (build 22+36-2370, mixed mode, sharing)
    • IBM Semeru Runtime Open Edition (build 1.8.0_402-b06) Eclipse OpenJ9 VM (build openj9-0.43.0, JRE 1.8.0x86-32-Bit 20240131_847 (JIT enabled, AOT enabled)
    • IBM Semeru Runtime Open Edition (build 11.0.22+7) Eclipse OpenJ9 VM 11.0.22.0 (build openj9-0.43.0, amd64-64-Bit 20240131_835 (JIT enabled, AOT enabled)
    • IBM Semeru Runtime Open Edition 17.0.10.0 (build 17.0.10+7) Eclipse OpenJ9 VM 17.0.10.0 (build openj9-0.43.0, amd64-64-Bit 20240116_624 (JIT enabled, AOT enabled)
    • IBM Semeru Runtime Open Edition 21.0.2.0 (build 21.0.2+13-LTS) Eclipse OpenJ9 VM 21.0.2.0 (build openj9-0.43.0, amd64-64-Bit 20240116_95 (JIT enabled, AOT enabled)
  • Linux (Xubuntu 22.04) using
    • java version "1.8.0_401" Java HotSpot(TM) 64-Bit Server VM (build 25.401-b10, mixed mode)
    • java version "11.0.22" 2024-01-16 LTS Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.22+9-LTS-219, mixed mode)
    • java version "17.0.10" 2024-01-16 LTS Java HotSpot(TM) 64-Bit Server VM (build 17.0.10+11-LTS-240, mixed mode, sharing))
    • java version "21.0.2" 2024-01-16 LTS Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)
    • openjdk version "22" 2024-03-19 OpenJDK 64-Bit Server VM (build 22+36-2370, mixed mode, sharing)
    • IBM Semeru Runtime Open Edition 17.0.10.0 (build 17.0.10+7) Eclipse OpenJ9 VM 17.0.10.0 (build openj9-0.43.0,amd64-64-Bit 20240116_670 (JIT enabled, AOT enabled)
    • IBM Semeru Runtime Open Edition 21.0.2.0 (build 21.0.2+13-LTS Eclipse OpenJ9 VM 21.0.2.0 (build openj9-0.43.0, amd64-64-Bit 20240116_94 (JIT enabled, AOT enabled)

What can Zelix KlassMaster™ process?

Zelix KlassMaster™ can process bytecode compiled for Java 9 through to 21 including modules.

Of course, it can also process bytecode compiled for JDK 1.1.x, 1.2.x, 1.3.x, 1.4.x, 1.5.0, 1.6.0, 1.7.0 and 1.8.0 JVMs. However, it is highly recommended that you always set the internal classpath used by Zelix KlassMaster™ (i.e. the ZKM Script classpath statement) to point to the bootstrap classes corresponding to the classes you are obfuscating. For Java 2 through to Java 8 that is the corresponding rt.jar. For Java 9 to Java 21 it is the corresponding lib\jrt-fs.jar file system.

Note that if you use the Reference Obfuscation functionality on bytecode which is at the Java 8 level then your obfuscated bytecode will require a newer Java 8 or better JVM to run. For example, if you use an Oracle JVM earlier than 1.8.0_152 then you may get a JVM crash due to HotSpot bugs.
 
Documentation Table of Contents
Zelix KlassMaster - Java Obfuscator