I'm not sure who the author was, but there appear to be several things wrong with the package. First, it didn't specify adding jdwglib.jar to the CLASSPATH. For example:
set LIB=../lib set CLASSPATH=%LIB%/bsh-2.0b1.jar;%LIB%/Jama-1.0.1.jar;%LIB%/jdom.jar;%LIB%/jts-1.7.2.jar;%LIB%/jump-workbench-1.2.0.jar;%LIB%/jump-core-1.2.0.jar;%LIB%/xercesImpl.jar;%LIB%/xml-apis.jar;%LIB%/jai_core.jar;%LIB%/jai_codec.jar;%LIB%/jdwglib.jar REM Add extension directory to path, so extensions can put DLL's there [Jon Aquino 2005-03-18] set PATH=%PATH%;%LIB%/ext start javaw -Xms256M -Xmx256M -cp %CLASSPATH% com.vividsolutions.jump.workbench.JUMPWorkbench -properties workbench-properties.xml -plug-in-directory %LIB%/ext But even after you do this it still fails with: java.lang.NoClassDefFoundError: net/jmorell/jdwglib/dwg/DwgFile at es.iver.jump.drivers.dwg.DwgReader.read(DwgReader.java:116) at com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource$1.executeQuery(ReaderWriterFileDataSource.java:61) at com.vividsolutions.jump.workbench.datasource.LoadDatasetPlugIn.run(LoadDatasetPlugIn.java:175) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:148) at java.lang.Thread.run(Unknown Source) A check of the jar does not find the path called net/jmorell/jdwglib/dwg/ so my assumption is that this package is faulty and needs to be rebuilt. regards, Larry Becker On 5/17/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > Giuseppe, > > I wasn't aware that Vivid Solutions or SIGLE has created plug-ins to > read DWG files. Perhaps they will be able to comment on the error you > are receiving. > > Typically the "No Class Def Found Error" occurs when OpenJUMP can't > find the files it needs for load the plug-in when the program first > launches. Are you sure you placed the JAR folders for the DWG plug-ins > in the correct folder. I think this was specified in the install.txt > file of the plug-ins. This folder should be found in the /lib/ext > folder of OpenJUMP's intsallation folder. > > The Sunburned Surveyor > > On 5/17/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: > > Hi everybody > > > > I am a new Openjump user. I tried the dwg library for Vivid Jump in > > Openjump but ii doen't work (message of error: > > net/jmorell/jdwglib/dwg/dwgfile :No Class Def Found Error). > > Does somebody face (and sove) the same problem? > > > > I use last Openjump ver. 1.2 with Jre/Jai with Windows XP > > I downloaded jdwglib.jar and jumpdwgplugin from this site > > http://ftp2.ie.freesbie.org/pub/sourceforge/j/jd/jdwglib/ > > and followed the instructions to instal them. > > Thank you in advance for your replay > > > > Giuseppe Aruta > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- http://amusingprogrammer.blogspot.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel