Xmlgen and java version

trying to figure out which jars need to be in my classpath.
Using 1.4.2 I get
911@file:/C:/sgml/NISO/2005/05Std/dtbook121a.dtd
generating document #1
Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ranges/Do
cumentRange
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
etc,
with 1.5 I get
Exception in thread "main" java.lang.NullPointerException
at com.sun.msv.generator.DOM2toSAX2.convertAttributes(Unknown Source)
at com.sun.msv.generator.DOM2toSAX2.onElement(Unknown Source)
at com.sun.msv.generator.DOM2toSAX2.traverse(Unknown Source)
at com.sun.msv.generator.Driver.run(Unknown Source)
at com.sun.msv.generator.Driver.main(Unknown Source)
1. Which jars are needed please?
I currently have
set x=/myjava/xmlgen
set cp=%x%/xmlgen.jar;%x%/msv.jar;%x%/xerces.jar;%x%/xercesImpl.jar
2. Which version of java has it been proven with please?
TIA, DaveP

Further information.
Using the provided xerces.jar, recent xmlParserAPIs.jar and java 1.4.2
the error reduces to
java -cp /myjava/xmlgen/xmlgen.jar;/myjava/xmlgen/xmlParserAPIs.jar com.sun.msv.generator.Driver -dtd dtbook121b.dtd -root {}book
parsing a grammar: dtbook121b.dtd
generating document #1
Exception in thread "main" java.lang.NullPointerException
at com.sun.msv.generator.DOM2toSAX2.convertAttributes(Unknown Source)
at com.sun.msv.generator.DOM2toSAX2.onElement(Unknown Source)
at com.sun.msv.generator.DOM2toSAX2.traverse(Unknown Source)
at com.sun.msv.generator.Driver.run(Unknown Source)
at com.sun.msv.generator.Driver.main(Unknown Source)
regards DaveP

