5 Replies Latest reply on Jul 20, 2007 3:41 AM by Newsgroup_User

    How do I enable Java?

    Alex_di_mi
      Hi,
      At the bottom of most pages of my site 'error on this page' appears with an exclamation mark.
      In dreamweaver help I read that it means that there is most likely a syntax error and that I should run the debugger, but when I press on it to start this message appears:
      'You appear to have Java disabled (or not installed) in your browser. Java must be active to use the JavaScript debugger. Please enable the Java VM (in your browser's Preferences or Internet Options dialog box) and restart the debugger.'
      I have gone into 'Preferences' and cannot see how I should enable Java. And 'Internet Options' doesn't even seem to exist. I have Dreamweaver 4 is this why?! Can anyone tell me how I can enable Java in order to run the debugger?
      I would really appreciate some help!!!
      Alex

        • 1. Re: How do I enable Java?
          Level 7
          > In dreamweaver help I read that it means that there is most likely a
          > syntax
          > error and that I should run the debugger, but when I press on it to start
          > this
          > message appears:

          Where does it say that? If it actually does, then it's probably an antique
          reference that should be removed.

          Show us your page, and we'll tell you what the error is and how to fix it.
          It's almost always some missing javascript on the page, and that certainly
          doesn't require debugging to find!

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "Alex_di_mi" <webforumsuser@macromedia.com> wrote in message
          news:f7n6tb$14a$1@forums.macromedia.com...
          > Hi,
          > At the bottom of most pages of my site 'error on this page' appears with
          > an
          > exclamation mark.
          > In dreamweaver help I read that it means that there is most likely a
          > syntax
          > error and that I should run the debugger, but when I press on it to start
          > this
          > message appears:
          > 'You appear to have Java disabled (or not installed) in your browser. Java
          > must be active to use the JavaScript debugger. Please enable the Java VM
          > (in
          > your browser's Preferences or Internet Options dialog box) and restart the
          > debugger.'
          > I have gone into 'Preferences' and cannot see how I should enable Java.
          > And
          > 'Internet Options' doesn't even seem to exist. I have Dreamweaver 4 is
          > this
          > why?! Can anyone tell me how I can enable Java in order to run the
          > debugger?
          > I would really appreciate some help!!!
          > Alex
          >
          >
          >


          • 2. Re: How do I enable Java?
            Alex_di_mi Level 1
            Hi,
            Like I said I have Dreamweaver 4 so maybe it's too old but this is what the help says :
            'Macromedia Dreamweaver's JavaScript Debugger allows you to uncover errors in your client-side JavaScript code. You can write the code using Dreamweaver's Code view (or Code inspector), then run the debugger to check your code for syntax and logical errors. A syntax error causes the browser to report an error message; a logical error causes your page to function incorrectly, but is not reported by the browser. '
            Anyway, my website is www.alex-original-handbags.com and at the minute only two pages don't seem to get an error message at the bottom; home and about. This makes no sence to me as they we all done in the same way. I did the 'clean up HTML' on all pages but the error still appears... do you know how I can fix this? Is getting the debugger to work the answer or is there another way?
            Thanks
            • 3. Re: How do I enable Java?
              Level 7
              The error message on the home page says 'Line 9'. Here's line 9 -

              <body bgcolor="#FFFFFF" text="#333333"
              onLoad="MM_preloadImages('flower%20pattern%20-%20titel%20bar.JPG')"
              link="#333333" vlink="#FF0066" alink="#333333">

              Note that it's calling a javascript function "MM_preloadImages()". Note
              also that this function is NOT defined on the page. That's why it's
              throwing an error.

              The solution is to open the page in DW. Click in Design view. Select
              <body> on the TagSelector bar. In the Behaviors panel, you should see
              "Preload Images" listed for the <body> tag. Double click that behavior's
              name in the Behaviors panel. When the dialog for the behavior opens, click
              OK to close it again. This forces DW to write the missing javascript to the
              page, and your error will disappear.

              Now - DW4 is a serious antique. It's so old, and so out of date with regard
              to many of its javascript behaviors and the current crop of browsers, that
              some of them simply will no longer work properly. This error is NOT a case
              of that, but image swaps, for example, will be a problem....

              Also, of the pages in your site, ONLY THE ABOUT page does not call that
              preload images function. And, it's the only one that doesn't throw the
              error - all the rest of them do.

              And finally, your use of spaces and mixed case in file/pathnames is an error
              waiting to happen -

              flower%20pattern%20-%20titel%20bar.JPG

              This is defintely NOT a best practice. use all lowercase, and if you must
              puctuate, use only underscores and hyphens.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "Alex_di_mi" <webforumsuser@macromedia.com> wrote in message
              news:f7nn1o$jg2$1@forums.macromedia.com...
              > Hi,
              > Like I said I have Dreamweaver 4 so maybe it's too old but this is what
              > the
              > help says :
              > 'Macromedia Dreamweaver's JavaScript Debugger allows you to uncover errors
              > in
              > your client-side JavaScript code. You can write the code using
              > Dreamweaver's
              > Code view (or Code inspector), then run the debugger to check your code
              > for
              > syntax and logical errors. A syntax error causes the browser to report an
              > error
              > message; a logical error causes your page to function incorrectly, but is
              > not
              > reported by the browser. '
              > Anyway, my website is www.alex-original-handbags.com and at the minute
              > only
              > two pages don't seem to get an error message at the bottom; home and
              > about.
              > This makes no sence to me as they we all done in the same way. I did the
              > 'clean up HTML' on all pages but the error still appears... do you know
              > how I
              > can fix this? Is getting the debugger to work the answer or is there
              > another
              > way?
              > Thanks
              >
              >


              • 4. Re: How do I enable Java?
                Alex_di_mi Level 1
                Just wanted to say thanks!
                I've gone back and changed the coding and the name of the files as well and the error message is gone!
                I'm super happy!
                • 5. Re: How do I enable Java?
                  Level 7
                  Good luck!

                  --
                  Murray --- ICQ 71997575
                  Adobe Community Expert
                  (If you *MUST* email me, don't LAUGH when you do so!)
                  ==================
                  http://www.dreamweavermx-templates.com - Template Triage!
                  http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                  http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                  http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
                  ==================


                  "Alex_di_mi" <webforumsuser@macromedia.com> wrote in message
                  news:f7q0se$fp3$1@forums.macromedia.com...
                  > Just wanted to say thanks!
                  > I've gone back and changed the coding and the name of the files as well
                  > and the error message is gone!
                  > I'm super happy!
                  >