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.

Similar Messages

  • 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

  • Class javax.rmi.PortableRemoteObject not found in import

    I have successfully tested test1.jsp calling stateful ejb test1ejb under JDEV9032. On deploying to standalone OC4J903, the following error occurred on accessing the jsp:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:D:\O9IAS\j2ee\home\application-deployments\test\testWEB\persistence\_pages\\_test1.java
    Line # Error 10
    Class javax.rmi.PortableRemoteObject not found in import. import javax.rmi.PortableRemoteObject;
    Appreciate some pointers on how to troubleshoot this problem. Thanks. William Chew.

    This error is due to the c:\windows\system32\java.exe being first on the path instead of the d:\jdev9i\jdk\bin\java.exe being picked up.

  • Class javax.crypto.SecretKey not found in import.

    While compilation i am getting this error.
    Class javax.crypto.SecretKey not found in import.
    I am not able to figure it out . Please help me for that.
    Is it related to some classpath setting.

    This error is due to the c:\windows\system32\java.exe being first on the path instead of the d:\jdev9i\jdk\bin\java.exe being picked up.

  • 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

  • Netlet Error ;java.lang.ClassNotFoundException: netscape.javascript.JSObjec

    Im using Iexplorer 6 winXP.
    During loading a netlet i got this error:
    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
    The first error message was that netscape was detected (unleless i was using ie) I erase the security manager as described earlier in this forum, but nothing, so i erase all file containing netscape, and now my netlet doesnt even start!
    What sould I do?

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

  • Class not found in import

    I am new to the Java technology and am running into some problems getting started. Initially, I was getting the following error: Class javax.swing.JOptionPane not found in import. After realizing that I needed to unzip the src.zip file, I did so. I tried compiling again and got the same message. I came across a website that talked about setting the CLASSPATH. So I set the class path like so: set CLASSPATH=.;C:\;c:\j2sdk1.4.2_04\src;. Finally! I got passed the first error. However, what followed was quite depressing. 50 Errors! Looks like the compiler can not find any class I import that starts with "sun.". I looked where I can see the javax folder and there is no sun folder. Did I miss something in the installation? Is there a workaround for this? I thought I read somewhere that you shouldn't import sun.* classes, but what happens when it is in the delivered packages? TIA Ryan

    Well to start off... The file Src.zip only contains source files nothing compiled so it useless unless you want to look at the source code, the Java Class files are in a "Jar" file...
    Set your (system) path to c:\j2sdk1.4.2_04\bin
    your ClassPath should only point to the new class files that you created...
    ( I don't even have the ClassPath set on my computer)
    And this link deals with setting the classpath...
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    That should take care of it... Here are some links for you to check out...
    The Java Tutorial
    http://java.sun.com/docs/books/tutorial/index.html
    Essentials of the Java Programming Language: A Hands-On Guide, Part 1 and 2
    http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/
    http://java.sun.com/developer/onlineTraining/Programming/BasicJava2/
    Language Essentials Short Course
    http://java.sun.com/developer/onlineTraining/JavaIntro/contents.html
    Tutorial Index
    http://java.sun.com/developer/onlineTraining/index.html
    - MaxxDmg...
    - ' He who never sleeps... '

  • Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType

    I have the following code written in java in a unix box and this is the error I get when compiling the code. I am not able to find which specific jar or class file I need, Kindly help.
    XMLHelper.java:0: Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType.
    ^
    1 error
    OracleResultSet orst = .... some code to get data
    orst.next();
    //either of the following 2 lines give the same error
    //XMLType dXml = XMLType.createXML(orst.getOPAQUE(1)) ;
    XMLType dXml = (XMLType)orst.getObject(i);
    xmlDoc = dXml.getDOM();
    Please help

    Hello,
    from the little information in your post i would say try to import oracle.sql.*, oracle.jdbc.* and oracle.xdb.*. Make sure your project can access the following libraries ojdbc14.jar and xdb.jar.
    Regards, Marc

  • 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?

  • 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).

  • 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.

  • 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.

  • When compiling I get msg: Class java.io.* not found in import.

    import java.io.InputStreamReader;
    import java.io.BufferedReader;
    import java.io.IOException;
    public class CheckNumber {
    //program that checks the input buffer has valid integer value
         public static void main(String[] args) {
              String inLine = null;
              int checkInteger = 0;
              try {
              BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in) );
              System.out.print("Enter a valid Integer and hit <ENTER>: ");
              inLine = inStream.readLine();
              checkInteger = Integer.parseInt(inLine);
              } catch (NumberFormatException nfe) {
              System.out.println("You did not enter a valid Integer: " + nfe);
              return;
              } catch (IOException e) {
              System.out.println("IOException: " + e);
              return;
              System.out.println("You entered a valid Integer: " + checkInteger);
    Compiling produced the following output:
    C:\jdk\work1>javac CheckNumber.java
    CheckNumber.java:1: Class java.io.InputStreamReader not found in import.
    import java.io.InputStreamReader;
    ^
    CheckNumber.java:2: Class java.io.BufferedReader not found in import.
    import java.io.BufferedReader;
    ^
    CheckNumber.java:12: Class java.io.BufferedReader not found in type declaration.
    BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in) );
    ^
    CheckNumber.java:12: Class java.io.InputStreamReader not found in new.
    BufferedReader inStream = new BufferedReader (new InputStreamReader(System.in) );
    ^
    CheckNumber.java:15: Class java.io.BufferedReader not found in void main(java.lang.String[]).
    inLine = inStream.readLine();
    ^
    CheckNumber.java:21: Exception java.io.IOException is never thrown in the body of the corresponding try statement.
    } catch (IOException e) {
    ^
    6 errors

    I recently did a standard installation of jdk 1.5.
    This is the first time I am trying import.
    I set the path:
    set path=c:\jdk\bin
    Hmm...
    C:\jdk\bin>java -version
    java version "1.5.0_15"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
    Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
    C:\jdk\bin>javac -J-version
    'javac' is not recognized as an internal or external command,
    operable program or batch file.
    There's no javac.exe file.
    I have javaw.exe and java.exe.

  • Package zzz not found in import (server side classes)

              Hi,
              I'm trying to use the "Web Application" feature in WL 5.10
              (with no service pack). My application contains a couple of
              servlets, a couple of server side classes, and a couple of
              jsp pages.
              I created the WEB-INF\classes directory structure both in
              public_html and in my application's root directory. I
              modified setEnv.bat to contain the two directories in
              ClassPath and compilation of my servlets from the command
              line completes OK (the servlets import a package that sits in
              public_html\WEB-INF\classes).
              However, when I try to import the same package from a jsp
              file, I get the "package zzz not found in import" error
              message. The trace shows that the java compiler invoked
              after the servlet has been generated does not contain
              public_html\WEB-INF\classes in the ClassPath, but contains
              public_html\my_app\WEB-INF\classes.
              How can I specify that the java compiler should look under
              public_html\WEB-INF\classes for server side classes? Is there
              another solution and am I even using the right approach?
              Thanks,
              Vladimir
              

              Vladimir wrote:
              >
              > Hi,
              >
              > I'm trying to use the "Web Application" feature in WL 5.10
              > (with no service pack). My application contains a couple of
              You should install the service packs, your problem will probably
              disappear then.
              Web Apps are better supported with service packs.
              > servlets, a couple of server side classes, and a couple of
              > jsp pages.
              >
              > I created the WEB-INF\classes directory structure both in
              > public_html and in my application's root directory. I
              > modified setEnv.bat to contain the two directories in
              > ClassPath and compilation of my servlets from the command
              > line completes OK (the servlets import a package that sits in
              > public_html\WEB-INF\classes).
              >
              > However, when I try to import the same package from a jsp
              > file, I get the "package zzz not found in import" error
              > message. The trace shows that the java compiler invoked
              > after the servlet has been generated does not contain
              > public_html\WEB-INF\classes in the ClassPath, but contains
              > public_html\my_app\WEB-INF\classes.
              >
              > How can I specify that the java compiler should look under
              > public_html\WEB-INF\classes for server side classes? Is there
              > another solution and am I even using the right approach?
              >
              Setting the WEBLOGIC_CLASSPATH should do the trick. Look in weblogic
              start file (On NT startWeblogic.cmd)
              > Thanks,
              > Vladimir
              

  • Class oracle.xml.sql.query.OracleXMLQuery not found in import

    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Azman Diron ([email protected]):
    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    <HR></BLOCKQUOTE>
    Managed to solve this problem.
    Drop all xml objects owned by sys and user1.
    Reload xml objcets for user1 with -force option.
    null

Maybe you are looking for

  • Disk is too slow (Record)(-10004) error..so sick of this.

    Hello all, I can no longer record more than three tracks in logic without getting the error message "Disk is too slow (Record)(-10004)". When this happens, recording is stopped. At first I suspected my drive was faulty, maybe slowing down. So being i

  • Has anyone tried changing the color of the table header in Dynamic Pages?

    When you generate the sample Dynamic Page you get a table header with the color of #C0C0A0. Has anyone ever found where this value is coming from within the database ? I'd like to change it so I can control the background color in the TH tag for Dyna

  • My contacts all got deleted from my phone, and was replaced with names and numbers of people I've never met before.

    My phone was working as normal, then all of a sudden when I checked my text messages all the names of my contacts got replaced by their actual phone numbers. When I checked my contacts, it looks like everyone got deleted from my phone, and was replac

  • OAS 4.0.8.1 On RH62 with JDK118

    Hi I recieve an error while starting owsctl start -l www Error: A failure occurred ( Permission denied ) when assigning a port ( domain: s4life, address: 0.0.0.0, port: 80 ). Error: Failed to start the server. Error: The server could not initialize I

  • Side Scrolling Game Help

    Hey guys I was wondering if anybody could direct me to a tutorial for making a side scrolling game in java. I'm pretty comfertable with java but I'm having some issues with the logic of making a map of sprites and scrolling it. I figured out how to t