Similar Messages

  • HT1338 I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51). Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0. Than

    I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51) a few days ago. Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0, which seems to be the newest one for my op sys. Anybody know how I can solve this? In advance thank you!

    Apple support article to enable Java 6.
    Java 6 Enable

  • I use OS X Yosemite and Java Version 8 Update 25. Which java version is suitable for flash CS6?

    I use OS X Yosemite and Java Version 8 Update 25. Which java version is suitable for flash CS6?

    See System requirements | Flash Professional
    Java version 1.6 is included with Flash Pro.

  • OEDQ 11.1.1.7.3 and Java version 1.7 (1.7.0_55 (32bit)). Not launching Director application

    Team I am using OEDQ 11.1.1.7.3 and Java version 1.7 (1.7.0_55 (32bit)). When I launch the director, small pop up window green progress meter is not completing to launch the Director application.
    Severity 2
    SR 3-10384717881  :  Using OEDQ 11.1.1.7.3 (1050) - Unable to launch Director
    Created ticket with Oracle but it is taking to going back and forth with support team. Hope our experts here can shed some light on this. Thanks!
    BG

    Hi Bala,
    I don't have permission to access the attachments in the SR, but this sounds like it could be the well known Java Security issue affecting the WebStart of EDQ. See the following article on the support site:
    Unable To Launch EDQ Client Applications After Upgrading To The Latest Java Update (Doc ID 1614893.1)
    regards,
    Nick

  • Enum error and java version??

    The following code keeps giving me an error saying it expects a semi-colon at the open bracket. I've read its related to using an older version of Java, but I'd swear I'm using the most current! Am I missing something?
    public enum Months {
         JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY,
         AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER;
    }When I run "java -version" it says "java version 1.6.0_02". I just downloaded and installed this earlier tonight...

    The error message says it all.
    If you check your enum, it has a semicolon at the end of December.
    You do not need semicolon there. Remove it and you will be ok.
    public enum Months {
         JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY,
         AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER
    }

  • OC4J and java version

    I'm planning to migrate applications running on OC4J to 1.6 java version, but OC4J server is currently using 1.5 according the logs. When I try to start newly compiled web service app I'm getting standard java version incompatibility error (java.lang.UnsupportedClassVersionError: Bad version number in .class file).
    Is it possible and how to set OC4J to use 1.6 java to solve this error cause?
    OC4J version 10.1.3.1
    Thanks for the help

    Hi,
    You can check the Metalink Note no 396096.1
    Or follow the below link,it would be helpful
    http://www.club-oracle.com/forums/upgrade-jdk-oc4j-for-oracle-application-server-10-1-3-a-t1392/
    Regards
    Fabian

  • MapListener and Coherence and Java versions

    Hi,
    (1) On one of our testing environments, on linux, we are running coherence 3.7.1.7 on JVM Java 1.6u33 . We are using coherence*extend clients, and we do listen to updates in a cache through MapListeners. We have no issues on this configuration, and we consistently get onMapEvent calls for events.
    (2) When the same code is ported to another linux box, running 3.7.1.7 on JVM 1.6u06, we start to get onMapEvent calls for a while, but then it stops abruptly. We are able to verify the server cache getting updated properly, through a backing map listener on the server side. However the listeners on the coherence*extend are not sent notification.
    I understand that the (2) configuration is running JVM which is lower than the recommended version,but, When we downgraded JVM on (1) with 1.6u06, we still had consistent onMapEvent calls.
    My question is, does this kind of inconsistent behavior ring a bell to anybody over here ? It is hard to understand why the notifications would be inconsistent when the JVM is lower ... may be it is not associated with the JVM at all ? Can somebody throw some light on this please ?

    If it won't compile with VJ++, don't expect it to run with IE unless you've got a Sun plugin.
    As to writing parsers, what kind of grammar are you trying to parse?

  • JDeveloper and Java Version question

    I would like to know how to change the version of java that JDeveloper is using. I have 1.5 installed on the machine, yet the default version is 1.4 which i can see what going into help. How may I change JDev so it uses 1.5?
    Thank you,
    Russ

    Set the JDK version with Tools>Project Properties>J2SE Version field.

  • How to setup JAVA_HOME or JRE_HOME for veridata, and newest Java version

    when I test veridata agent connection to source db, I got following error:
    Agent remote message (101): Unhandled exception 'java.lang.UnsupportedClassVersionError': (oracle/jdbc/pool/OracleDataSource) bad major version at offset=6
    Then I checked java home on source, it is set to $ORACLE_HOME/jdk ,and java version is 1.5.
    Since my oracle goldengate agent download is 11.2, doc says it requires 1.6 as mininum java version.
    I just wonder how I get oracle Home has 1.6 java binaries.
    Thanks in advance.

    982335 wrote:
    I just wonder how I get oracle Home has 1.6 java binaries.Java doesn't have to be installed in Oracle_Home, it can be installed anywhere on your system. You probably already have a Java 6 installed somewhere; but if not, just install it (via pkg manager or manually installing from a tarball, etc). Then just set JAVA_HOME to the directory containing "bin", and prepend $JAVA_HOME/bin to your PATH (this should be quite simple).

  • HT1338 OSX 10.4.11 update quicktime. Browser says out of date. Updater says up-to-date. Is this version no longer supported. How to update QuickTime and Java then?

    OSX 10.4.11 Updates to QuickTime and Java.
    Browser says out of date. Updater says up-to-date. Is this version no longer supported?
    How can I update QuickTime and Java then without upgarding? I wish to keep a back channel to OS9

    Mac OS X Tiger was discontinued years ago, and if Software Update doesn't detect any new update, it's because you are running the latest Java and QuickTime version for Tiger.
    Apart from that, I see that you have a G5, so the most recent Mac OS X version you can use is Mac OS X Leopard, another version that it's (or it's going to be) discontinued soon. PowerPC support is completely dead now, and if you want the most recent QuickTime and Java versions, you will need a Intel-based Mac with OS X Lion or Mountain Lion, that have got the latest Java 6 versions and they are compatible with Java 7

  • JNI MMX and Java long arithmetic

    I am having trouble with a JNI call to a C program which contains assembler which uses an MMX operation as follows:
    static inline int diffPixels(int rgb1, int rgb2) {
    register int temp;
    __asm__ __volatile__ (
    "movd %1, %%mm1\n\t"
    "movd %2, %%mm2\n\t"
    "psadbw %%mm1, %%mm2\n\t"
    "movd %%mm2, %0\n\t"
    : "=r" (temp)
    : "r" (rgb1), "r" (rgb2)
    : "mm1", "mm2", "cc"
    return temp;
    After the JNI call returns, the first Java long arithmetic fails. I believe the failure is that when a method on a Java object returns a long the result is 0x8000000000000000 rather than the correct value.
    To use pure Java means my response to a user action is 9 seconds rather than 3 seconds with the JNI call which is why I want to persist with it. At present I am doing an arbitrary long multiply after the JNI call to "fix" long arithmetic but I am afraid this won't work if there is a context switch to another java thread in the middle of the JNI call.
    The test environment is a 3 Gigahertz Pentium 4 running Linux kernel 2.6.9 and Java version 1.4.2_06-b03.
    Can anyone explain this behaviour ? It took me days to isolate the problem.

    Hi,
    Is it absolutely necessary to declare temp as register ?
    How about adding a lock directive at the beginning of your asm ?
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                           

  • MII Workbench and java security Issue for jdk7

    Hello all,
    I am using MII version 12.2.2 Build(234) and java version jdk7.
    Now,I am not able to open or create a transaction in workbench.
    In java console, an error is shown below:
    AWT-EventQueue-0 [ERROR] - java.lang.ExceptionInInitializerError
         at com.sap.lhcommon.expressioneval.ExpressionLoader.<clinit>(ExpressionLoader.java:282)
         at com.sap.xmii.bls.expressioneval.TransactionFunctions.<clinit>(TransactionFunctions.java:27)
         at com.sap.xmii.xacute.editors.common.FunctionsComboBox.createBox(FunctionsComboBox.java:45)
         at com.sap.xmii.xacute.editors.common.FunctionsComboBox.<init>(FunctionsComboBox.java:39)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.createExpressionEditorPanel(LinkEditorPanel.java:1033)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.initialize(LinkEditorPanel.java:316)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorPanel.<init>(LinkEditorPanel.java:198)
         at com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorBottomPanel.<clinit>(LinkEditorBottomPanel.java:28)
         at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.initDisplay(TransactionInfo.java:353)
         at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.createNewFile(TransactionInfo.java:149)
         at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction.createFileInfoObject(NewAction.java:194)
         at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction$1.construct(NewAction.java:115)
         at com.sap.lhcommon.gui.ThreadCreator$2.run(ThreadCreator.java:96)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.security.action")
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass0(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass(Unknown Source)
         at com.sun.jnlp.JNLPPreverifyClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.sap.lhcommon.expressioneval.functions.DecodeFunction.<clinit>(DecodeFunction.java:83)
         ... 14 more
    I also modified the 'java.policy' file. But it did not work. I am still getting the same error.
    Kindly advise..
    Thanks,
    Ritwika.

    I do not yet know the security implications of doing what I did to fix this issue, but here is my solution.
    I added the following to the jre7 java.policy file in the section "grant {":
    permission java.lang.RuntimePermission "accessClassInPackage.sun.security.action";

  • I'm trying to use Microsoft Livemeeting 2007 - browser and java issues

    My browser and java versions are apparently too new, and I can't seem to figure out how to download and use past versions to properly use the Livemeeting software. I know Livemeeting is outdated software, but this is what the client I'm working with is using, and I need to be able to join web conferences for document viewing/sharing, etc. Any help would be most appreciated, as I've spent hours trying to figure this out, but nothing seems to be working.

    Maybe try this??
    Microsoft Livemeeting 2007 not working
    Otherwise you may want to try posting on the Microsoft Mac forums:  http://answers.microsoft.com/en-us/mac

  • What to make of java -version output?

    hi,
    I have two machines with java on them, doing a -version gives:
    java version "1.4.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
    Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
    and
    java version "1.4.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
    Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
    The problem is that the first produces a strange error
    ERROR: could not initialize interface awt - exception: java.lang.NoSuchMethodError: processSynchronousLightweightTransfer
    so I was wondering what the differences are between b03 and b92, and where these might be documented on suns website?
    thanks,
    asjf

    You posted the same thing.
    As far as I know b92 was the release of 1.4.0. Builds previous to that would have been betas. Newer builds have bug fixes in them, just as x.x.n builds do.
    You might also compare video cards, drivers and fonts on the two systems. Many problems in the GUI systems are caused by variances in those.

  • Cannot Change Java Version Using Java Preferences

    When I attempt a change of the current Java version (say, switching from 1.5 to 6) using Java Preferences, the change is reflected in the preferences, but the update does actually occur and java -version continues to report Java 1.5 as the current version.
    If I create another account, this work just fine and I can switch versions at will. Anyone have any idea what might be missing from my account?

    Ok, I figured out what was going on: I had explicitly set my JAVA_HOME in ~/.bash_profile, pointing to the symlinked path for the current JSE. It turns out there a new CLI tool /usr/libexec/java_home that can be used to assign JAVA_HOME like this:
    export JAVAHOME=`/usr/libexec/javahome`
    Using this will ensure that JAVA_HOME is set to the correct value when the shell starts up (if you don't have JAVA_HOME set at all, you can switch the JSE versions in the Terminal 'on-the-fly' when changing the Java Preferences setting).
    http://lists.apple.com/archives/java-dev/2009/Jun/msg00139.html
    Message was edited by: stonehippo

Maybe you are looking for

  • Safari wont open PLEASE HELP

    HI HERE IS THE PROBLEM REPORT COULD SOMEONE HELP ME. Process: Safari [1442] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0 (5533.16) Build Info: WebBrowser-75331600~3 Code Type: X86 (Native) Parent Proc

  • Purchase Requistion to Purchase order

    Dear All, Please confirm how to convert PR to PO. Kindly confirm the overall step involve in it. Regards, Phalgun

  • OAS 10.1.3 PatchSet 3 on IBM AIX 5.3 installs a 2 year old IBM JDK - why ?

    We're running OAS 10.1.3.0.0 on IBM AIX 5.3 and due to some crashing issues OSS recommended to upgrade to PatchSet 3 (so 10.1.3.3.0). We originally were running OAS with IBM's SR4 of the IBM JDK. Now after the upgrade to Patchset 3 (on a test machine

  • Need to add customer fields in CRM_DNO_MONITOR

    Hi Experts , Using EEWB i created few customer fields in CRMD_ORDER. Now same fields i am adding in CRM_DNO_MONITOR. I enhanced standard program "CRM_DNO_SERVICE_MONITOR" for CRM_DNO_MONITOR. Added new selection screen for customer fields. Now i can

  • Polling in reader 8.1.1 for Unix

    Hi, I am running Ubuntu 7.04 x86 using a custom built kernel 2.6.22, in order to get stats on wakeups per second with PowerTop: http://www.linuxpowertop.org/ Running the recently Adobe Reader 8 for Linux, I noticed a new entry in the "hall of shame"