Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

Java Applets don't run correctly on Mac any more. On Windows everything is correct. 3 months ago it was also working perfect with mac.

  • 57 yanıt
  • 47 kişi bu sorunu yaşıyor
  • 1 gösterim
  • Son yanıtı yazan: vinay.samant

more options

I call a Java class from JavaScript in HTML-Code. The JavaScript get loaded earlier then the Java Applet. Even the Java Applet-Tag is on the top. When I have a button in HTML to start the Java-class with JavaScript, it works. But it should also be possible to do that right after loading die Java Applet. Until 3 months ago it was working always properly on Mac with Firefox for 6 years. On Windows it still works perfect with Firefox. And it worked always perfect on Windows with Internet Exlorer and Chrome. I hope you can solve this problem. With Safari Java Applets don't run any more even Java is active in Safari. So my customers have just Firefox to work with on Mac. Chrome doesn't work on Mac. Here is my Code. The Applet is signed by symantec:

<html>
 <head>
 <applet code="testmacsigned.class" archive="testmacsigned.jar" width="0" height="0" mayscript name="testmac" id="testmac"></applet>
 <title>Offline Reservation hellocut</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
     <!--<object type="application/x-java-applet" name="testmac" id="testmac" width="10" height="10">
         <param name="archive" value="testmacsigned.jar"> 
         <param name="code" value="testmacsigned.class">
         <param name="mayscript" value="yes"> 
         <param name="scriptable" value="true"> 
     </object>-->
     <!-- <embed code="testmacsigned.class" type="application/x-java-applet" archive="testmacsigned.jar" mayscript name="testmac">
        <noembed>
          No Java Support.
        </noembed>
      </embed>-->



 <script language="JavaScript">
 <!--
  function fctapplet(){
   window.document.testmac.testmacsigned();   
  }
 -->
 </script>
 </head>
 <body>
 <table>
  <tr>
   <td>
    <input type="button" onClick="javascript:fctapplet();" value="go">
   </td>
  </tr>
 </table>
 <table>
  <tr>
   <td>
    
   </td>
  </tr>
 </table>

 <script language="JavaScript">
 <!--
  window.document.testmac.testmacsigned();   
 -->
 </script>

 </body>

</html>

The last command - window.document.testmac.testmacsigned(); - doesn't work anymore because the Java Applet on the top isnt' loaded allready.

I call a Java class from JavaScript in HTML-Code. The JavaScript get loaded earlier then the Java Applet. Even the Java Applet-Tag is on the top. When I have a button in HTML to start the Java-class with JavaScript, it works. But it should also be possible to do that right after loading die Java Applet. Until 3 months ago it was working always properly on Mac with Firefox for 6 years. On Windows it still works perfect with Firefox. And it worked always perfect on Windows with Internet Exlorer and Chrome. I hope you can solve this problem. With Safari Java Applets don't run any more even Java is active in Safari. So my customers have just Firefox to work with on Mac. Chrome doesn't work on Mac. Here is my Code. The Applet is signed by symantec: <pre><nowiki><html> <head> <applet code="testmacsigned.class" archive="testmacsigned.jar" width="0" height="0" mayscript name="testmac" id="testmac"></applet> <title>Offline Reservation hellocut</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!--<object type="application/x-java-applet" name="testmac" id="testmac" width="10" height="10"> <param name="archive" value="testmacsigned.jar"> <param name="code" value="testmacsigned.class"> <param name="mayscript" value="yes"> <param name="scriptable" value="true"> </object>--> <!-- <embed code="testmacsigned.class" type="application/x-java-applet" archive="testmacsigned.jar" mayscript name="testmac"> <noembed> No Java Support. </noembed> </embed>--> <script language="JavaScript"> <!-- function fctapplet(){ window.document.testmac.testmacsigned(); } --> </script> </head> <body> <table> <tr> <td> <input type="button" onClick="javascript:fctapplet();" value="go"> </td> </tr> </table> <table> <tr> <td> </td> </tr> </table> <script language="JavaScript"> <!-- window.document.testmac.testmacsigned(); --> </script> </body> </html></nowiki></pre> The last command - window.document.testmac.testmacsigned(); - doesn't work anymore because the Java Applet on the top isnt' loaded allready.

