Help w/SAX Example from JWSDP1.1

I have been trying to execute the SAX Parser example from the WSDP1.1 tutorial -- Echo01.java with slideSample.xml and I keep getting the following exception even though the program has compiled successfully:
C:\j2sdk1.4.2\programs>java Echo01 slideSample.xml
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/parsers/SAXParser
I have a gut feeling this has something to do with my classpath variable, but I just can't seem to figure it out. I have placed all the required .jar files in the <JAVA_HOME>/jre/lib/endorsed directory.
My classpath variable holds the following information, but when I try to view it in DOS, I get the following JVM error:
Failed to load Main-Class mainfest attribute from C:\j2sdk1.4.2\jre\lib\endorsed\sax.jar
My CLASSPATH variable reads as follows:
C:\j2sdk1.4.2\jre\lib\endorsed\sax.jar;C:\j2sdk1.4.2\jre\lib\endorsed\dom.jar;C:\j2sdk1.4.2\jre\lib\endorsed\xalan.jar;C:\j2sdk1.4.2\jre\lib\endorsed\xercesImpl.jar;C:\j2sdk1.4.2\jre\lib\endorsed\xsltc.jar;C:\j2sdk1.4.2\programs
PLEASE ADVISE!!!!!!!!!

I came across this problem before. The problem maybe you have used an old version of java.exe. I am using Windows XP and I realise that there is another java.exe in the path "C:\WINDOWS\system32". Therefore, if the path "C:\j2sdk1.4.2\bin" is put after "C:\WINDOWS\system32" in your Path variable, your computer will always load the java.exe in "C:\WINDOWS\system32", which is an older version shipped with your Windows. So, try to move "C:\j2sdk1.4.2\bin" in front of "C:\WINDOWS\system32 in the Path variable.
I hope this works!!

