Solaris 10 Netscape, Java , (Javascript) JSObject  Issue.

Hi all,
I am migrating the source code from solaris 8 wtih CC compiler 4.2 to solaris 10 cc compiler 5.7 on x86 Machine. Most of Problems i got solution from C++ forum so i almost through. But while building one directory that contains some java Applets i got issues:-
1. Since its using
import netscape.javascript.JSObject; so it was not getting this JSObject on the latest Solaris 10 Machine. what i did i copied the /outils/netscape/solaris/java_301on solaris 10 Machine from solaris 7 Machine. then i build it again. every thing got build successfully and generated Input.class file but again it gave me following message
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
then i tried with -Xlint option and it again bounce me some errors.
So question here is that on Solaris 10 is there any thing else that i can use for Java Script i.e JSObject if there is no netscape i.e whats the default browser mozillla or netscape. and why java_301 is used and what will happend if i try something else other than java_301. as it was using
-classpath = /outils/netscape/solaris/java_301
while doing javac compiling. and other thing i see is
-classpath /usr/java/lib/classes.zip
but when i see version of java on solaris 10 there is no classes.zip. whats the use of this.??
and when i used -Xlint it bounce error with classes.zip not found.

This forum is about using Sun C++. Your question is about Java. You are more likely to get a helpful answer in java forum.
Try the java forum:
http://forum.sun.com/forum.jspa?forumID=8

