Ask The Real Tom

February 12, 2010



Find out if you java application was compiled with Java 1.6 on solaris

Filed under: Uncategorized — Tags: , , , , , — admin @ 3:17 pm

For class file version 50.0 (Java 1.6), the opening bytes are:

CA FE BA BE 00 00 00 32

Check if your class file was compiled with java 1.6

bash-3.00$ od -x JDBCVersion.class | head
0000000 cafe babe 0000 0032 009c 0a00 2f00 4007

tip:
EAR and JAR files are just zip files an can be unzipte with

unzip

Powered by WordPress