Similar Messages

  • HT1296 I can't sync the songs from my computer to my ipod touch. I have gone through the iPod directions on this page and have not found them helpful. For example, I can't find the Autofill button. Can you help?

    I can't sync the songs from my computer to my ipod touch. I have gone through the directions on the iPond help page and have not found them helpful. For example, I can't find the autofill button. Can you help?

    I have already tried following those steps. I went back and tried to follow them again but they did not work. Some of my songs have synced, some have not. And I am still not seeing the Autofill icon on the bottom of the menu or anywhere else. I fear something has been corrupted here and I need to start afresh.

  • Interface Monitoring - any example from your experience please ?

    Hi Gurus,
    In Interface Monitoring (as a subset of BPM), as you may be aware, as of Software Component ST-SER Release being  700_2008_1, a new functionality is supported:
    http://help.sap.com/saphelp_sm40/helpdata/en/2c/40328724e2431ba71958275b15e9fb/content.htm
    Well, I am keen to learn from your experiences if you have already used this.
    My specific question is: Can you please share an example, from your experience, an example of Interface Scenario, Interfaces and Interface Steps  for SAP interacting with Non-SAP systems inside/outside the company?
    Best regards,
    Srini

    Closing this for housekeeping sake.

  • Problems doing the "Web Service" example from the 2-Day-Developer Guide

    Hello,
    I want to do the "web service" example from the 2-Day-Developer Guide.
    I give the application my proxy server address in the format address:port and go through the assistant creating the web service. After selecting the IBM UDDI-service and searching for %xMethods% as business name I get the following error:
    ORA-31011: XML-Parsing not successful ORA-19202: Error parsing XML LPX-00104: Warning: Element "html" is not declared in DTD Error at line 2
    What have I done wrong?
    With kind regards
    Florian Reiser

    Please.. Could you change your forum handle to something more human, we are a friendly group here and lik to know who we are talking to.. Secondly, WHy are you using such an OLD version oft he product. You would be better off installing 3.2.1 (latest released build) and asking your questions after you do that..
    (I am sorry, it's like asking for help in a Windows support forum about issues you are having with Windows 3.1)
    Thank you,
    Tony Miller
    Webster, TX

  • I need help changing a VI from NI PXI-1042Q to USB-6210

    Hello all.  This is my first post, and I apologize ahead of time if it's in the wrong place or is inappropriate... I was instructed to come here for help.
    I am working on changing a VI that is functioning perfectly with an NI PXI-1042Q over to a much smaller unit, the USB-6210.  Supposedly the USB-6210 can handle the same inputs/outputs that I need (one analog input read at 30 kHz, 2 digital outputs written at 10 kHz), however I am having a bit of trouble getting it to work properly.  The outputs seem to go where they are supposed to, but the new system is orders of magnitude slower than the original, and for the system I am using this is unacceptable.
    I'm sure I'm doing something wrong, but I'm about as new to LabView as you can get so I have no idea where to start.  Any help would be appreciated.
    Additional info you might need:
    LabVIEW 2010
    The VI is attached.
    Respectfully,
    Emrys Maier
    University of Texas at Arlington Research Institute
    Research Assistant
    Solved!
    Go to Solution.
    Attachments:
    Need_to_work_on_USB-6210.vi ‏250 KB

    one is using the PCI bus the other is using USB
    (And probably has some power management problems and a 1.0 device on the hub)
    A Quick link to USB FAQs-  pay attention to FAQ2 1-3
    USB Plug-n-Play Devices (Windows)
    Options
    Mark as New
    Bookmark
    Subscribe
    Highlight
    Print
    Email to a Friend
    Report to a Moderator
    ‎01-22-201202:20 PM
    In this topic we will discuss some of the common problems that have been observed using USB devices with LabVIEW on Windows operating systems.  Many of these points are also applicable to other environments but the examples will be use the Windows 7 OS.
    FAQ 1 : My USB device stops working unexpectedly.
    The first thing to look at is the OS power saving options.  There is a global trend towards developing "Green" electronics and energy star ratings are getting fairly common.  "If its not being used shut it off" is nothing new.  Cavemen learned how to bank a fire to preserve energy that would otherwise be wasted.  Likewise, the Windows OS has a power saving feature to shut down power to the USB hubs when no user activity is present.  In Automated systems this feature can cause problems since removing USB hub power will shut down the USB device.   Solution: Use the device manager to change the USB hub Power Options.
    FAQ2: I set the power options and my device connection is still unreliable: Remember, those computer USB ports are often the cheapest that can be mounted on the chassis and share the PC system power supply to supply USB Power. Most uses of USB are temporary connections like a thumb drive or a camera.  These connections do not require high reliability since the user is right there interacting with it.  Power surges and fault tolerance at worst cause the operator to retry the data transfer.  Automated systems require a bit more robustness.  Solutions:
    1) ALWAYS use an external self powered hub.  Perform your engineering due diligence and inspect the devices specifications too- If you can't find them for that device that should clue you to seek an product from a vendor that WILL publish their specs.
    2) High noise environments require the use of ferrites on the USB cable- and don't buy the cheapest cable either! The cheap ones are poorly shielded. 
    3) PROTECT the HUB connections-  If you have a USB2.0 device and Joe User plugs in a 1.0 device in a open slot managed by the same hub- Bingo every port on the hub may back convert to USB1.0.  WORSE there are a lot of damaged or marginally engineered USB devices out there.  Joe User's device may cause power fluctuations when it is inserted or removed from the hub just don't let it happen!
    FAQ3: I am testing USB devices and the OS can't find them anymore.
    This is a Plug-n-Play feature that deserves some exposure.  When you connect a P-n-P device the OS remembers its serial number in a HKEY (Hive-Key) registry entry.  This is helpful when (for example) you want a specific instrument, Say an NI-USB-6008, to show up as a DAQmx Device with VISA Alias "MyDAQ1" every time it is plugged it.  On the other hand, If you want to test a line of USB-Serial converters this can be problematic since the P-n-P driver will mount the first serial number as "COM3" and the next as "COM4" add infinitum until the enumerator controller in the registry and VISA recognized aliases get used up.  Solution: Use the Windows registry API and the Hardware Configuration API in LabVIEW to clear unused VISA Aliases and HKEY entries.   Speak with your staff IT professional about HKEY structure and possible side effects before developing a plan to edit registry entries.
    Jeff

  • Trouble with examples from the website

    Hi
    I was trying to down load couple of examples from your website - Motor
    control, closed loop control system. But have trouble with it.
    I have Labview version 5.1 not 7.
    It gives an error after I unzip the file.
    Are they not compatible with 5.1??
    Pls help
    Krithika

    When you download an example from the NI homepage please always have a look at the "Software Requirements" section. Here you will find the version of the development environment the example was compiled with.
    Many examples are compiled with LV 6.x or LV 7.x thus it's probable that you can't open them with LV 5.x
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Example from "getting started"

    Hi folks!
    Is there anybody out there who succeeded in running the Getting Started example from OTN.
    Main problem is that I cannot add groups and devices with a right click.
    I am trying to modify the edgeserver.xml file to reflect the settings shown in the "HandsOnSession.pdf" but this is a tedious task.
    Hope that anybody can shed some light on this.
    cu
    Andreas

    Hi Folks!
    Following the steps mentioned in the hands on I got the edge server running but was unable to turn the red light on.My first question is : In the hands on its shown that the driver for the Simulator is "InternalSim" but the Edge Server drop down list does not show anything like InternalSim.What it shows is "EDGE Simulator Driver".Are they the same?
    Secondly when I start the edge server both my devices stack and simulator are UP but in the Dispatcher Tab there is an error :"JMS Connection error:oracle.jms.AQjmsException: Io exception: NL Exception was generated"
    Can anybody help out?
    Junaid

  • Employee example from Book, only blank page

    Hi all!
    I have installed the CE 7.1 trail and i programmed the example from the SAP book "Java programming with SAP NetWeaver"
    I did't change the code, I followed all steps in the book but in the end when i trie to run the application ( the jsp ) i just get a blank page without any errors or hints.
    Generally he displays no jsp pages... html pages are working
    I tried it with firefox and IE, and java is aktivated.
    Maybe anyone here has an idea what the problem could be.
    Thankyou for your help
    Edited by: seeboeck on Feb 5, 2010 10:47 AM

    Select  ▹ System Preferences ▹ Network ▹ Advanced ▹ TCP/IP. What values are shown for the following:
    Configure IPv4
    IPv4 Address
    Subnet Mask
    Router

  • I saved photos from my Macbook Pro onto my Iphone (using itunes, 4 years ago). My macbook is now dead and I need to get the photos I saved off of my iphone 3GS transferred to a pc.  Any help...  From my PC I can only access "internal storage"

    I saved photos from my Macbook Pro onto my Iphone (using itunes, 4 years ago). My macbook is now dead and I need to get the photos I saved off of my iphone 3GS transferred to a pc.  Any help...  From my PC I can only access "internal storage"

    The iphone is not a storage/backup device.  The picture sycn is one way - computer to iphone.  The photos are also reduced in size when synced to iphone so they are not of the original quality
    It has always been very basic to always maintain a backup of your computer.
    Have you failed to do this?
    If so, not good at all, you can e-mail the pics to yourself - keep in mind they will never be of the original quality

  • Looking for an example from app gallery that uses WAAD for identity

    I'm looking for an example from the app gallery (http://azure.microsoft.com/en-us/gallery/active-directory/) that uses WAAD for identity. I need one the show our business what the process would look like for an organization signing up for a SaaS offering
    via the App Gallery. I know all the Microsoft applications use WAAD but I was hoping to find a third-party example.  What I mean is an app where all tenant and user identity is done using WAAD as opposed to federated identity.

    I doubt that what you are looking for exists yet.
    Cheers,
    Markus
    Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

  • Can anyone help me sync calendars from my iPhone to my Mac and help me figure out how to edit or delete lists in Reminders?

    Can anyone help me sync calendars from my iPhone to my Mac and help me figure out how to edit or delete lists in Reminders?  I thought upgrading to Mountain Lion would work, but I'm having the same problem as before under Snow Leopard.  So, here's my situation. 
    I'm running 10.8.2 on a Macbook Pro.  I have a 3GS iPhone running 6.0.1.  I can make entries on my Mac Calendar and they will show up on my iPhone, but if I make an entry on my iPhone, it never makes it to my Mac.  Also, I notice that when I log in to my iCloud account on my Mac, it has a "me.com" email address as my apple i.d., but it is not my primary account i.d. and I can't figure out how to delete it.  Also, my Reminders application won't allow me to delete lists I created.  Contacts, on the other hand, work instantaneously regardless of where the change is initiated.

    On you iPhone check Settings>Mail,Contacts,Calendars>Default Calendar (in the calendars section).  Here be sure you have selected the Calendar listed under your iCloud account ID as your default.  If you haven't, make this change, then enter a new event on your phone and see if it syncs properly now.
    You should be able to delete you reminders list by, from the Lists view, tapping Edit at the top, then tapping next to the list you want to delete and tapping Delete.

  • Itunes error. the data execution prevention pops up and says "to protect your computer, windows has closed this program. Data execution prevention helps protect against damage from viruses and other threat.

    I have a windows Xp computer. and i needed to download the newest itunes to support my ipod touch. but now my computer doesn't let me open itunes. The the data execution prevention pops up and says "to protect your computer, windows has closed this program. Data execution prevention (DEP) helps protect against damage from viruses and other threat." I tried excluding itunes from DEP on settings but it still doesn't work. I don't know what to do. please help me!!!
    thanks 

    try to select the computer cd/dvd autorun off.
    I had the same problem, then Kaspersky software found a conflict suggesting me this solution.
    Itunes now works...even if it always asks to set the cd/dvd autorun on when lunched.

  • I need help to transfer CS4 from a dead G5 to a new Macbook Pro. Can't find my program discs but purchased CS4 in 2008 and have record of it.

    I need help to transfer CS4 from a dead G5 to a new Macbook Pro. Can't find my program discs but purchased CS4 in 2008 and have record of it.

    Sounds like you got it installed and activated. Don't forget your updates.
    Adobe - Photoshop : For Macintosh
    Gene

  • In Data Quality transform please explain Associate transform with the help of any example.

    In Data Quality transform please explain Associate transform with the help of any example.

    Hi Neha,
    If we are using multiple match transforms and consolidate the final output we will use associate transform .
    Let me explain with one example based on data quality blue prints for USA .
    We have customer/vendor data .     We need to find the duplicates .
    1. First  we will find the duplicates  on   Name and Address
    2. Second  we will find the duplicates on Name and Email
    3. Third we will find the duplicates on Name and Phone
    Here why we need to find the duplicates in multiple stages . If we are finding the duplicates on combination of  Name, Address, Email and Phone  we may not get proper duplicates   as we are finding the potential duplicates . That's why we are finding the duplicates on different combinations .
    In this case we will get the different group numbers for each match combination . Each combination name is there .
    We want to consolidate and give the group number to the whole set of duplicates . We will pass these  3 match groups to associative transform and generate the  consolidated match group for the input data.
    I hope you understand the concept .
    Thanks & Regards,
    Ramana.

  • HT201493 How do I get my old apple ID/email from popping up and asking to verifie it's getting annoying? I've change everything to my new email an my old one keeps popping up please help me stop it from popping up all the time?

    How do I get my old apple ID/email from popping up and asking to verifie it's getting annoying? I've change everything to my new email an my old one keeps popping up please help me stop it from popping up all the time?

    Did you change the ID you are using for iCoud?  If so, did you delete the account, then sign back in with your new ID on your device?

Maybe you are looking for

  • I can no longer access iphotos in Finder

    I used to be able to click on Photos (I think that´s what it was called-) in my Finder Sidebar and see a list of .jpgs of all my iPhoto photos. This was very useful, for example, if I wanted to attach a photo into an email, insert a photo into a docu

  • REG : restrict in a way that user has to enter data from f4 help

    hello, i have problem that i have to restrict the user in a such a way that he can enter data that is in F4 help. or it is blank . i am using it in DIALOG PROGRAMMING. it i put attribute as input NOT POSSIBLE itwill become gray but my user doesn't wa

  • Transporting table maintenance (se54 entries ) in a requst,

    Hello, I transported a table to another system. But it seems that the table maintenance associated with that table is not transported. How to transport entries in se54 (tagle maintenace) for a given table in a request. Regards, Jainam.

  • How to tranport the product Hierarchy?

    Hi All,          i have added set types to a custom Hierarchy and need to transport how can i do ? Regards, Azeem.

  • How to handle infinity in PL/SQL ?

    my function is returning a/b a,b are number retrun type is number... how to deal with it ?