Please Help me on CLASSPATH setting on windows 2000

I downloaded "j2sdk1.4.2_04", installed it, and set the classpath to the following path, but i cannot still compile the following program MyApplet.java, because the compile cannot still find the
netscape.javascript.JSObject., BUT I do found the netscape folder under
C:\j2sdk1.4.2_04\jre\lib\netscape\javascript, there are three classes, named JSException.class, JSObject.class, and JSUtil.class. Please help me on this .... !!
=================================================================================
// MyApplet.java
package netscape.javascript.JSObject;
public class MyApplet extends javax.swing.JApplet
private JSObject win = null;
private JSObject cell = null;
public Object callCellMethod(String name, Object[] params)
return getCell().call(name, params);
public Object callJavaScript(String name, Object[] params)
return getJSwin().call(name, params);
private JSObject getCell()
if (cell == null)
try
JSObject doc = (JSObject)getJSwin().getMember("document");
JSObject all = (JSObject)doc.getMember("all");
cell = (JSObject)all.call("item", new Object[]{"DCellWeb1"});
catch (Exception e)
e.printStackTrace();
return cell;
private netscape.javascript.JSObject getJSwin()
if (win == null)
win = netscape.javascript.JSObject.getWindow(this);
return win;
=================================================================================
D:\Tommy\Hack\Java+Ocx\java>echo %CLASSPATH%
.;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\li
b\htmlconverter.jar;C:\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\j2sdk1.4.2_04\jre\lib
\charsets.jar;C:\j2sdk1.4.2_04\jre\lib\jce.jar;C:\j2sdk1.4.2_04\jre\lib\jsse.jar
;C:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sd
k1.4.2_04\jre\lib
==================================================================================
D:\Tommy\Hack\Java+Ocx\java>javac MyApplet.java
MyApplet.java:1: package netscape.javascript.JSObject clashes with class of same name
package netscape.javascript.JSObject;
^
MyApplet.java:5: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
private JSObject win = null;
^
MyApplet.java:6: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
private JSObject cell = null;
^
MyApplet.java:19: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
private JSObject getCell()
^
MyApplet.java:25: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
JSObject doc = (JSObject)getJSwin().getMember("document");
^
MyApplet.java:25: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
JSObject doc = (JSObject)getJSwin().getMember("document");
^
MyApplet.java:26: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
JSObject all = (JSObject)doc.getMember("all");
^
MyApplet.java:26: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
JSObject all = (JSObject)doc.getMember("all");
^
MyApplet.java:27: cannot resolve symbol
symbol : class JSObject
location: class netscape.javascript.JSObject.MyApplet
cell = (JSObject)all.call("item", new Object[]{"DCellWeb1"});
^
9 errors
D:\Tommy\Hack\Java+Ocx\java>
================================================================================

D:\Tommy\Hack\Java+Ocx\java>echo %CLASSPATH%
.;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\lib\htmlconverter.jar;C:\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\j2sdk1.4.2_04\jre\lib\jce.jar;C:\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\jre\lib
Here is my CLASSPATH, and i already did it ........ But the compiler cannot still find the class ?!

Similar Messages

  • My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    In the Music tab of iTunes, do you have 'Include Voice Memos' checked?

  • Everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    everytime i try to download itunes it says rolling back action and error . i dont know what to do please help . P.S. i have windows 8

    Hello there Unicornbarf534,
    Thank you for using Apple Support Communities.
    It sounds like you are unable to successfully install iTunes. I recommend the troubleshooting instructions in this article named:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Here is a general outline of where the troubleshooting will take you:
    General installation troubleshooting
    1. Empty your Temp directory and restart
    2. Completely remove iTunes and related components
    3. Install the latest version of iTunes
    Additional troubleshooting
    After performing each of the steps below, you will need to completely remove iTunes and related components and then install iTunes again to determine whether the issue is resolved.
    1. Make sure you have administrator account access
    2. Make sure your folder names don't contain strange characters
    3. Get the latest Windows updates
    4. Disable other conflicting software
    Additional Information
    If you only need to install QuickTime, or if iTunes installs but QuickTime installation did not complete
    Try downloading and installing the standalone version of QuickTime from http://www.apple.com/quicktime/download/. Be sure you download the version that does not include iTunes.
    If the steps outlined in this article don't help, you may be able to find a solution to your issue by searching the Microsoft support website.
    All the best,
    Sterling

  • Please help!!! Cannot run Windows Update in Win 7 Pro after changing new hard-drive. (X201s)

    Hi everyone,
    I have been using my thinkpad x201s for more than one year by now. And recently I change a new and larger hard drive for my laptop. When I tried the thinkpad rescue and recovery disc on the new hard drive, everything works fine except that I cannot run Windows Updates after the installation was finished.  The recovery DVDs were burned directly from the original image stored in the computer when the first I received my laptop last year.
    Every time when I try to run the Windows Update, it shows the following: "Windows Update cannot currently check for updates, because the service is not running, you may need to restart your computer."
    I restarted my computer later but nothing changed. Can't run Windows Updates and can't even install IE9.
    I then moved back to my old hard drive and everything is normal, no problem with Windows Updates. I also tried to create a back-up image by running win 7 Backups and Restore. Later when I changed back to the new drive and followed the instructions to restore my system from the image I created earlier in a USB drive, it worked except that still the system can't run Windows Updates program.
    I'm now getting very confused and upset, is it something to do with the software copyright? It's been a week now and I tried to Google the similar problem but no solutions work here. All I want to do is moving my current system to the new hard drive so that I can continue to use my laptop but it just failed updating every time.
    Could anyone kindly tell me what to do when changing hard drive in order to avoid the problem I'm dealing with? Sorry I'm not a pro type user and just want my laptop to work appropriately.
    My warranty has already expired so I guess the Lenovo Technical Hotline wouldn't answer my questions anymore. Please help!! Much appreciated.
    Thanks so much in advance!!

    I'm not sure this is the issue, but from your description, it seems as though all you have to do is activate the windows update service. If I were you, I'd search for "Services" in the start menu, open it and look for "Windows Update". Check in its properties that it is set to "Automatic (Delayed)", if it isn't, set it, and start the service, you should then be able to check for updates, be careful though that none of your other programs aren't stopping the service, usually these programs are there to "optimize your performance" or "boost your system",...
    Hope this helps.

  • Please help...i have a windows 2012 server and it keeps closing after 30 mins...

    hi. i have a windows 2012 server and it keeps closing after 30 mins...i am connected thru RDP and have looked everywhere online for a tutorial to change the setting that keeps closing it but can't find it anywhere! please help!

    Hi,
    Thank you for posting in Windows Server Forum. 
    Have you check the timeout and reconnection setting for RDP?
    Does disconnection happens on active session or Idle session? 
    We can configure the setting by collection properties or by GPO setting.
    On collection Properties check the Timeout Tab and set the setting according to your requirement. On GPO we can find this setting on below mention path and check according to it.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits 
    User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits 
    You can check Configuration 1 Part from below article.
    [Forum FAQ] Restrict number of Active Sessions in RDS 2012 and 2012 R2
    http://social.technet.microsoft.com/Forums/en-US/00c2252b-8ec0-489f-8da2-07a434a9b5a2/forum-faq-restrict-number-of-active-sessions-in-rds-2012-and-2012-r2?forum=winserverTS
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Please help me :How to set the width and height for my View page "test.htm"

    Hi,
        I have controller class. When i call the view[test.htm]from this controller class ,i am getting the view with output tableview..it is fine.
    My requirement:
                 the output view window is showing full browser window. I want the view output like showModeldialog. I want to set the width and height for the output view window. How is possible?
                 or
    i want to call the test.view in the window.showModelDialog..
    Please help me .. Urgent requirement.

    Yes you can set the width & Height of the view as follows..
    <div style="width:580px; height:750px; margin-top:15px; overflow:auto;">
    <htmb:form......>
    </htmlb:form>
    </div>
    <i>*Reward each useful answer</i>
    Raja T

  • Safari 5.1.5 on PC. Windows 7 64 bit. My favorite browser is not working. Please help. I keep getting a window in the middle of a page saying ''Safari has stopped working'''''

    Hello.
    My favorite browser Safari (5.1.5 ) has stopped working. Yes I know is on a PC. But is been very good to me for a long time, untill about two months ago. I keep getting a pop up message saying "Safari has stopped working" I will close the pop up message and continue working but within a few minute, the message will pop up again. The browser opens up fast as always and runs fine but the message is a pain and annoying. I'm running Firefox now , but I want my Safari back . Please help.
    Jonasfromdc

    Thanks. b noir. For the quick reply post.
    b noir wrote:
    Fingers crossed, your Windows 7 will have been recording some additional information about those.
    First, open your Action Center and expand "Maintenance". Click "View reliability history":
    Once the reliability report has been generated, look for Critical events for Safari generated at the time of the "Safari has stopped working" messages. Doubleclick the name Safari in the critical events. (Don't click View solution.) Here's a screenshot showing what to doubleclick:
    You should see something that looks like the following screenshot:
    Copy and paste the contents of the problem report into a reply here. For example:
    Description
    Faulting Application Path:          C:\Program Files (x86)\Safari\Safari.exe
    Problem signature
    Problem Event Name:          BEX
    Application Name:          Safari.exe
    Application Version:          5.34.55.3
    Application Timestamp:          4f6ba239
    Fault Module Name:          StackHash_7100
    Fault Module Version:          0.0.0.0
    Fault Module Timestamp:          00000000
    Exception Offset:          7d3a1240
    Exception Code:          c0000005
    Exception Data:          00000008
    OS Version:          6.1.7601.2.1.0.256.1
    Locale ID:          2057
    Additional Information 1:          7100
    Additional Information 2:          710027e7a8d30022e5e0ee529f40121f
    Additional Information 3:          5158
    Additional Information 4:          5158ee4164428f7b514a5e7ee9654f7c
    Extra information about the problem
    Bucket ID:          2871481836
    I generated the problem report similar to the above screen shot " by way of IE 9 "  but will not let me copy and paste the contents as a screen shot in reply to your post here . Copy to clipboard did not work either. I might be doing something wrong. Oh well.
    By the way , the only difference is- The Problem Event Name of mine is not BEX. but rather : APPCRASH. Fault Module Name : JavaScriptCore.dll.  Fault Module Version: 7534.55.2.1. The rest are very similar to the above screenshot. If you need more information then I guess I have to do it  all manually. Please let me know. Thanks again.
    Jonasfromdc.

  • Please help. my computer is hp with windows vista 32 bit. I can't installe itunes . not the new one or and old one. i have try to uninstalle itunes and reinstall itunes again but it didn't work. please help

    please help. my pc is a hp with windows vista 32 bit. I can't install itunes 10,5. I have try to remove my old itunes and reinstall but it didn't help. I have install itunes 9.1.1 but the itunes library can't be read because it is on a new itunes. I hope someone can help. I'm lost.

        Deauthorize all of your computers and authorize the computers you use.
        http://support.apple.com/en-us/HT6283
      A new Mac comes with 90 days of free tech support from AppleCare.
      AppleCare: 1-800-275-2273
    Best.

  • Classpath setting in Windows 98

    Hi All,
    How can we set the classpath in Windows 98 OS ?
    Thanks in Advance

    Hi,
    Basically I have installed the tomcat on windows 98 and I have to edit the CATALINA_HOME and JAVA_HOME variable in order to run the Tomcat server. I know that in windows 2000, we can edit it by going through Control Panel> Advanced> Environment Variables. I just wanted to know how I can do this in windows 98 OS to run Tomact server.
    Thanks.

  • Please help download complete content set for garageband

    I just bought a new iMac (the one without a cd drive!) and I'm trying to download the complete content set for garageband but nothing is working. I can't do anything in the app store and there are no updates to be found. please help!

    Flying Toad wrote:
    After downloading the '09 version from Apple for free I ran into an error when attempting to install it on my computer. It says "This update does not need to be installed. A newer version of Garageband is already installed."
    the problem is that you didn't D/L GBv5 ('09), you D/Led the update for version 5 to v5.1, not the entire v5 installation.
    you'd need to either restore GBv5 from a backup, or buy a copy of GBv5 (or v6) from someplace like eBay or Amazon (it's not available for free from Apple)

  • Please help! I have pixilated program windows and functions on my recent installation throughout all programs?

    Just installed my software on a new mac (second installation). The program functions and windows are all pixilated. I can't work with this! It needs to be crisp quality! There was no installation issues! Please help!

    version 10.10.3
    Adobe Creative Suite 6
    Design & Web Premium
    Please please please help me fix this!

  • Please help: Can't download itunes with windows 7 (64 bit).  Keeps freezing at 99%

    I have tried deleting and re-installing itunes and quicktime but it still won't work.  Please help.

    Can someone please respond to my request for support?  I tried the provided correct answer at https://discussions.apple.com/message/11561783#11561783  but it did not work. 
    I also got a MSFT tech support person to remotely look at my machine, for what its worth, he said the registry file is fine and to contact Apple support.
    Any help would be very much appreciated.

  • Please help me! Error setting property 'out' in bean of type null

    I got this "nice" exception 2 days ago, but I realy can't find the problem.
    As you can see next all beans have setters/getters and are initializated.
    Please help me:
    index.jsp:
    f:view>
    <h:dataTable value="#{DataBaseReaderBean.todayArticles}" var="articleBean">
    <h:column>
    <h:outputText binding="#{articleBean.out}"/>
    </h:column>
    </h:dataTable>
    </f:view>
    <faces-config>
    <component>
    <component-type>articleComponentType</component-type>
    <component-class>news.UiArticle</component-class>
    </component>
    <managed-bean>
    <description>
    Reads articles from database
    </description>
    <managed-bean-name>DataBaseReaderBean</managed-bean-name>
    <managed-bean-class>news.DataBaseReaderBean</managed-bean-class>
    <managed-bean-scope>application</managed-bean-scope>
    <managed-property>
    <property-name>todayArticles</property-name>
    <property-class>java.util.ArrayList</property-class>
    <value>#{todayArticles}</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>ArticleBean</managed-bean-name>
    <managed-bean-class>news.ArticleBean</managed-bean-class>
    <managed-bean-scope>none</managed-bean-scope>
    <managed-property>
    <property-name>out</property-name>
    <property-class>javax.faces.component.html.HtmlOutputText</property-class>
    <value>#{out}</value>
    </managed-property>
    </managed-bean>
    <lifecycle/>
    <application>
    <locale-config/>
    </application>
    <factory/>
    </faces-config>
    public class DataBaseReaderBean implements Serializable{
    private ArrayList todayArticles=new ArrayList();
    public DataBaseReaderBean() {
    todayArticles.add(new ArticleBean(new Article("First news","this is my first news","articlesimage/1.jpg","First img"),new Boolean(true)));
    todayArticles.add(new ArticleBean(new Article("Second news","this is my second news","articlesimages/2.jpg","Second img"),new Boolean(true)));
    todayArticles.add(new ArticleBean(new Article("Third news","this is my third news","articlesimages/3.jpg","Third img"),new Boolean(false)));
    todayArticles.add(new ArticleBean(new Article("Last news","this is my last news","articlesimages/4.jpg","Last img"),new Boolean(false)));
    public ArrayList getTodayArticles() {
    return todayArticles;
    public void setTodayArticles(ArrayList todayArticles) {
    this.todayArticles = todayArticles;
    public class ArticleBean implements Serializable {
    private Boolean collapsed;
    private news.UiArticle myUIArticle;
    private Article article;
    private HtmlOutputText out;
    public void setOut(HtmlOutputText out) {
    this.out = out;
    public HtmlOutputText getOut() {
    out.setValue("myText");
    return out;
    public ArticleBean() {
    out=new HtmlOutputText();
    }

    hi frank,
    I cross checked, all the entries in the bean, with those in the JSPX source code, and chceked in the auto comment of the JSPX page the name of the bean, i have checked the faces config, i am going to remove the the new models and re-add them, just tell me if i need to add any files other than those:
    MODEL X folder, which contains the model
    JSPX folder, which contans the pages
    SRC folder in view controller
    And the faces config to web-inf
    thanks in advance man
    regards
    Halim

  • My iPhone 4s is locked in speaker mode where it tells me every time I touch a new app and it outlines the app I touch and requires me to touch the screen twice in order to advance. Please help me remove this setting

    My iPhone 4s is locked in speaker mode where it tells me every time I touch a new app and it outlines the app I touch and requires me to touch the screen twice in order to advance. Please help me remove this setting

    Explore Settings > General > Accessibility. Around page 128 of the User Guide is probably appropriate.
    The User Guide is available at http://support.apple.com/manuals/ or downloadable from iTunes as an iBook.

  • System locks up when setting up windows 2000

    I've had a few problems setting up my computer bit its finally booting. The trouble now is that when I restart for windows to open for the first time the system just freezes up. I've tried a diferent memory chip, different hard drive, different power supply, different windows 2000 Pro disk (even attempted setting up windows XP Pro) and a different AGP. I'm beggining to think the board is a dud. Can anyone throw any light on this. Can't get the computer running to attempt flashing the bios or anything.

    ah, no biggie.  if you havent tried this already, i would try installing windows and booting with as much of a minimal set of periferals as possible.  just the cd, hd, mobo, ram, and vid card.  see if you can get through the install.  then add all your periferals in one at a time.  cards, floppises, extra drives, etc...
    you can run memtest even if you cant boot to windows.  download the program and it will be a cd image.  burn the image to disk.  the cd will be bootable.  change your boot order to cd 1st, then you will have the option to run the ram test.
    you can also flash the bios by downloading it from another computer with the link that Wonkanoby posted.  just be careful and make sure that the bios is the correct one for your mobo model.  i dont know how to back up the current bios, maybe someone here does...
    if you want to flash bios, use ramdisk or hd, not floppy.  if you are ntfs, heres how to do it using ramdisk:
    1) DL or create a win98 bootdisk.
    you can get one at: http://www.putergeek.com/downloads/
    2) Create the win98 boot disk.
    3) Put the image and flash executable on another floppy.
    4) Reboot the computer and boot from the win98 floppy.
    5) On boot, the win98 bootdisk will create a ramdisk as drive c:
    6) In dos, type c:
    7) At the c: prompt, type mkdir bios
    8) change directory to bios by typing cd bios
    9) put the floppy with bios in drive.
    10) type copy a:\*.* c:\bios
    11) run the bios flash from the ramdrive
    again, be careful and good luck!

Maybe you are looking for

  • Error while loading shared libraries

    error while loading shared libraries I just installed 10g . on a Fedora Core 4 machine and after a reboot I tried to run sqlplus and got this type of error. I also got the same error when trying to lsnrctl status ... [oracle@localhost ~]$ sqlplus sql

  • I cannot get my ipad2 to work it won't let me put anything on to it and comes up with a picture of a usb cable and a music note and will not let me do anything

    hi my son as resat my i pad 2 now i cannot get it to work i have tried to start it just as you would a new one but all i keep getting is a picture of a u,s,b lead and a music note it does not respond to any thing i try plug it into my laptop to set i

  • G4 iMac migrates to Intel Core Duo

    I just migrated the contents of my 17” G4 iMac to a 20” Core Duo. The only piece of software that wouldn’t run on the new Mac was Nikon Capture 4.4.1; upon launching, it told me that it was missing necessary files. I reloaded the software from my ori

  • Graph in forms

    Hello members ,, i made a master detail graph in graph builder 6i ,, Master graph = 'Pie chart" Detail graph = "Bar Chart" when i click on the Pie chart, detail Bar chart change according to Master Chart but when i call it in the form 6i , the graph

  • Clarification on different Safari privacy settings

    Recently I was reviewing the different privacy settings in Safari and between web searches and the help file I wasn't able to find the difference between these two settings. Allow from current website only and Allow from websites I visit I tried both