cor-el tarafından tarihinde düzenlendi

Tüm Yanıtlar (20)

more options

Please check if all your plugins are up-to-date. To do this, go to the Mozilla Plugin Check site.

Once you're there, the site will check if all your plugins have the latest versions. If you see plugins in the list that have a yellow Update button or a red Update now button, please update these immediately.

To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

more options

Hi ComputerWhiz, thanks for your answer. It's really everything up-to-date. There is absolutely no yellow or red update-button. A customer of me has Mac OS 10.8. Firefox 23.0.1, Java 1.7_25. Before I updated everything, Java Applet worked with Safari. After the update, with Safari there is absolutely no reaction anymore with Java Applets. Java Plug-In is active. I even make Hack for developer on. With Safari a communication between Browser and Java Applet isn't possible anymore. So it is even more important it would work with Firefox. The Program should stop until the Applet-Tag has finished. But the Program continues very fast and starts the JavaScript-call before the Applet-Tag has loaded. By the way I tried also with object-tag or embeded-tag. There is no difference. It is a bug for 100% of Firefox in combination with Mac. 7 years ago until 3 months ago it was working properly always with Firefox and also with Safari on Mac OS. I hope that Firefox will fix this very soon. Otherwise I have to inform all the customers (12'000 hairdressers of Switzerland) to change from Mac to Windows. On Windows it's working properly with Firefox, Internet Explorer, Chrome and Opera.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

I suggest contacting Java's support team and explaining your issue to them.

more options

It's absolutely not a Java Problem. Java works properly. It's a Firefox-Problem in combination with Mac OS. And it's not my issue, it is a general issue. I work for the Organisation CoiffureSuisse who is responsible for all the hairdressers in Switzerland. I will inform all hairdressers to change from Mac Os to Windows. And there i suggest to use Internet Explorer or Chrome.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

Try Firefox Safe Mode to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.

(If you're not using it, switch to the Default theme.)

  • Open the Help menu and click on the Restart with Add-ons Disabled... menu item while Firefox is running.

Once you get the pop-up, just select "'Start in Safe Mode"

If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to figure out which one. Please follow the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article for that.

To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.

Please report back soon.

more options

Hi ComputerWhiz...I did it in Firefox Safe Mode. There is absolutely no difference. My testapplet is www.hellopage.ch/test/testapplet/testmacsigned.htm. I just run a naked signed (by symantec verisign) Applet who writes out "first". System.out.println("first"); When I start the Applet-Class with the button "go" after loading testmacsigned.htm, then it works. When I run the Applet-class directly after loading the Applet-Tag then it doesn't work. Even afterwards when I press to the "go"-Button. It's not just on one Mac-Computer it is on all Mac-Computers like this. you can reproduce this bug very easy. Hairdressers like Mac-Computers because of the design. But now they can't work anymore with Mac. The only solution is to tell them to change to Windows. I wait so far to make this Information. Maybe you or Firefox can tell me a solution.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

Hi..

There is another thread regarding same applet issue. Check this https://support.mozilla.org/en-US/questions/958847?page=2#answer-476147

i realized exactly the same thing. It seems Safari & Chrome refers 2 different versions of Java (atleast for applet.) I am customer of Bank Of Baroda in India. They extensively use applets for security. When i upgraded to Mac OS X Lion then the site blocked me. I upgraded to browser versions and all possible tweaks but it was not working. Then this latest Java was released (7.25.8) and when i upgraded my Lion for that Java, Safari started working fine. Hats off to seamless integration of Apple. But firefox is still in problem. I tried all possible things. I also tested Java Version of FireFox on java.com and it shows latest version, but the applets of BOB, those run on Safari, don't run on Firefox... I was searching for solution and your thread was ray of light. There is nothing other than this on entire web. Is it some bug in firefox and can we report it?

And you know the best part is, it works perfectly on Chrome even it's 32Bit! Whats wrong with Firefox?? In your specific case, i think you can still rely on Safari or Chrome and stay on Mac. Windows is nightmare! To solve on problem, you will get in pool of many..

Do you really think anyone from Mozilla or Firefox listening to this?

vinay.samant tarafından tarihinde düzenlendi

more options

Hi vinay.samant

On Mac Os 10.8 (Mountain Lion) Chrome can not be installed because of 64bit. And I think that Chrome got so many restrictions of apple that they say, better no Chrome on Mac then a Chrome who doesn't work properly. So my customers have just Safari and Firefox to work with. With Safari Java applets doesn't work any more in the user mode. It just works in admin-mode, but that's no solution. At the end there is just Firefox. With Firefox Java Applet doesn't work properly. So there is no browser any more to work with Java Applets on mac.

Do you really think anyone from Mozilla or Firefox listening to this?

I don't really think that anyone will listen to this. In 1 week the organisation of hairdressers (CoiffureSuisse) will send a magazine to all their 12000 members. If the Problem is not solved the next days we have to inform all this members to change to windows.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

Hey,

i m surprised to see such fast response. So you seem to be online. Let me tell you few things please :

  • 1st of all, i m not from Apple or Mozilla either. I am also a end-user like you. So please dont understand me. I just found your problem relevant hence i posted, intended to help.
  • Chrome surely works on Mac. I have Mac Lion and Chrome working perfectly fine on it. I don't know what you mean by chrome not working on Mac OS X Lion. Also note that Chrome is World #1 Browser with so many extensions.
  • I dont know what are you saying about user mode and admin mode, but i have installed Chrome for 'All Users' and may be hence Safari & Chrome runs Java Applets (atleast my BoB). If you can tell me specific URL which is not happening, may be i can try it and tell you some solution. I am not promising but I can certainly try to help.
  • I have registered this as a fresh issue and given all technical details also. I am also awaiting some response from Firefox/Mozilla. Lets hope for good.

Your 1 article will divert 12000 people from Mac to Windows or Firefox to IE, which is really WOW!! But it will be disaster, windows is bottom of hell, believe me. I travelled long way right from Windows, Solaris, Linux, Ubuntu to Mac and i really don't want to look back. Though very expensive and adamant, Mac get things done :)

It was nice talking to you..

more options

I agree that Chrome is the best browser. It's not possible to install Chrome on Mac OS 10.8 Mountain Lion. OS 10.8 is 64bit. With Mac OS 10.7 an lower it works when the OS is 32bit. You have just 32-bit, that's why it works in your case.

You can setting up different users on Mac and on Windows. Some things you can just do with admin-rights. So it's not advisable to work always as an admin. But with Safari on Mac OS 10.8 Java-Applet just works in Admin-Mode. That's strange. That's why there remains just Firefox on Mac OS 10.8. But even Firefox doesn't work correctly.

Here is my test-Applet. www.hellopage.ch/test/testapplet/testmacsigned.htm

I just write out the word "first". On Windows it works perfect. Also on Mac it was working always perfect the last 7 years. I'm almost sure it will work on your mac with Chrome. Can you check this? Can you check also if this works with Firefox on your mac? You have to start Java console to see if the word "first" gets written. Tell me if you don't understand something. I give you all my help.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

Please give your kind attention to :

  • I am attaching screenshot of 'About this Mac'. It shows its 10.8 and its Core i5 which is 64Bit. And i still have Chrome perfectly running. So i dont know why can't you do it.
  • I tried your applet in Chrome, it ask me to install java plugin and when i try to install it it says 'Chrome being 32Bit, Java7 Can not be installed.'. This is surprise because it says Chrome being 32Bit not the OS. On other browsers, it shows 'go' button and nothing happens after pressing that. I am not java programmer, so i dont know how to start java console.
  • I know the user management on mac and windows, but i never experienced such problem before.
  • Now have a look at https://www.bobibanking.com/. Click 'Retail User' and then 'Click here to Login'. This is login page of one of the top nationalized banks in India and it uses applet for security. If you dont have latest Java or supported JRE (they check it somehow) it shows you a block of message on the top that the browser is not JRE Enabled and you can't proceed. See my 2nd screen shot. Its Firefox and even though i have latest OS update & JRE, it still shows me this message, which is not shows in Chrome. Infact i can login using Chrome and Safari easily and access.
  • I am not java guy, i m php-mysql domain. But what i can tell you out of my experience is, if BoB people can manage to get their applets running on Chrome and Safari by directly reffering to installed JRE and bypassing 32Bit/64Bit etc. issues, then why can't you? Do you really require that Java7 thing? Are you serious like Bank or VISA?? If it's some type of reservation or booking system, why do you even require applet? A good JQuery with Ajax should be sufficient. If you can tell me your exact requirement, may be i shall be able to help you more. I am not asking you to give me your software project, but if we can discuss then i might give you some idea which is less resource hungry and quickly possible. And if it's some type of reservation system then you can always talk to me as i have designed a reservation system for a ayurvedic hospital here for booking their rooms.

Let me know..

more options

Thanks a lot for your help. You are right that Chrome is working on Mac. I was wrong. But not with Java 7. I'm quite sure you have still Java 6 on your Mac? It's because you upgraded to 10.8? That's why BOB works with Chrome. But my customers they have a new 10.8. There it's not possible anymore to install 10.6. Today I will try https://www.bobibanking.com/ on a Mac-Computer 10.8 of a customer. On Windows it works fine with Internet Explorer, Firefox and Chrome.

I will tell you my experience. Maybe it would be good to call with Skype then. You have an other Firefoxproblem then I have but I think it's the same cause. If there wouldn't be Java 6 installed on your Computer I think BOB wouldn't work with Safari and Chrome.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

See my chrome, java & OS versions. All latest :)

I think you should be able to find some way like BoB using applets on Chrome or Safari which is not Java7 Specific. Something Java Generic.

or better shift to PHP!

more options

I tested now with Mac OS 10.8.4 (no upgrade). On BOB with Safari there is absolutely no reaction from Java and the same error message you are having with Firefox (your browser ist not Java enabled...). With Firefox there is a reaction from Java (Pop up who asks if it should allow or not) but then it's the same error message you are having also with Firefox. You are lucky you did an upgrade where you still have Java 6 installed. With an new Mac Mountain Lion you couldn't enter BOB at all. Not even with Chrome. So BOB has exactly the same Problem as I have. It is a problem worldwide. I have the proof now that I'm not alone. The Firefoxproblem you have with BOB has exactly the same cause as my Problems are with Firefox, Safari and Chrome. By the way it's everything up-to-date when I tested. Java 1.7_25, Safari 6.0.5, Chrome 29.0.1547, Firefox 23.0.1 and Mac OS 10.8.4.

You get the error message with Firefox when you press Login in BOB. The Field User-ID is there. When you enter the User-Id you can log on to BOB or not? Maybe there is just the error message but it works anyway?

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

i think you should upgrade your mac to latest and check with java.com to see if you have latest version of JRE. They also ask to download a JRE and install for Mac but that JRE doesn't work. When you upgrade Mac OSX, it shows you that it's also upgrading Java/JRE. One this is over, you will clearly see BoB working on Safari & Chrome. Which means their java applet is loaded succssfully and working. You have to enter username on BoB and then it gives you One Time Password by SMS and then you are asked for login password. Its 3 way security check. You can try vinaysamant as username and click login to see OTP page. This will happen in Safari and Chrome both for sure.

But your application does not work in Chrome even when my system and JRE is latest. Which makes me think that there is something advanced required by your application which is not required by BoB. And if you can find this, then you can make those modification to your software to make it running on Safari/Chrome on Mac with Java7.25.

If you have just new Mountain Lion, then your and BoB will not work in any browser. You have to upgrade to latest patches and latest JRE. Since LION they are not bundling latest Java with their install, i think their software engineers gone crazy.

Can i ask you one question? What specific features/facility makes you select java for application?

more options

I will tell you what I do exactly. But first I would like to know everything about this issue.

When I click to the apple on the left top Corner and then softwarupdate (I don't know if it's in english like this maybe softwareupgrade) everything is up-to-date. 3 months ago by the way it was working everything properly until a certain update came. Is there an other way to make an upgrade?

Java is for 100% up-to-date. 1.7_25

But your application does not work in Chrome even when my system and JRE is latest. My Java is just a System.out.println. There is absolutely nothing special.

I'm 100% sure, when you go to a shop and buy a new Mac Mountain Lion BOB won't work with no browser. Even when you make the updates and upgrades. I'm convinced in your case it works because you did an upgrade and there is stille Java 6 on it from before.

I was programming this naked Java-Applet with 1.7. I think it's because of this it doesn't work with Chrome on your computer. Because your mac still uses Java 1.6. I will make a second Applet with Java 1.6. I will tell you in probably 1 hour. I think this will work then on your computer like it does with BOB.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

You have Java in System Preferences. Click that. It opens in separate window. It has tab to show you all versions of Java. I have only one 1.7_25. Check yours and get rid of others if any.

My final advice is, you goto java.com and download latest JRE for Mac OSX Lion. They have one. Download it. DMG > Mount > run. Then it will install latest JRE. Restart Mac. This is must (i also dont restart Mac for months). And check BoB and your applet both to see if anything changes. I have posted your problem on stackoverflow also. Lets see if this helps.

more options

I did this update today already. Below the System Preferences is only 1.7.0_25 and nothing else. Beleave me there is absolutely no possibility to enter BOB. It's always (Safari,Firefox) an error message like you have with Firefox. With Chrome there is no error message but it's also not loading the popup of Java. So it doesn't work with Chrome eather.

This test is important now. Here is the link for Chrome. http://www.hellopage.ch/test/testapplet/testmacsigned1_6.htm

Does this work with Chrome? Or is there the question to download Java also? I think it's exactly the same Applet like on BOB. I guess it works. Thanks a lot to tell me. Does it work also with Safari and Firefox?

By the way the Java control Panel you can start as follow. Go to Systempreferences -> Java -> Advanced -> Java Console -> Show Console.

As soon the Applet get started the Java Control Panel opens in the background. There you should see the text "first 1_6" at the and.

firefoxproblemonmac tarafından tarihinde düzenlendi

more options

i tried your app in all 3 browsers. Attaching screen shots of all 3 responses. But i didn't find that "first 1_6" on java console. I think u missing something.

more options

Tanks a lot for the test. The Text "first 1_6" is not missing. When I call this on Windows it works. One thing could be, go to Systempreferences -> Java -> Advance -> Debugging. There all the 3 should be on. If they were not on could you do it again? Here is a second Link. With this Link it works on the Mac of my customer with Firefox. After loading the page press a couple of times to "go". Then it should write out all the time "first 1_6".

http://www.hellopage.ch/test/testapplet/testmacsigned1_6_click.htm

With the old Link there should be the "first 1_6" allready after loading the page without clicking to "go". But this doesn't work on Mac with Firefox. At least at the Mac of my customers.

http://www.hellopage.ch/test/testapplet/testmacsigned1_6.htm

firefoxproblemonmac tarafından tarihinde düzenlendi

  1. 1
  2. 2
  3. 3