简体   繁体   English

在Mac OS x 10.4上加载applet的问题

[英]Problem with applet loading on Mac OS x 10.4

I have been working on web application which includes java applet. 我一直在研究包含java applet的Web应用程序。 My app is working fine on PC with different browsers like IE and Firefox. 我的应用程序在使用IE和Firefox等不同浏览器的PC上运行良好。 The web application hosted on Linux (Ubuntu). Linux上托管的Web应用程序(Ubuntu)。 I had problem on Mac with Firefox. 我用Mac在Mac上遇到了问题。 I was unable to load the applet. 我无法加载小程序。

This is the error i found in java console. 这是我在java控制台中发现的错误。 Java.lang.classNotFoundException web/applets/ImageObsApplet.class Java.lang.classNotFoundException web / applets / ImageObsApplet.class

I have hosted the web application on PC windows XP and i am able to load the java applet on Mac system. 我在PC Windows XP上托管了Web应用程序,我可以在Mac系统上加载java applet。

Update: 更新:

I am using J2SE 1.5.0. 我使用的是J2SE 1.5.0。 This does not support on Mac OS X 10.4? 这在Mac OS X 10.4上不支持? I am able to run the application successfully on Mac OS X 10.5.5. 我能够在Mac OS X 10.5.5上成功运行该应用程序。

Now I am able to load the applet on MAC OS X 10.4.11. 现在我可以在MAC OS X 10.4.11上加载applet了。 but i had a problem with applet functionality. 但是我的applet功能有问题。 My applet will display the map image. 我的小程序将显示地图图像。 Applet contains the navigation arrow keys at the top left of my applet. Applet包含我的applet左上角的导航箭头键。 These keys will be used to navigate through the map. 这些键将用于浏览地图。 The problem is while user using the navigation buttons, the image got squash and stretch. 问题是当用户使用导航按钮时,图像得到挤压和拉伸。 This is happened only on MAC OS X 10.4.11 and Its working fine on PC and MAC OS X 10.5.5. 这种情况仅发生在MAC OS X 10.4.11上,并且在PC和MAC OS X 10.5.5上运行良好。

I'm not sure, but there was a java plugin problem with firefox on mac. 我不确定,但mac上的firefox存在java插件问题。 I think firefox on 10.4 supports Java 1.4 only. 我认为10.4上的firefox仅支持Java 1.4。 Have you tried with safari? 你尝试过野生动物园吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM