Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Scripting

  Switch on low bandwidth view
This page is specific to
.NET Framework 3.0

Other versions are also available for the following:
JScript
JScript (Windows Script Technologies)

The following sections explain how to use JScript and provide details about its language elements.

JScript User's Guide

Provides information about how to use JScript and includes a guide to regular expressions.

JScript Language Reference

Explains the elements that comprise the JScript language.

VBScript

Includes information about how to use VBScript and reference information about the language.

Community Content   What is Community Content?
Add new content RSS  Annotations
jscript compilation effor      gk1941 ... pa bear   |   Edit   |   Show History

When run java, a window pop-up and show JScript compilation error and Expected ';' . How to fix it?

Am desperate - needs an answer on how to fix it


This is what i found and it worked

Despite what you have have heard, JRE v1.6.0_10 is NOT a security-related
update. It may be that the pages where you're encountering problems are not
compatible with this newer version. (I have v1.6.0_07 installed here and
encounter no problems.) See if uninstalling v1.6.0_10 and then installing
v1.6.0_07 *exactly per the following* resolves the behavior:

[You may want to print or copy/paste these instructions into Notepad for
offline reference.]

1.Go to http://java.sun.com/products/archive/j2se/6u7/index.html

2. Click on the download link for 'JRE 6u7'

3. Select appropriate option (i.e., Windows) and accept the EULA

4. On the resulting page & *without checking the box*, click on
'jre-6u7-windows-i586-p.exe' directly underneath 'Windows OFFLINE
Installation' and SAVE the download to your desktop; do not RUN it.

5. Open Add/Remove Programs | Uninstall anything that says Sun Java, Java
JRE, or similar (e.g., jre1.6.0_10; jre1.5.0_9; etc.) | Exit.

6. *Close all browser windows* and double-click on the file you saved in #4
above to install the v1.6.0_07. Be patient: It may take five (5) minutes or
more for the installation to complete.

NB: UNCHECK the option to install Google Toolbar (or any other software
offered) if you don't want it!

7. Delete the downloaded installation file (#4 above) after completing the
above procedure and reboot if not prompted to do so.

8. Test
--
Tags What's this?: daya (x) Add a tag
Flag as ContentBug
JScript compilation error      brianccc   |   Edit   |   Show History
It is work. Thank you.

By the way, is it possible for me to upgrade Java to Version 6 update 13?
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker