开发者

Error in java swing application in Mac

开发者 https://www.devze.com 2022-12-12 03:44 出处:网络
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 giv

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号