Error in java swing application in Mac
Hi I have created a swing application using java 1.5 and i created a distributable jar of that file. I can run the jar in windows OS and linux OS but when开发者_StackOverflow中文版 i run in Mac it gives me error. I checked I am using java 1.5 version.
I think the program asks for java 1.6 version.
How to resolve the problem.
Thanks Sunil Kumar sahoo
Some of the swing components eg= JOptionPane is in java1.5 in linux and Windows but its in java 1.6 in Mac. So u have to install java 1.6. Java launches different features in different platform as a new release. So install java 1.6. It will solve ur problem.
精彩评论