You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Saha, Sanjeev" <SS...@asce.org> on 2004/05/01 02:31:45 UTC

RE: getting started

Howdy Brenda,

I second Jacob's approach and would suggest going ahead and executing the xbeanenv.cmd script. I was experiencing similar issues as you had mentioned under Windows Xp with jdk 1.4.2_01-b06.

Needless to say, xbeanenv.cmd did the trick :o)

-Sanjeev


-----Original Message-----
From:	Jacob Danner [mailto:jacobd@bea.com]
Sent:	Fri 4/30/2004 3:20 PM
To:	xmlbeans-user@xml.apache.org; Brenda.Hamilton@turner.com
Cc:	
Subject:	RE: getting started
it looks like you need to add xbean.jar to your classpath. This is easily done by setting the XMLBEANS_HOME environment variable, (execute xbeanenv.cmd)
If this is still occuring after trying this, please send classpath information.
-----Original Message-----
From: Hamilton, Brenda [mailto:Brenda.Hamilton@turner.com]
Sent: Friday, April 30, 2004 11:55 AM
To: 'xmlbeans-user@xml.apache.org'
Subject: RE: getting started



Well, I installed JDK 1.4.2 but I'm still getting errors.  I'm using a Win2K machine.  I've checked and double checked my environment.  I don't see anything wrong.  Here's the results I'm getting.  First command is just checking the jvm.  The 2nd is checking the I get a usage from the scomp.cmd.  The 3rd and 4th commands are trying to run the easypo example.

No joy.  Any comments, questions or suggestions would be appreciated. :) 

thanks, 
Brenda 

C:\xmlbeans-1.0.2\schemas\easypo>java -version 
java version "1.4.2_04" 
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) 
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) 
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd 
Usage: java [-options] class [args...] 
           (to execute a class) 
   or  java [-options] -jar jarfile [args...] 
           (to execute a jar file) 

where options include: 
    -client       to select the "client" VM 
    -server       to select the "server" VM 
    -hotspot      is a synonym for the "client" VM  [deprecated] 
                  The default VM is client. 

    -cp <class search path of directories and zip/jar files> 
    -classpath <class search path of directories and zip/jar files> 
                  A ; separated list of directories, JAR archives, 
                  and ZIP archives to search for class files. 
    -D<name>=<value> 
                  set a system property 
    -verbose[:class|gc|jni] 
                  enable verbose output 
    -version      print product version and exit 
    -showversion  print product version and continue 
    -? -help      print this help message 
    -X            print help on non-standard options 
    -ea[:<packagename>...|:<classname>] 
    -enableassertions[:<packagename>...|:<classname>] 
                  enable assertions 
    -da[:<packagename>...|:<classname>] 
    -disableassertions[:<packagename>...|:<classname>] 
                  disable assertions 
    -esa | -enablesystemassertions 
                  enable system assertions 
    -dsa | -disablesystemassertions 
                  disable system assertions 
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo.xsd 
Exception in thread "main" java.lang.NoClassDefFoundError: easypo/xsd 
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo 
Exception in thread "main" java.lang.NoClassDefFoundError: easypo 



-----Original Message----- 
From: Dutta Satadip [ mailto:s-dutta@sbcglobal.net] 
Sent: Thursday, April 29, 2004 9:50 PM 
To: xmlbeans-user@xml.apache.org 
Subject: Re: getting started 


Hello Brenda, 
The support for JDK 1.3.1 is still being worked on 
AFAIK. So currently it will work with JDK 1.4.X. 

However the problem you are describing seems like your 
paths are not set correctly. 


With Regards 
Dutta:) 



--- "Hamilton, Brenda" <Br...@turner.com> 
wrote: 
> I read that backwards support for java 1.3.1 was 
> being considered.  Has that been added yet?  I'm 
> currently running 1.3.1. 
>  
> I just downloaded xmlbeans and setup the java_home 
> and xmlbeans_home variables and updated my path. 
> This is what I get when trying: 
> C:\xmlbeans-1.0.2\schemas>scomp easypo 
> Exception in thread "main" 
> java.lang.NoClassDefFoundError: easypo 
>  
> If it's just a problem with the jvm version, I'll 
> download and install 1.4.x, though I'd prefer to 
> stay one 1.3.1. 
>  
> thanks, 
> Brenda 
> 



- --------------------------------------------------------------------- 
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org 
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org 
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/ 







- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/