Laurens M. Fridael wrote:


I get this error message when I try convertjxl21.jar:

java -jar convertjxl21.jar rick-main4.jxl rick-main21.jxl
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/jpluck/jxl/JXL21Converter


Weird. I cannot reproduce this here. Make sure the JPluck directory is the current directory.

You can also run it by specifying the classpath and main class manually.

java -cp build\jpluck2.jar;lib\endorsed\xml-apis.jar;lib\endorsed\xercesImpljar;lib\commons-cli.jar;lib\commons-jxpath-1.1.jar net.sf.jpluck.jxl.JXL21Converter rick-main4.jxl rick-main21.jxl


Regards -Laurens _______________________________________________ plucker-list mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-list

I tried your suggestion and here are my results: (running Mepis Linux, run in the directory where the jxl is and I copied the convertjxl21.jar there as well)

java -cp build\jpluck2.jar;lib\endorsed\xml-apis.jar;lib\endorsed\xercesImpljar;lib\commons-cli.jar;lib\commons-jxpath-1.1.jar net.sf.jpluck.jxl.JXL21Converter rick-main4.jxl rick-main21.jxl
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] 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 -classpath <directories and zip/jar files separated by :>
                 set search path for application classes and resources
   -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
bash: libendorsedxml-apis.jar: command not found
bash: libendorsedxercesImpljar: command not found
bash: libcommons-cli.jar: command not found
bash: libcommons-jxpath-1.1.jar: command not found

Rick

--
0-0------------------------------------------------------0-0
                  Rick Ankrum
                4307 Woodbridge Drive
                Kingwood, TX 77339
0-0------------------------------------------------------0-0

_______________________________________________
plucker-list mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

Reply via email to