LIVE CONNECT: Applet-Javascript interaction: JSObject.class

Does anyone know where I can get a copy of "java40.jar", or its latest equivalent?
It contains JSObject.class and JSException.class, and is needed for LiveConnect functionality.
The file used to be part of Netscape's Netscape Java Classes, distributed with old Communicator distributions. None of this is contained in Netscape's latest offerings. Not a word from Netscape on the subject , though LiveConnect was primarily their baby.
Thanks in advance,
Laurence

Netscape.javascript is in the plugin.jar not in the java40.jar.
jre 1.4.0_03 and higher installation:
{java.home}\lib\plugin.jar
before 1.4.0_03
{java.home}\lib\jaws.jar

Similar Messages

  • HeLp!!! The earlier version of Fifefox supports "Live Connect" but the 3.6 doesn't. I need to downgrade my FireFox to an earlier version for my online classes. I'm desperate because I was supose to start class 10 days ago and cant. Please, help....

    I looked in Firefox properties to find what I Firefox i am using and it shows the following:
    The Firefox File version is: 1.9.2.3951
    The File Name is: 1.9.2.12
    The Product Version is: 3.6.12
    My problem is this: The company I work for "Prudential R.E." has online training courses. I can't access it because I get the following message: "You cannot play the learn 2 course content with this version of netscape" because it has no live connect support"
    The training center for Prudential told me this: ""Currently the LearnCenter does not support Firefox 3.6 but does support the
    earlier versions and this could be the issue.""
    How do I get the earlier version of Firefox?
    And if I can get the earlier version of Firefox. "How do I fix this problem? Do I uninstall all of Firefox and then reinstall the earlier version if I can get access to a download of it somewhere?
    Please Help...
    Thanks

    It seems you need to update Java on your computer.
    See this
    https://jdk6.dev.java.net/plugin2/#LIVECONNECT
    You should be able to do that from the Windows control panel

  • How do you use the JSObject class?

    Hello everyone,
    So, I am trying to make a java applet call a java script function and I am having some problems.... I began by looking at the JSObject class.... Does the JSObject class come standard with an installation of java? or do I have to find it separately? Also, does it make a difference as to what operating system I'm compiling my applet one? I have been developing in mac, and I cant get my applet to compile, it claims that the netscape.javascript package can't be found..... Any suggestions on this? I'm kinda new to Java web development, as I have only been doing it for a month or so, so please keep any answers simple. Also, any other suggestions by which an applet can call a javascript function are greatly appreciated. Thanks beforehand.

    >
    So, I am trying to make a java applet call a java script function and I am having some problems.... I began by looking at the JSObject class.... Does the JSObject class come standard with an installation of java? or do I have to find it separately? >It is included in the JRE, but 'well hidden'.
    >
    Also, does it make a difference as to what operating system I'm compiling my applet one? >Quite possibly. The Win version puts the main classes into rt.jar, but the netscape classes are in plugin.jar. These are both in the general path ${java.home}/lib/.
    >
    ..I have been developing in mac, and I cant get my applet to compile, it claims that the netscape.javascript package can't be found..... Any suggestions on this? >Add the classes (once you locate them), onto the compile time classpath. I could give you links to documentation on how to do that for either *nix or Windows, but I am not sure how Mac does it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Applet/Javascript/JSP Communication

    I have defined the following for applet/javascript communication in my applet class
    JSObject topWindow;In my init() method I initialised topWindow as follows
    topWindow = JSObject.getWindow(this);I wrote this call to javascript in my applet destroy method.
    String userDetailsString[] = {String.valueOf(userCount), String.valueOf(userNumber)};
    topWindow.call("closeWindow", userDetailsString);My javascript method is as follows in my html page which has the applet
    function closeWindow(args)
               var userCount = args[0];
          var userNum = args[1];
          var filename = "http://localhost:7001/decrement.jsp?userCount="+userCount+"&userNum="+userNum;
          win1 = window.open(filename,'Logoff',config='height=100,width=200,toolbar=0,scrollbars=0,resizable=0,left=300,top=75');
       }This decrement.jsp call is a file on Weblogic and its supposed to decrement the value of userCount for the UserNum using a sql update query which are passed from the applet to javascript and then to this jsp.
    When I close the browser which should call the destroy method in the applet nothing happens and my javascript is not triggered. I do have MAYSCRIPT in my applet tags and also have the MAYSCRIPT as a param with true as its value within applet tags.
    Where am I going wrong and also have I used the args variable in my javascript correctly to retrieve the values from the applet into the javascript?
    Thanks

    Try to use window.eval("..") That could help sometimes!

  • Connect applet to database using JDBC

    I try to connect Applet to database, but have error:
    Access denied (Java.lang.Runtime.Permission access Class In paclage.sun.jdbc.odbc)
    I think the reason is the security issue, but how to implement the security issue in the code?
    Help me...

    If you aren't using the plugin, changing the policy file for the Java Runtime Environment (JRE) won't do anything. Changing the policy file and signing the applet are two ways of granting an applet permission. I only use changing the policy file for testing purposes. I broke down and bought a certificate after I realized I would have to change the policy file on hundreds of machines, and do it again if the server changed.
    You sound like you should be using the plugin. Appletviewer knows about the JRE and uses it. You need to change your HTML to use EMBED and OBJECT tags instead of APPLET tags (use HTMLConverter).
    sun.jdbc.obdc.JdbcOdbcDriver is in rt.jar, which is in /Prog Files/Javasoft/JRE/1.3???/lib and is installed when the pluggin is installed (which happens automagically when using the EMBED and OBJECT tags). It was also loaded on your development machine when you installed the SDK.
    You can remove the need to sign the applet to test whether this is a security problem or machine configuration problem. If you copy the .html and .class files to a directory on a machine you expect it to run on, start your browser and type 'C:\MyDirectory\MyApplet.html' in the address bar. Applets loaded locally are granted all permissions.

  • Mac/FireFox Java/JavaScript interaction bug

    Hi,
    I'm desperately trying to find a solution to a very platform-specific issue. Basically, I'm trying to get an applet to interact with the DOM of a web page. The basic procedure should be as follows:
    1) Page loads
    2) Applet loads
    3) Applet reads in data file (as specified by parameter in object tag)
    4) Applet sets title of document to contents of datafile
    5) Applet sets flag to indicate that it's finished
    6) Javascript checks flag regularly
    7) When applet flag is set, JavaScript transfers the title to the body (using a div and changing the innerHTML property)
    This works perfectly on most platforms (FF2/PC, FF3/PC, IE6/PC, IE7/PC, Safari/Mac) but for some reason FF/Mac isn't working. Or rather it is, but only about once per 50 attempts.
    I had read that having an applet inside a <div> tag was a problem for FF/Mac, so I moved it outside, but it's still not working. Most of the time the applet is simply failing to set the title.
    I'm using Eclipse for development, and the following libraries:
    java.net.URL
    org.w3c.dom.html.*
    com.sun.java.browser.dom.*
    The Java code in question is as follows:
    DOMService serv = DOMService.getService (this);
    dummy = (String) serv.invokeAndWait (new DOMAction () {public Object run (DOMAccessor accessor) {HTMLDocument website = (HTMLDocument)accessor.getDocument (FeedApplet.this); website.setTitle(docstring); return website.getTitle ();}});
    Any help would be much appreciated - thanks!
    Andrew

    Thanks for your replies. Sorry for being a bit vague - it was an end-of-the-day-end-of-my-wits posting!
    baftos, I've tried replacing the init() routine with a start() routine, but this hasn't changed anything. The problem appears to be with the Javascript timing, in that it's assuming the applet has finished before it has actually finished.
    jschell, step 4 appears to be the one that's failing. The title isn't being changed, but usually the taskbar says that the applet has started (occasionally it comes up with a NullPointerException). The system just seems to wait for a long time and nothing happens.The Javascript checks every second to see if a $ symbol (which is effectively the trigger) has appeared in the title, and if so then it moves the contents of the page from the title to the holding div. The flag in the applet is reset on starting the applet, and accessed through a get-type method, so it shouldn't be cached.
    It works in OmniWeb and Safari on a Mac, and IE/FF/Opera on a PC, so it's very specifically rooted in the FF/Mac problem zone.

  • Applet / Browser interaction

    Hi all,
    Does anybody know if an applet can send messages to the containing browser page?
    I am invoking a method on an applet from inside a javascript, which is invoked from
    a DHTML event (OnClick). This javascript also moves the applet (Inside a span) to the position on the page to be used.
    What I need is the reverese procedure, so when the applet has finished it's task,
    to invoke another piece of javascript from the host page to move the applet off the page again.
    The javascript -> applet works great. Now I need Applet -> Javascript.
    Any ideas?

    Sorted.
    I've discovered the delights of JSObject. Does the trick well.

  • Live Auction Applet Logo

    Dear Friends,
       My requirement is to change the Logo to my company logo in Live Auction applet logo. Could you help me out.
       Also please help me in learning about SRM from technical perspective. I have read documentation but need more help.
    Regards,
    Deva.

    Hi Deva,
    Happy too
    Please do not forget to reward
    Kind regards,
    Yann

  • I need to backup TC's drive. How do I do this to WD MyBook Live connected to TC via Ethernet?

    I need to backup TC's drive. How do I do this to WD MyBook Live connected to TC via Ethernet?

    P.S. Solved it exactly the other way around (compared to the original intent). 4 simple steps:
    1. Made WD's MyBook Live my primary file server.
    2. Made WD's MyBook Live my backup location for Time Machine (moving to it made me reconfigure TM on all home Macs = new full backups and no old data left - but I didn't really need old backups - they were sitting there just in case).
    Added bonus - on MyBook Live it is easy to create shares (so that now my general file server is separate from my photo archive and software archive, etc.) - while on TC I had to partition the drive.
    3. Moved all files from TC to MyBook Live.
    4. Erased all data from TC - so that its drive is clean.
    5. Instructed MyBook Live to automatically backup itself to TC.
    Job done.

  • How to Use JavaScript in Controller Class...

    Hi All,
    Can any one tell me how to use JavaScript in Controller Class.
    Requirement is:
    I have
    Radio Group(RG1),
    Two Radio Buttons(RB1,RB2),
    Two messageTextInput(MTI1,MTI2),
    if i click RB1 i should Prompt to the end user to "Enter value for MTI1" or
    If i click RB2 i should prompt "Enter value for MTI2" while submitting page.
    Please let me know the steps to use JavaScript and the above client validation...
    Regards
    Alem...

    Using javascript is against the standard. I can tell you a workaround instead of you setting the javascript, check if that would be acceptable.
    You can use PPR and set the required property on the messageTextInput on clicking of the radio button. By doing this you will let UIX generate the javascript for you to handle the client side validation. But the validation will happen only on click of the submit button. The visual indicator is good enough to tell that the value has to be entered to the item.

  • SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010]

    look at this post am getting the same
    http://social.msdn.microsoft.com/Forums/en-US/sqlkjmanageability/thread/4c8ca86c-105f-4f0a-ac18-6e33dda2bc46
    but when I tried the solution given there , It is not working
    the error I am getting is mofcomp is not recognized as internal or external command
    I tried in  C:\program files\Microsoft sql server\90\shared  and in Windows\system32
    I am getting the same error

    Hi sql393,
    Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid class [0x80041010].
    The solution is to go to a command prompt and then run mofcomp.
     C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
    For more information, please refer to
    http://blogs.msdn.com/b/echarran/archive/2006/01/03/509061.aspx
    http://msmvps.com/blogs/martinpoon/archive/2009/11/27/sql-server-configuration-manager-cannot-connect-to-wmi-provider-invalid-class-0x80041010.aspx.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • Applet javascript communication

    hi all,
    I want my applet to flash the browser window, came to know that can be done
    using applet javascript communication.
    ne1 has ne idea how to do that.
    thx in adv,
    kiran

    ???

  • SRM Live Auction Applet

    Hello SRM Experts,
    We having SRM 5.0 classic scenario and LAC WPS 5.0. I created a Live Auction and the status are Ready, Aktiv, Published and Complete. I have also a LA session number, but when I use the Link "Live Auction" in AUC/BID Screen I got following Applet error message.
    +Service cannot be reached
    What has happened?
    URL http://bitb72.sap.bitgv.de:8000/sap/bc/gui/sap/its/_accessibility=0 call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system B72 with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:bitb72_B72_00-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team+
    In the next step I was using the Live Auction Applet Smoke Test. After enter the Auc session number and the purchaser`s user name and password the message "Auction cannot be viewed in current status" appears in Pop-Up Window.
    When I enter the Bidder´s user name and passwort the message "Your are not authorized to display the auction" appears in Pop-Up Window.
    The Roles are like following:
    Purchaser:
    SAP_BBP_STAL_OPERAT_PURCHASER
    SAP_EC_BBP_EMPLOYEE
    SAP_EC_BBP_OP_PURCHASER
    Bidder:
    SAP_BBP_STAL_BIDDER
    SAP_EC_BBP_BIDDER
    I have no idea what the issue is. The smoke test looks fine all tests are on green light. Maybe there is a problem with vendor-BP-Bidder Relationship.
    Thank you very much for your answer in advance.
    Kind Regards
    Axel

    Hi
    <b>Please refer to the following SAP OSS notes -></b>
    <u>Note 687840 - Live Auction does not work after JAVA patch via SDM
    Note 670992 - Patch for LAC WPS 1.0
    Note 669562 - Live Auction 1.0 - General patch deployment procedure
    Note 998201 E-Sourcing Enterprise SRM Java Server 4.2 SP3 Release & Info
    Note 998099 E-Sourcing Enterprise plus Contracts 4.2 SP3 Release & Info
    Note 814201 Quot submission despite deletion from bid invitation (2)
    Note 36677 Structure of components for customer messages
    Note 730403 No notification of ban to banned bidder</u>
    Hope this will definitely help.
    Regards
    - Atul

  • Flex Javascript interaction

    In my application, the Flex Javascript interaction works
    correctly only when I have a "alert" pop-up!!! I do not want the
    "alert" in my final application.
    Here is my code snippet:
    Javascript code:
    <script language = "JavaScript" type="text/JavaScript"
    charset="ISO_8859-1">
    var jsReady = false;
    function isReady()
    return jsReady; //to set up communication with Flex
    function pageInit()
    // Record that JavaScript is ready to go.
    jsReady = true;
    var newTerm="Flex"; //This is the input variable, right now
    its hard-coded
    alert(newTerm);//this alert causes trhe problem, I get to see
    the desired output with alert, but without alert, I get "Error on
    Page"
    getMyApp("test").myFlexFunction(newTerm);//call to Flex
    function
    function getMyApp(appName) //Function to find the type of our
    browser
    if (navigator.appName.indexOf ("Microsoft") !=-1)
    return window[appName];
    } else {
    return document[appName];
    </script>
    pageInit() is called onLoad in body tag==> possible cause
    of problem

    Hey Tracy! Thanks for replying!
    Here is the ExternalInterface code. I am working on Yahoo
    API. So you will find some API calls there.
    =========================
    [Bindable]
    public var question:Question;
    public function myFunc(s:String):void
    var keyword:String;
    params.results = 50;
    params.type = "resolved";
    searchService.searchQuestionsByTerm(s, params);
    private function setupCallbacks():void
    ExternalInterface.addCallback("myFlexFunction",myFunc);
    private function isContainerReady():Boolean
    var result:Boolean = ExternalInterface.call("isReady");
    return result;
    public function startUp():void //initial call made hwn the
    application starts
    var isAvailable:Boolean = ExternalInterface.available;
    trace(isAvailable.toString());
    if (ExternalInterface.available)
    var containerReady:Boolean = isContainerReady();
    if (containerReady)
    // If the container is ready, register the SWF's functions.
    setupCallbacks();
    else
    trace("External interface is not available for this
    container.");
    // Define the Event Listeners for the Answer Service
    searchService.addEventListener(AnswersResultEvent.QUESTIONS_SEARCH,
    questionsResult, false, 0, true);
    searchService.addEventListener(AnswersErrorEvent.ERROR_EVENT,
    showError, false, 0, true);
    =======================

  • Maximum concurrent vod and live connections

    How to check maximum concurrent vod and live connections for a server could afford?
    What factors will be depended?   For internal use, the NIC should be 1G port.
    How I will know that the maximum capacity for the server had been reached?

    I have already read the white paper from http://www.adobe.com/content/dam/Adobe/en/products/ams/pdfs/ams5-intro-wp.pdf.
    When to choose HDS are:
    Examples of use cases for HTTP Dynamic Streaming include the following:
    • Adaptive streaming behind restrictive firewalls
    • Massive-scale live broadcasting
    • Enhanced seeking over standard HTTP connections
    • Enterprise streaming on existing network infrastructure
    On other hand, as in-house deployment without firewall and also could allow port 1936 inside internal network.   So above benefits seem not significant.
    So other than above reasons, how RTMP and HTTP will be differed in performance and others?

Maybe you are looking for