How platform independency can be achieved in java? The platform independency can be achieved using the .class file and JVM(Java Virtual Machine)