Similar Messages

  • MyApplet.java:2: Class netscape.javascript.JSObject not found in import.

    Hi,
    Im getting: MyApplet.java:2: Class netscape.javascript.JSObject not found in import.
    import netscape.javascript.JSObject;
    Where can i get this package. Someone said jaws.jar, but its not to be found. Im new on this project and I dont know how the old people compiled this applet.
    JDK version is:
    Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)
    Thanks

    Thanks man!
    I installed the jdk1.4 on my workstation. I then compiled the program via JDeveloper and pumped the class over to my server.
    Thanks again.

  • Appletviewer: java.lang.NoClassDefFoundError: netscape/javascript/JSObject

    When I run the appletviewer: in trying to dedebug what the Java plugin fails to load I get this error:
    C:\Program Files\Java\jdk1.5.0_01\bin>appletviewer.exe http://www.java.com/en/
    java.lang.NoClassDefFoundError: netscape/javascript/JSObject
    at JavaCallJS.init(JavaCallJS.java:21)
    at sun.applet.AppletPanel.run(AppletPanel.java:373)
    at java.lang.Thread.run(Thread.java:595)
    Thanks!
    John

    Hi,
    Can you elaborate on your problem ? Also if you are using the netlet, please provide complete java console output
    Thanks!
    Satish

  • Where to download netscape.javascript.JSObject?

    I have this statement in my Java program
    import netscape.javascript.JSObject , and when i cannot compile. May I know where I can download this package?

    Hi,
    Check out below links, i hope it will help you.
    http://docs.iplanet.com/docs/manuals/js/server/jsref/lcjsobj.htm
    http://www.netscape.com/eng/mozilla/3.0/handbook/javascript/packages.htm#1007459
    http://www.mozilla.org/oji/MRJPlugin.html
    http://developer.netscape.com/docs/technote/javascript/liveconnect/liveconnect_rh.html
    http://www.innovation.ch/java/HTTPClient/disp_html.html
    Thanks,
    Dakshin.

  • Where i can find the package "netscape.javascript.JSObject;" ??urgent

    where i can find the package "netscape.javascript.JSObject;" ??urgent
    please

    The Java Plug-in 1.3 ships netscape.javascript in a JAR file called JAWS.JAR. To compile an applet which uses JSObject, just add JAWS.JAR in the CLASSPATH before compilation.
    If you don't have the Plug-in, but do have a Netscape browser installed, you can add the java40.jar file that comes with Communicator to the end of your CLASSPATH (or extract the netscape.* classes from there).

  • Ava.lang.ClassNotFoundException: netscape.javascript.JSObject

    Im not using netscape, why this error!!!!
    Help!
    java.lang.ClassNotFoundException: netscape.javascript.JSObject
         at com/ms/vm/loader/URLClassLoader.loadClass
         at java/lang/ClassLoader.loadClassInternal
         at com/sco/tta/client/portal/Mediator.init
         at com/ms/applet/AppletPanel.securedCall0
         at com/ms/applet/AppletPanel.securedCall
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.run
         at java/lang/Thread.run

    Hi,
    Can you elaborate on your problem ? Also if you are using the netlet, please provide complete java console output
    Thanks!
    Satish

  • Import netscape.javascript.JSObject;

    import netscape.javascript.JSObject;
    This library is deprecated? In this case. Can I replace it with another solution?
    Thanks.

    Not sure. First, I am not sure why you think JSObject is deprecated. After all the link I gave you is for Java 6.
    DOM seems to be more official and the way to go in the future, but they say only IE and Mozilla seem to support it.

  • Cannot Resolve Symbol  netscape.javascript.JSObject

    I am trying to communicate fom an applet to a javascript. I am usinjg jdk1.3.1 and did an import netscape.javascript.JSObject; in my applet class.
    When I compile I get cannot resolve symbol JSObject. The import does not seem to work.
    Do I have to download the package from somewhere and put it in the jdk1.3.1 dir in some place?
    Thanks

    Ive netscape 7.1 and the JSDK 1.4.2. The Java40.Jar doesnt seem to be present in my netscape folder anywhere so I assume that it isnt included in the newest version of netscape.
    I tried using the javaws.jar that came with my JSDK but it didnt work. I opened it up and searched it and saw no mention of a JSObject file.
    Im a little confused at this point. Where can I look up the location of the JSObject?

  • Passing struts-tag value to java / javascript variable in JSP

    Hello all,
    Im trying to pass the value got from the struts-tag to the java variable in the Jsp. However Im not able to get the o/p. Can u guys help me on this pls...
    <logic:notEmpty name="TreeBean" property="list">
        <logic:iterate id="Type" name="TreeBean" property="list" indexId="i">
         <br/><bean:write name="Type" />
        </logic:iterate>
    </logic:notEmpty>Here the list can be populated in the jsp page. However i want the values into jsp list. Im not able to populate the same..
    <% List jspList = null;
    %> I want the values into the jspList variable for further processing. Can u guz pls help me on this....

    Which do you want it in?
    A java variable for use in <% scriptlet code %> or a javascript variable for use on the client end?
    scriptlet:
    <jsp:useBean id="TreeBean" type="java.util.List" class="java.util.ArrayList" scope="?????" />
    Having scriptlet code on the page is considered bad coding style.
    What is it you are trying to accomplish by making the value accessible?
    What are you trying to do in java / javascript that can't be done with JSP tags?

  • Reg ::Java Plug in issue in linux 5.7

    Folks,
    I am facing jave plug in issue and cant open the form as itis geting error java plug in need
    FYI,
    [root@apps12 ns7]# uname -a
    Linux apps12.com 2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 20:
    **11 i686 i686 i386 GNU/Linux**
    <!-- JDK plugins -->
    <sun_plugin_ver oa_var="s_sun_plugin_ver">1.5.0_10</sun_plugin_ver>
    <sun_plugin_type oa_var="s_sun_plugin_type">jdk</sun_plugin_type>
    /usr/java/jre1.5.0_10/plugin/i386/ns7
    [root@apps12 ns7]# ls -ltr
    total 112
    -rwxr-xr-x 1 root root 102464 Nov 10 2006 libjavaplugin_oji.so
    [root@apps12 firefox-3.6]# cd plug*
    [root@apps12 plugins]# ls -ltr
    total 4
    lrwxrwxrwx 1 root root 58 Mar 31 05:53 libjavaplugin_oji.so -> /usr/java/jre1.5.0_10/plugin/i386/ns7/libjavaplugin_oji.so
    [root@apps12 plugins]# cd /usr/lib/mozilla/plugins
    total 4
    lrwxrwxrwx 1 root root 58 Mar 31 06:00 libjavaplugin_oji.so -> /usr/java/jre1.5.0_10/plugin/i386/ns7/libjavaplugin_oji.so
    pls advise for the same
    Thanks
    Edited by: JuniorDBA on Mar 30, 2012 3:13 PM

    I am facing jave plug in issue and cant open the form as itis geting error java plug in needAre you trying to run the application from a Linux client? If yes, please note it is not certified -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Linux+AND+client&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    If you are trying to do something else, please post the details of the application release, database version and OS along with what you are trying to achieve.
    Thanks,
    Hussein

  • DNS Address in Solaris 10 java desktop

    Hi
    I have recently installed solaris 10 I am using Java desktop
    I configured Ip address I can able to get ping from other pc
    But I can not start Internet from Solaris 10 Os'
    So pl. guide How can I provide Gateway and DNS IP address In Solaris 10 Java Desktop
    Regards
    Satish

    Cross-posted the same question to two different forums.
    http://forum.java.sun.com/thread.jspa?threadID=5265020
    Don't do that.
    You'll forget where the responses might be.
    You might get a partial answer in one post,
    then a partial answer in the other one.
    Just don't cross-post.

  • Is it possible to involke Tooltip in Excel through Java/JavaScript code?

    Hi all.
    NOTE: This is a cross-post from 'Java Programming'.
    Is there any possibility to invoke 'Tooltip' in 'MS Excel- cells' using Java/JavaScript Coding?
    If so, how can we implement the same?
    Thanks in advance all.

    well which do you mean? java or javascript? don'tsay
    'either' because they're not interchangeable. ifyou
    mean javascript, be advises this isn't ajavascript
    forum. not even a bitOK...Its in Java...I fucking hate this reply.
    Can anyone plz do reply the stuff.
    No. You can't do it directly in Java.

  • How do I view captcha/image verification images/text boxes, since I can't even though java/javascript is enabled

    I've been using the latest version of FireFox since it was last updated. The captcha/image verification thing that I have been unable to view is one located on FanFiction.Net's login page under the query 'Are you human?'. Its become quite a bother and has been hindering myself from completing my daily routine.
    I have enabled my java/javascript in the tools>options as well as in the add-ons. I also have the latest version java/javascript, yet nothing happened. I have yet to find a solution in the online forums or blogs for my problem.
    I use Windows XP with its latest service pack (3).
    Even the version before the latest one has the same problem for me.

    I just came across a captcha on text.vzw.com that wouldn't work, even after trying all the various suggestions that I've come across.
    What finally worked for me (I'm using FireFox 6.0.2 on top of Windows XP Professional), was allowing popups on that site and allowing session cookies. I think it's the session cookie that finally did it. If you keep your security tight, you can remove the session cookie after you finish what you're doing.
    Barb

  • Netscape.javascript.JSObject without applets - Urgent!

    Hi,
    I need to evaluate some Javascript expressions inside my java code... BUT my code is not inside an Applet class. Does anyone know how to do it?
    I chose to use the netscape.javascript package, it work well inside an applet.. but my application doesn't run inside an applet. When I try to run it inside a standalone application it fails (even if the application extends from the Applet class).
    Here is part of the code:
    public class Applet1 extends Applet {
    public void init() {
    try {
    String out;
    JSObject win = JSObject.getWindow(this);
    out=win.eval("2+3;").toString();
    jLabel1.setText(out);
    System.out.print(out);
    public static void main(String[] args){
    Applet1 app=new Applet1();
    app.init();
    The code runs perfect inside Internet explorer, but it crashes when running in standalone mode.
    Thanks.

    I need to evaluate some Javascript expressions inside
    my java code... BUT my code is not inside an Applet
    class. Does anyone know how to do it?Haven't actually used it, but Mozilla has the Rhino JavaScript interpreter:
    http://www.mozilla.org/rhino/
    Also you could Google for FESI, which is an ECMAScript interpreter (basicly an early version of JavaScript that went through the standards process).

  • Netscape.javascript.JSObject outside an applet class

    Hi,
    I need to evaluate some Javascript expressions inside my java code... BUT my code is not inside an Applet class. Does anyone know how to do it?
    I chose to use the netscape.javascript package, it work well inside an applet.. but my application doesn't run inside an applet. When I try to run it inside a standalone application it fails (even if the application extends from the Applet class).
    Here is part of the code:
    public class Applet1 extends Applet {
    public void init() {
    try {
    String out;
    JSObject win = JSObject.getWindow(this);
    out=win.eval("2+3;").toString();
    jLabel1.setText(out);
    System.out.print(out);
    public static void main(String[] args){
    Applet1 app=new Applet1();
    app.init();
    The code runs perfect inside Internet explorer, but it crashes when running in standalone mode.
    Thanks.

    You can also use Rhino to execute JavaScript
    http://www.mozilla.org/rhino/

Maybe you are looking for

  • RAID controller on G4; problems... is RAID dead? Help please!

    Hey. Here's the deal... Our graphics department has a MAC G4 (fully upgraded. newest patches, OS, etc.) that's got a 4 port SATA RAID controller. They use this with four 750GB hard drives as an external RAID (the OS is on a seperate, 65GB hard drive)

  • New PC For CS6

    Hello everyone I want to Build a new PC For Pr & Ae What is your suggestion? Chassis: Zalman Z9 Plus PSU: Corsair Pro Gold AX750 M.B: MSI Z68A-GD55 CPU: Intel i7 2700K Cooler: Antec 620 RAM: 4 x 4 GB 1600 GPU: Asus GTX 670 SSD: OCZ Vertex 4 128 GB HD

  • HTTP 500 issue

    Hi, I finished most of setup of R12. i am able to login the DB using apps. but i got HTTP 500 issue when going to http://win03dell.MyHome.com:8000/OA_HTML/AppsLogin like http://dl.dropbox.com/u/40211031/t29.jpg Thanks & Best Regards, HuaMin

  • Problems with Data collection in CM 5.0.6

    Hello: I have installed LMS 3.0.1 and CM 5.0.6, and I have some problems with CM: -Although data collection is scheduled, this does not run. I try to launch it from CM menu, it asks if I want the collection of all devices or the new ones. I try the t

  • Imac camera is static can't see pic at all

    tried restarting and used facetime and photobooth and skype and all same result. can see outline of me in pic but is all static like tv with bad antenna. cant find fix. It always did work good but just noticed yesterday that it isnt now.