Put jar file before all other files in classpath. For example, Windows idea.bat:
SET CLASS_PATH=%IDEA_HOME%\lib\patch-3144.jar SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\idea.jar SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\openapi.jar SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\jdom.jar SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\log4j.jar
In idea.lax file:
lax.class.path=../lib/patch-3144.jar;../lib/idea.jar;../lib/jdom.jar;../lib/log4j.jar;../lib/openapi.jar;lax.jar
You may check how patch was made. I have used Jad decompiler, D-Java disassembler and Jasmin assembler.