Compiling in java 1.1.8 with the org.w3c pakage

I�m developing a software that uses de org.w3c package, using NetBeans with the 1.4.2 jsdk. I need to compile the same software using de 1.1.8 jsdk, but the package doesn�t exist in this version.
How do I install the org.w3c package in the 1.1.8 and where do I get it ?
please help me, I kinda lost here !

Of course
org.w3c is a native package
what you should do is putting the jar of w3c in you classpath or
set the classpath point to the directory containing w3c jar file or
put it in your project directory
richard wat

Similar Messages

  • Replacing InetAddress.java of 1.3 with the 1.4 version

    I'm having difficulty with the inetAddressCachePolicy of 1.3... it doesn't work no matter how I try to run it with different options... but it works with the 1.4.1_01 version... Unfortunatly if I run my app with 1.4.1._01 the socket-layer works fine but the rest of GUI start giving me problems... so I thought the best is to look at the InetAddress.java file from both version and probobly either make the necessary changes on the 1.3 or replace it entirly with the 1.4 version... I have to see which one works... but I'm not quite sure the steps involve in making changes and I like to confirm it with you.. I think I should do the following
    1. unzip src.jar from 1.3.1_07
    2. make the changes
    3. create the src.jar file with the new InetAddress.java
    4. run my app...
    is that correct?? is there any other way??
    would very much appreciate your help

    can you help me how to fix the GUI? I mean where to look?
    I have an application that basically receives data and fill out a set of text fields... if I run my application using J2SDK 1.3.1.03 the text fields on the interface gets filled out but if I run the same app it under j2SDK 1.4.1.01 the text fileds won't get filled out from the arrived data... I've traced the program... it doesn't give any error but no text gets displayed on the fields...
    here is what I'm doing at the begining of the application
    FullNameTextField.setEditable(false);
    then as the messgae arrives the function called and do the following
    FullNameTextField.setText(tktInfoHolder.getDLHolderFullName());
    I have checked the content of tktInfoHolder.getDLHolderFullName()and the data is there... I also tried
    FullNameTextField.setText("blah blah blah");
    and yet nothing displayed....
    here is the list of classes I'm using
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Toolkit;
    import java.util.ArrayList;
    import java.awt.event.WindowListener;
    import java.awt.event.WindowEvent;
    The same same functionality works fine under 1.3 but not 1.4... I need to use 1.4 cuz of some socket communication issue on 1.3...
    when I run my app it starts with the following
    C:\Program Files\Java\j2sdk1.4.1_01\bin\javaw.exe -hotspot -classpath...
    could it be that there is something wrong with the path.... or the VM
    Please Please Please help me... I can't think of anything...

  • Java EE Tutorial - problem with the example Bookstore

    Hi,
    I've been working few days on a problem running the Bookstore example from the Java EE Tutorial. When I run the application, I'm redirected from the servlet BookStoreServlet to errorpage.html with the following message: The application is unavailable. Please try later. The tutorial troubleshooting reads: ... a servlet can’t retrieve the web context attribute representing the bookstore. This will occur if the database server hasn’t been started. But the database server is running (I'm running Derby bundled into NetBeans 6.5). The Glassfish admin console reads:
    StandardWrapperValve[BookStoreServlet]: PWC1406: Servlet.service() for servlet BookStoreServlet threw exception
    com.sun.bookstore.exception.BookNotFoundException: Couldn't find book: 203
            at com.sun.bookstore1.database.BookDBAO.getBook(BookDBAO.java:58)
            at com.sun.bookstore1.servlets.BookStoreServlet.doGet(BookStoreServlet.java:76)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at com.sun.bookstore1.filters.HitCounterFilter.doFilter(HitCounterFilter.java:71)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)This would indicate that the tables are empty, but they were created according to the tutorial, with the command ant create-tables, and I can see their content in NetBeans. Please help, I really need to run the examples.
    Best regards,
    Rene Puchinger

    I solved the problem running the command that is correctly explained in the page 97 of the tutorial:
    Ant create-tables
    My mistake was that until that day, I was believing that I could do everything inside Netbeans.
    For this you explicitly need to use ant.
    Then I got some error which I solved fixing the file
    C:\Java\JavaEETutorial5\examples\bp-project\ build.properties
    ( like set correctly the path to the server and so on)

  • Call a C# dll from java is work only with the machine which is build C# dll

    hi all,
    I've built a VC++(win32 console dll app)..
    Created a Java program to access the said VC++ dll
    It was successful in the machine(say machine 1) which is created the VC++ dll..But Not work with machine2
    n.b VC++ dll is accessing another VC#dll
    If I combile the VC++ dll in machine2 then then its works fine with machine2 while access from java But not work with machine1
    Problem comes when I run the same application in a different system where all the
    needed visual studio files are installed...
    I tried by create the VC++ dll with skipping the part of accessing VC# dll, then it works fine with anotther machine
    NB: error accurs only when it is run on a different machine...
    Error is:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (0xe06d7363), pid=4024, tid=4028
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed mode, sharing)
    # Problematic frame:
    # C [kernel32.dll+0x1eb33]
    # An error report file with more information is saved as hs_err_pid4024.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    i've done "googling" with this error... but no one has come up with some satisfactory answer...
    Pls help.....
    conf. of both machine
    Windows XP
    jdk1.5.0_09, jre1.5.0_09
    thanks in advance..

    Normally any system exception that occurs when working with JNI is caused by one of the following.
    - pointer problems
    - incorrect usage of another api
    - bug in the api being used.
    The last two are often still pointer problems.
    The fact that it ones one machine and not another makes it more likely it is a pointer problem (in one or more of the above.)
    A pointer problem cause cause the system to fail long after the point where the bug actually is (coded.) Different execution paths, such as running on different machines, means the bug will manifest itself differently.

  • How to compile a java file to class with class

    There is a java file.
    And i want to compile it with class, not javac command.
    so i can catch the compile errors.
    how to do it?
    special thanks.

    http://java.sun.com/developer/JDCTechTips/2003/tt0722.html#2

  • Java system copy problems with the Java Migration Toolkit

    During the JAVA system copy, we have have got the error in second last
    step i.e;Java Migration Toolkit. We tried to do the system copy twice
    but every time we have got the below error.
    Is this a know bug? I have got the OSS note 966752 but the value
    of 'src.ci.host' is already correct. has anybody come across the similar issue. please help.
    " CJSlibModule::writeInfo_impl()
    Output of /usr/java14_64/bin/java -
    classpath /usr/sap/CMT/SYS/global/sltools/sharedlib/launcher.jar:. -Xj9
    com.sap.engine.offline.OfflineToolStart
    com.sap.sdt.jmt.migrationtool.MigrationToolImport /usr/sap/CMT/SYS/global/sltools/jmt:/usr/sap/CMT/SYS/global/sltools/sharedlib import.switch
    resume downtime mti.properties is written to the
    logfile /home/cmtadm/CI_Import_08312009/runJmt.log.
    WARNING 2009-09-01 20:49:43.473
    CJSlibModule::writeWarning_impl()
    Execution of the command "/usr/java14_64/bin/java -
    classpath /usr/sap/CMT/SYS/global/sltools/sharedlib/launcher.jar:. -Xj9
    com.sap.engine.offline.OfflineToolStart
    com.sap.sdt.jmt.migrationtool.MigrationToolImport /usr/sap/CMT/SYS/global/sltools/jmt:/usr/sap/CMT/SYS/global/sltools/sharedlib import.switch
    resume downtime mti.properties" finished with return code 27. Output:
    ERROR 2009-09-01 20:49:43.477
    CJSlibModule::writeError_impl()
    CJS-20068 Error when running the J2EE Migration Toolkit.<br>SOLUTION:
    See output of logfile /home/cmtadm/CI_Import_08312009/runJmt.log: ''.
    ERROR 2009-09-01 20:49:43.479
    CJSlibModule::writeError_impl()
    CJS-20068 Error when running the J2EE Migration Toolkit.<br>SOLUTION:
    See output of logfile /home/cmtadm/CI_Import_08312009/runJmt.log: ''.
    ERROR 2009-09-01 20:49:43.480 [iaxxgenimp.cpp:731]
    showDialog()
    FCO-00011 The step RunMigrationController with step key
    |NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_RUN_MIGRATION_CONTROLLER|ind|ind|ind|ind|2|0|RunMigrationController was executed with status ERROR ."
    There is no log file by the name runJmt.log.
    Regards,
    Sagar

    This issue was resolved by OSS note 966752 itself. Below is the important line in the OSS note.
    Note: The default value is crucial! If a custom value other than the default value was applied, we highly recommend that you restore the default value.
    Thanks,
    Sagar

  • How to write the org.w3c.dom.Document  into an XML file.

    The file doesn't not exist. I have a class to form an XML Document object with giving parameters. And then how to write this Document object to an specialitied
    file?

    The easiest way is to use a Transformer to do an default transform of the document from a DOMSource to a StreamResult.
    something like
             TransformerFactory tf = TransformerFactory.newInstance();
             tf.setAttribute("indent-number", new Integer(4));
             Transformer t = tf.newTransformer();
             t.setOutputProperty(OutputKeys.INDENT, "yes");
             t.setOutputProperty(OutputKeys.METHOD, "xml");
             t.setOutputProperty(OutputKeys.MEDIA_TYPE, "text/xml");
             t.transform(new DOMSource(yourDOMDocument), new StreamResult(new OutputStreamWriter(yourFileOutputStream)));

  • How To Compile Within Java

    Hi Everybody,
    I have a serious problem. I want to compile a Java file withing another Java program, without using the "javac" command or this compiler. Is there any function or class which helps compile a Java source file created withing another Java Class file, So that the new Java source file will not be available to the outside world?
    Thanks,
    TechnoSam.

    I'm pretty sure that you can create a class in memory by passing it a stream of bytecode. From this you could create a new instance and then proceed as normal. However, you're going to need to know how to create that bytecode and I guess that you don't want to have to implement a 'virtual' compiler from scratch. I don't know of anything that can do this for you but I wouldn't be surprised to find that somebody's had a go in the past.
    Perhaps your requirements would be satisfied by compiling your dynamically created source using javac to a temp file and then deleting that once you had instantiated the object? This would do something like what I think that you're after but even then you would need to accept that others would be able to access your class definition by reverse-engineering your source-writing routine, (whether or not it was obsufacated).
    Can you say anymore about what you're trying to achieve?

  • Java 1.4.2_03 Windows: The configuration data for this product is corrupt.

    Trying to install j2SE 1.4.2_03 JRE on a Windows system (exact version needed for a bussiness application) after all previous Java installations have been deleted and all Windows Registry Java related keys have been manually deleted with Regedit.exe.
    The EXE installer works properly in other machines but in this one it stops after a few seconds with the following message:
    "The configuration data for this product is corrupt. Contact your support personnel".
    The problem is related to the Windows install mechanism rather than the Java installer itself and likely caused by the manual Registry deletion.
    The error code is 1610: ERROR_BAD_CONFIGURATION.
    Reinstalling Windows didn't fix the problem.
    Unable to recover the system to a previous state with the System Recovery Tool (Accesories/System Tools).
    Other versions of Java installers fail the same way and show the same message.
    I don't know how to contact "my support personnel" nor who they are.
    I'd appreciate any help about this problem or what Java installers need within the Registry to work or a clue of any kind.

    Sorry for the duplicated message. It's my first post and I messed up a little with the right section.
    A new downloaded copy of the file or other versions of Java failed to install with the same error message.
    I've learned there is a product ID in the registry that must be present for the installer to run. I'm searching for this "mysterious" product ID and how to set the right Windows XP Registry entry for the JSE 1.4.2_03 version.
    I'm still not sure this will fix the problem.
    Thanks for replying.

  • Java 1.4.2_03 WindowsXP The configuration data for this product is corrupt.

    Trying to install j2SE 1.4.2_03 JRE on a Windows XP system (exact version needed for a bussiness application) after all previous Java installations have been deleted and all Windows Registry Java related keys have been manually deleted with Regedit.exe.
    The EXE installer works properly in other machines but in this one it stops after a few seconds with the following message:
    "The configuration data for this product is corrupt. Contact your support personnel".
    The problem is related to the Windows install mechanism rather than the Java installer itself and likely caused by the manual Registry deletion.
    The error code is 1610: ERROR_BAD_CONFIGURATION.
    Reinstalling Windows didn't fix the problem.
    Unable to recover the system to a previous state with the System Recovery Tool (Accesories/System Tools).
    Other versions of Java installers fail the same way and show the same message.
    I don't know how to contact "my support personnel" nor who they are.
    I'd appreciate any help about this problem or what Java installers need within the Registry to work or a clue of any kind.

    Sorry for the duplicated message. It's my first post and I messed up a little with the right section.
    A new downloaded copy of the file or other versions of Java failed to install with the same error message.
    I've learned there is a product ID in the registry that must be present for the installer to run. I'm searching for this "mysterious" product ID and how to set the right Windows XP Registry entry for the JSE 1.4.2_03 version.
    I'm still not sure this will fix the problem.
    Thanks for replying.

  • Java-wsdl-mapping file with incorrect case

    Hi. We're working with JDeveloper 10.1.3.1 preview and have encountered what I believe to be a bug. We have a schema with element names that are mixed case (such as FirstName). We are trying to use JAXB to create our classes and then wrap it as a web service. The problem is, the WSDL and java-wsdl-mapping file references the element names as firstName rather than FirstName.
    In experimenting, I've learned that if I create the WSDL and schema first and "Create Java Project from WSDL" that it creates a java-wsdl-mapping file with the case preserved. However the first time I go into the web services properties dialog and click OK, it re-creates these files with the case changed again.
    Please advise if this is expected behavior...although I don't see how it could be since it is inconsistent.
    Thanks very much,
    Richard Davis

    I was told the product manager and/or developers from Oracle watched this board. Doesn't anyone have a response to this?

  • While Compiling AMImple.java file

    Hi All,
    I am very new to OAF and am developed page and imported successfully into the server.
    While compiling AMImple.java file it is giving the like
    AgingAMImpl.java:30: cannot resolve symbol
    symbol : class AgingVOImpl
    location: class wnsgs.oracle.apps.ap.buckets.server.AgingAMImpl
    public AgingVOImpl getAgingVO1()
    ^
    AgingAMImpl.java:32: cannot resolve symbol
    symbol : class AgingVOImpl
    location: class wnsgs.oracle.apps.ap.buckets.server.AgingAMImpl
    return (AgingVOImpl)findViewObject("AgingVO1");
    Plz help me on this issue am very close to my target.
    Thanks
    Surya

    hi gyan,
    I have.t implemented the code in the AM but I implemented the code in CO.
    I am pasting the AMImple code below
    public class AgingAMImpl extends OAApplicationModuleImpl
    * This is the default constructor (do not remove)
    public AgingAMImpl()
    // OAViewObject objAssessmentVO = (OAViewObject)AgingAM.findViewObject("AgingVO1");
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("wnsgs.oracle.apps.ap.buckets.server", "AgingAMLocal");
    * Container's getter for AgingVO1
    public OAViewObjectImpl getAgingVO1()
    return (OAViewObjectImpl)findViewObject("AgingVO1");
    Thanks
    Surya

  • Can Xcode 4.5.1 compile/run java?

    Can Xcode 4.5.1 compile/run java?

    When you create the project, there is a Build Tool text field. Enter the path to the Java compiler there.
    If you've already created the project, select the project from the project navigator on the left side of the project window to open the project editor. Select your target from the left side of the project editor. Click the Info button at the top of the editor. Enter the path to the Java compiler in the Build Tool text field.

  • Java console not compatible with 6.01 Mozilla update

    Since the 6.01 Firefox update, I can no longer view flash panels and some images are not appearing on web sites. I look and found all the java consoles greyed out with the message they were incompatible with 6.01 Firefox. So what do I do now? I also notice that websites suddenly disappear when I did not close them. Please fix this problem.

    Hi catnip009:
    I can confirm cor-el's information that it is "normal" for the Java Console extension to be disabled in FF6 (see my post [https://support.mozilla.com/en-US/questions/870013#answer-247544 here] for instructions on how to test your Java installation).
    When you say "flash panels", do you mean that '''Adobe Flash''' doesn't seem to be working on some web sites with FF6?
    If that's the case, then try the following:
    First, check your Flash installation [http://www.adobe.com/software/flash/about/ here] on the Adobe web site. If your Flash isn't working or you don't have the latest Flash v. 10.3.183.7, do the following:
    # Uninstall Adobe Flash from the Windows Control Panel
    # Download and run the [http://kb2.adobe.com/cps/141/tn_14157.html Adobe Flash Uninstall Utility] to clean out remnants of any old installation
    # Re-boot your PC
    # Run the Adobe Flash Uninstall Utility again for safe measure
    # Download the Adobe Flash v. 10.3.183.7 standalone plugin installer (the non-IE NPAPI version) from the FileHippo site [http://www.filehippo.com/download_flashplayer_firefox/10462/ here] . Be sure to download v. 10.3.183.7 (the current stable version) and not a beta test version. '''Save the installation file to your hard drive and do not run the installation from your browser'''
    # Install Adobe Flash from the Run command (Start | Run) with the new installation file with all browsers and instant messenger software closed
    # Check your new Flash installation [http://www.adobe.com/software/flash/about/ here].
    If you also use the IE browser, the ActiveX version of Flash v. 10.3.183.7 for IE can be downloaded from FileHippo [http://www.filehippo.com/download_flashplayer_ie/10461/ here]. If you prefer you can re-install Flash from the Adobe site ([http://get.adobe.com/flashplayer/ here] for auto-detection of OS and default browser; [http://get.adobe.com/flashplayer/otherversions/ here] for any version of Flash), but I prefer using the standalone installers from FileHippo because Flash occasionally doesn't install correctly when you run the installation from the Adobe site via your web browser.
    Windows Vista Home Premium 32-bit SP2 * IE 9.0 * Firefox 6.0 * Java 7.0 * Adobe Flash 10.3.183.7

  • Communicating with the PC's parallel port

    How can I use java to directly communicate with the parallel port of my computer? I need to be able to turn pins on or off as if they were boolean variables or similar, for comparable programming purposes to a boolean variable (for robotics). If this is only possible by sending an entire byte of data to all the pins at once, that's fine too, but I don't know how to do either.

    Look at any JavaComm implementation, either Sun's for the 'nixes or RXTX (rxtx.org) for Windows.

Maybe you are looking for

  • MDB and Singleton

    I have a MDB that receives data from a JSM queue in XML format. After converting the XML to proper Value Objects using JAXB, it calls a DAO. We have configure the App server (WLS 8.1)to have 10 MDB in the pool. The DAO is a singleton with a none stat

  • FAGLF101

    Hi Gurus, I would like to know how can I  differenciate  in customising  -reclassiying posting  for the total  credit balance of customer with credit balance & vendor with debit balance without consideration of maturity  and  -reclassify customer&ven

  • Camera is not working on my Satelite L350-20F

    Can anyone help me with getting the Satellite L350-20F Camera working? Ive just bought the laptop of gumtree fully working apart from the camera built in. It is not in device manager because there is no imaging devices in the list or yellow marks. It

  • WAAS 4.2.3 Cert near expiration warning.

    I have 6 WAAS NME modules, all running 4.2.3, and all giving this Major warning: "Certificate waas-self .p12 is near expiration. It is configured as a machine cert in global settings." How does one go about fixing this warning and getting a new cert?

  • E4200 Guest access without password

    With the E4200, is it possible to setup the main SSID with a passpharse but have the guest SSID without a passpharse or password (ie access without security). If so, How?