How to run a class file in MAC os, compiled in XP.

Hi all,

i am compiling a java program in windows using JDK 1.5 and i am copying this file to MAC os (Panther). In Mac i am running this class file using JDK 1.4.i am getting the following exception,

Exception in thread "main" java.lang.UnsupportedClassversion error.

This is understandable, but is there any solution for this ...

Any one experienced the same problem ...

If any one comes up with a solution to solve this, plz let me know...

Thanks in advance......

[507 byte] By [vinoth_da] at [2007-10-3 9:55:19]
# 1
You are compiling it in 1.5 and expecting 1.4 to run it?You have two options: compile it at the 1.4 level or upgrade your Mac to 1.5
zadoka at 2007-7-15 5:13:11 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...