Dear edgar, I have put the gps.bat in bin folder and still the gps classpath error persists;
The system is loaded with Java (TM)6 update2 and Java (TM) SE Dev kit 6 update 2. The follwing is the text which appears in Dos window. """"" C:\Program Files\OpenJUMP\bin>gps.bat ../lib/ext\VertexSymbols.jar;../lib/ext\ui.jar;../lib/ext\trackTracing.jar;../li b/ext\terrainModel.jar;../lib/ext\swixml.jar;../lib/ext\statisticsTools.jar;../l ib/ext\sridsupport.jar;../lib/ext\snakesalgos.jar;../lib/ext\ShowMetaInformation .jar;../lib/ext\ShiftCoords.zip;../lib/ext\readme.txt;../lib/ext\rasterImage.jar ;../lib/ext\printlayoutplugin.jar;../lib/ext\printLayout.jar;../lib/ext\postgres ql-8.2-505.jdbc4.jar;../lib/ext\postgresql-8.2-505.jdbc3.jar;../lib/ext\postgres ql-8.0.309.jdbc3.jar;../lib/ext\PirolCsv.jar;../lib/ext\nmeaRaw.jar;../lib/ext\M ergeLayer.zip;../lib/ext\mapgentoolbox_plugin.doc;../lib/ext\mapgentoolboxplugin _v1_0.jar;../lib/ext\license.txt;../lib/ext\LayoutPlugin.jar;../lib/ext\JumpPrin ter.jar;../lib/ext\JumpPostGIS61106B.jar;../lib/ext\jmat_5.0.jar;../lib/ext\jdom .jar;../lib/ext\j2h.jar;../lib/ext\iSQLViewerPlugin.jar;../lib/ext\isoLinien.jar ;../lib/ext\InfoToCoor.jar;../lib/ext\histogramm.jar;../lib/ext\GraticuleCreator .zip;../lib/ext\gpstool-0.4.15-pre6.jar;../lib/ext\gps.jar;../lib/ext\gps.conf;. ./lib/ext\featureByFeatureGeometry.jar;../lib/ext\driver-dxf-0.5.jar;../lib/ext\ delaunay.jar;../lib/ext\defaultcore-SNAPSHOT.jar;../lib/ext\defaultcore-2.0-B2-S NAPSHOT.jar;../lib/ext\cts-coordtrans-SNAPSHOT.jar;../lib/ext\cts-coordtrans-2.0 -B2-SNAPSHOT.jar;../lib/ext\CreateColorTheming.jar;../lib/ext\core-SNAPSHOT.jar; ../lib/ext\core-2.0-B2-SNAPSHOT.jar;../lib/ext\coordinateFiltering.jar;../lib/ex t\comm.jar;../lib/ext\ColorThemingViewer.jar;../lib/ext\CategoryTools.jar;../lib /ext\bdgoutlinesimplify.jar;../lib/ext\baseClasses.jar;../lib/ext;..\lib\xml-api s.jar;..\lib\xml-apis-ext.jar;..\lib\xercesImpl.jar;..\lib\postgresql-8.1dev-403 .jdbc2.jar;..\lib\postgis_1_0_0.jar;..\lib\log4j-1.2.8.jar;..\lib\jump-workbench -20070816-0019.jar;..\lib\jump-api-20070816-0019.jar;..\lib\jts-1.7.2.jar;..\lib \jmat_5.0m.jar;..\lib\jdom.jar;..\lib\Jama-1.0.1.jar;..\lib\jai_core.jar;..\lib\ jai_codec.jar;..\lib\ermapper.jar;..\lib\Buoy.jar;..\lib\bsh-2.0b4.jar;..\lib\ba tik-all.jar;; 'java' is not recognized as an internal or external command, operable program or batch file.""""" Thanks Aneel On Fri, 02 Nov 2007 [EMAIL PROTECTED] wrote : >hello aneel, > >1. >sorry .. you seem not to have the java sdk installed, in the line starting >with java of the gps.bat replace 'java' with 'javaw' command > >2. >please put the batch file(gps.bat) into your jump folder under /bin (e.g. >c:\program files\jump\bin) and execute it there. > >copy the content of the resulting dos box (upper left corner -> edit -> >select, then upper left corner -> edit -> copy) into an email > >good luck ..ede >-- >>Dear edgar, >>The fallowing in quotes is what that appears when I run GPS.bat at C: prompt. >>The gps.conf file is in lib/ext folder and when I check the properties, the >>read only or archive boxes are not ticked. >>regards Aneel >> >>"""" Microsoft Windows XP [Version 5.1.2600] >>(C) Copyright 1985-2001 Microsoft Corp. >> >>C:\Documents and Settings\Administrator.P4-26>cd\ >> >>C:\>gps.bat >>../lib/ext;; >>'java' is not recognized as an internal or external command, >>operable program or batch file.""""" >> >> >>On Fri, 02 Nov 2007 [EMAIL PROTECTED] wrote : >> >>>is the gps.conf file in lib/ext and readable? what is the output in the dos >>>box? >>> >>>regards ede >>>-- >>> >>>> Dear edgar, >>>>I have saved your attached file as gps.bat and the shortcut I kept in >>>>startup folder, on restarting a dos window does appear and then I launched >>>>OJ, the error problem still persists. Any clues? >>>>Aneel >>>> >>>> >>>>On Wed, 31 Oct 2007 [EMAIL PROTECTED] wrote : >>>> >>>> >>>>>please try the attached startup batch file, which works for me.. >>>>>please doublecheck that gps.conf is in lib/ext and readable >>>>> >>>>>ede >>>>>-- >>>>> >>>>> >>>>>> I got the JavacommApi after googling & from the fallowing site >>>>>> >>>>>>http://www.freepoc.org/download/javacomm20-win32.zip >>>>>> >>>>>>I have done the changes you suggested to the Bat file and still get the >>>>>>fallowing error when OJ is launched: >>>>>> >>>>>>java.io.FileNotFoundException: Can't find settings file 'gps.conf' for >>>>>>plugin 'GPS Tracker'. Hint: Put it in the classpath! >>>>>> at >>>>>> de.soldin.gt2jump.gps.GPSTrackerPlugin.readFile(GPSTrackerPlugin.java:630) >>>>>> at >>>>>> de.soldin.gt2jump.gps.GPSTrackerPlugin.initialize(GPSTrackerPlugin.java:243) >>>>>> at de.soldin.gt2jump.gps.GPSExtension.configure(GPSExtension.java:38) >>>>>> at >>>>>> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:90) >>>>>> at >>>>>> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:84) >>>>>> at >>>>>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:250) >>>>>> at >>>>>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:213) >>>>>> >>>>>>My bat file at C:\Program Files\OpenJUMP\bin\openjump.bat reads as >>>>>>fallows after attending to your suggestions: >>>>>> >>>>>>set LIB=../lib >>>>>>set >>>>>>CLASSPATH=../conf;%LIB%/bsh-2.0b4.jar;%LIB%/Buoy.jar;%LIB%/Jama-1.0.1.jar;%LIB%/jdom.jar;%LIB%/jts-1.7.2.jar;%LIB%/jump-workbench-20070816-0019.jar;%LIB%/jump-api-20070816-0019.jar;%LIB%/xercesImpl.jar;%LIB%/xml-apis.jar;%LIB%/xml-apis-ext.jar;%LIB%/log4j-1.2.8.jar;%LIB%/batik-all.jar;%LIB%/jmat_5.0m.jar;%LIB%/ermapper.jar;%LIB%/jai_codec.jar;%LIB%/jai_core.jar;%LIB%/ext; >>>>>>REM add plugindir to classpath >>>>>>set PLUGINDIR=..\lib\ext >>>>>>set CLASSPATH=%PLUGINDIR%;%CLASSPATH% >>>>>> >>>>>> >>>>>>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 -Dlog4j.configuration=file:./log4j.xml -Xms256M -Xmx256M -cp >>>>>>%CLASSPATH% com.vividsolutions.jump.workbench.JUMPWorkbench -properties >>>>>>workbench-properties.xml -plug-in-directory %LIB%/ext >>>>>> >>>>>>I shall await for your further advise >>>>>>Aneel >>>>>> >>>>>> >>>>>>On Tue, 30 Oct 2007 [EMAIL PROTECTED] wrote : >>>>>> >>>>>> >>>>>> >>>>>>>set LIB=../lib >>>>>>>set CLASSPATH=../conf;...SNIP >>>>>>> >>>>>>>REM add plugindir to classpath >>>>>>>set PLUGINDIR=..\lib\ext >>>>>>>set CLASSPATH=%PLUGINDIR%;%CLASSPATH% >>>>>>> >>>>>>> >>>>>>>REM Add extension directory to path, so extensions can put DLL's there >>>>>>>[Jon Aquino 2005-03-18] >>>>>>>set PATH=%PATH%;%LIB%/ext;%LIB%/ext/ext >>>>>>>start javaw -Dlog4j.configuration=file:./log4j.xml -Xms256M -Xmx256M -cp >>>>>>>%CLASSPATH% com.vividsolutions.jump.workbench.JUMPWorkbench -properties >>>>>>>workbench-properties.xml -plug-in-directory %LIB%/ext >>>>>>> >>>>>>>above are the necessary entries. locate the line after the long 'set >>>>>>>Classpath' statement and insert the 3 lines (REM..., set PLUGINDIR.., >>>>>>>set CLASSPATH...) as shown above.. >>>>>>>you can safely remove the %LIB%/ext/ext from the 'set PATH' statement >>>>>>>later on, as there should be no such folder. >>>>>>> >>>>>>>btw. where did you find/download the old JavaComApi 2.0 for windows? >>>>>>> >>>>>>>good luck ..ede >>>>>>>-- >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Please find the file attached herewith. >>>>>>>>Aneel >>>>>>>> >>>>>>>> >>>>>>>>On Tue, 30 Oct 2007 [EMAIL PROTECTED] wrote : >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>.. please send your jumpworkbench.bat and i'll advise you where to >>>>>>>>>edit it :) >>>>>>>>> >>>>>>>>>ede >>>>>>>>>-- >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> Hi Edgar, >>>>>>>>>>Thanks for your prompt concern. I did not receive the Java commAPI >>>>>>>>>>attachment you sent but the one I loaded seems to be working as GPS >>>>>>>>>>Track tab is seen in the Options window and test also yeilds some >>>>>>>>>>output(indoors)within that window. However, the error message >>>>>>>>>>persists on launching OJ and Iam herewith attaching the detailed >>>>>>>>>>error message >>>>>>>>>> >>>>>>>>>>I have added the folder name 'ext'containing gps.conf and other jar >>>>>>>>>>files within the main 'ext" to the classpath (in jumpworkbench.bat)by >>>>>>>>>>writing ";%LIB%/ext/ext" Please suggest how to overcome this error. >>>>>>>>>>Aneel >>>>>>>>>> >>>>>>>>>>On Tue, 30 Oct 2007 [EMAIL PROTECTED] wrote : >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>did you receive this mail? your mail server seems to reject the >>>>>>>>>>>attachment.. >>>>>>>>>>> >>>>>>>>>>>Hi aneel, >>>>>>>>>>> >>>>>>>>>>>sorry for the inconvenience. To solve this error, you have to add the >>>>>>>>>>>folder containing gps.conf to the classpath (in jumpworkbench.bat) or >>>>>>>>>>>move the file into a folder in the classpath (Im not sure that there >>>>>>>>>>>is >>>>>>>>>>>one actually ;). While developing the extension I always had the >>>>>>>>>>>plugindir added to the classpath. >>>>>>>>>>> >>>>>>>>>>>Just to help you I attach the Java Com API I used in that time and >>>>>>>>>>>which >>>>>>>>>>>is no more downloadable at sun.com. >>>>>>>>>>> >>>>>>>>>>>Hint: You can check if the communication is working in a field in the >>>>>>>>>>>options panel / gps tab. If the serial settings are right you can see >>>>>>>>>>>the data from the mouse. >>>>>>>>>>> >>>>>>>>>>>does this help you out? .. ede >>>>>>>>>>>-- >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> Dear Edgar, >>>>>>>>>>>>In continuation of RaviKumar's request, I tried your plugin with >>>>>>>>>>>>Java Communication API version 2 to get connectivity from serial >>>>>>>>>>>>port to my Garmin GPS. While I could see related menu in view and >>>>>>>>>>>>edit of oj Ver 1.2D, The error message (not exact-as I am writing >>>>>>>>>>>>from home)I get is "GPS tracker could not be read from >>>>>>>>>>>>gps.conf-Hint add to the class path". Does the plugin work with >>>>>>>>>>>>1.2D and which is the suitable JRE Ver for it to work on WIN XP. I >>>>>>>>>>>>hope with the above info, you can suggest something or I can get >>>>>>>>>>>>back with correct error message soon. >>>>>>>>>>>>------------------------------------ >>>>>>>>>>>>Edgar Soldin edgar.soldin at web.de >>>>>>>>>>>>Mon Oct 1 12:31:19 PDT 2007 Hi Ravi, >>>>>>>>>>>> >>>>>>>>>>>>how are you trying to connect to the gps mouse. Are you using my >>>>>>>>>>>>plugin? If you are using windows and are willing to experiment i >>>>>>>>>>>>could help you setup my gps extension for jump. It might prove >>>>>>>>>>>>difficult as it needs some binary libraries but it is capable of >>>>>>>>>>>>tracking a live gps data stream from a serial device. >>>>>>>>>>>> >>>>>>>>>>>>check install.txt,readme.txt in >>>>>>>>>>>>http://soldin.de/about/2004-jump_plugins/gt2jump.gps-0.1a.zip >>>>>>>>>>>>for further hints. >>>>>>>>>>>> >>>>>>>>>>>>Please describe exactly your problems, so that i can specifically >>>>>>>>>>>>support you :). >>>>>>>>>>>> >>>>>>>>>>>>regards ede >>>>>>>>>>>>-- >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>>Hi, >>>>>>>>>>>>> have used the GPS plugin downloaded. I have problems connecting >>>>>>>>>>>>> OJ with GPS. >>>>>>>>>>>>> 1. How to receive TRACK from GPS. >>>>>>>>>>>>> 2. How to connect to a LIVE GPS and note the GPS coordinates. >>>>>>>>>>>>> Ex You pedal on a road and record the road on OJ. Pl give >>>>>>>>>>>>> some suggestions any documentation available ? >>>>>>>>>>>>> Cheers >>>>>>>>>>>>> Ravi Kumar >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>-- public class WhoDidIt{ // A comment. I love comments >>>>>>>>>>> private static Person sender; >>>>>>>>>>> >>>>>>>>>>> public static void main (String[] foo){ >>>>>>>>>>> >>>>>>>>>>> sender = new Person(); >>>>>>>>>>> sender.setName(new String[]{"Edgar", "Soldin"}); >>>>>>>>>>> >>>>>>>>>>> Address address = new Address(); >>>>>>>>>>> address.setStreet("Stadtweg 119"); >>>>>>>>>>> address.setZip(39116); >>>>>>>>>>> address.setCity("Magdeburg"); >>>>>>>>>>> address.setCountry("Germany"); >>>>>>>>>>> >>>>>>>>>>> sender.setAddress(address); >>>>>>>>>>> >>>>>>>>>>> sender.setMobilePhone(" +49(0)171-2782880 "); >>>>>>>>>>> sender.setWebSiteUrl(" http://www.soldin.de "); >>>>>>>>>>> sender.setEmail(" [EMAIL PROTECTED] "); >>>>>>>>>>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>>>>>>>>>> sender.setGender(true); >>>>>>>>>>> >>>>>>>>>>> System.out.println(sender.toString()); >>>>>>>>>>> } >>>>>>>>>>>} >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>-- public class WhoDidIt{ // A comment. I love comments private >>>>>>>>>static Person sender; >>>>>>>>> >>>>>>>>> public static void main (String[] foo){ >>>>>>>>> >>>>>>>>> sender = new Person(); >>>>>>>>> sender.setName(new String[]{"Edgar", "Soldin"}); >>>>>>>>> >>>>>>>>> Address address = new Address(); >>>>>>>>> address.setStreet("Stadtweg 119"); >>>>>>>>> address.setZip(39116); >>>>>>>>> address.setCity("Magdeburg"); >>>>>>>>> address.setCountry("Germany"); >>>>>>>>> >>>>>>>>> sender.setAddress(address); >>>>>>>>> >>>>>>>>> sender.setMobilePhone(" +49(0)171-2782880 "); >>>>>>>>> sender.setWebSiteUrl(" http://www.soldin.de "); >>>>>>>>> sender.setEmail(" [EMAIL PROTECTED] "); >>>>>>>>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>>>>>>>> sender.setGender(true); >>>>>>>>> >>>>>>>>> System.out.println(sender.toString()); >>>>>>>>> } >>>>>>>>>} >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>-- public class WhoDidIt{ // A comment. I love comments private static >>>>>>>Person sender; >>>>>>> >>>>>>> public static void main (String[] foo){ >>>>>>> >>>>>>> sender = new Person(); >>>>>>> sender.setName(new String[]{"Edgar", "Soldin"}); >>>>>>> >>>>>>> Address address = new Address(); >>>>>>> address.setStreet("Stadtweg 119"); >>>>>>> address.setZip(39116); >>>>>>> address.setCity("Magdeburg"); >>>>>>> address.setCountry("Germany"); >>>>>>> >>>>>>> sender.setAddress(address); >>>>>>> >>>>>>> sender.setMobilePhone(" +49(0)171-2782880 "); >>>>>>> sender.setWebSiteUrl(" http://www.soldin.de "); >>>>>>> sender.setEmail(" [EMAIL PROTECTED] "); >>>>>>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>>>>>> sender.setGender(true); >>>>>>> >>>>>>> System.out.println(sender.toString()); >>>>>>> } >>>>>>>} >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>-- public class WhoDidIt{ // A comment. I love comments private static >>>>>Person sender; >>>>> >>>>> public static void main (String[] foo){ >>>>> >>>>> sender = new Person(); >>>>> sender.setName(new String[]{"Edgar", "Soldin"}); >>>>> >>>>> Address address = new Address(); >>>>> address.setStreet("Stadtweg 119"); >>>>> address.setZip(39116); >>>>> address.setCity("Magdeburg"); >>>>> address.setCountry("Germany"); >>>>> >>>>> sender.setAddress(address); >>>>> >>>>> sender.setMobilePhone(" +49(0)171-2782880 "); >>>>> sender.setWebSiteUrl(" http://www.soldin.de "); >>>>> sender.setEmail(" [EMAIL PROTECTED] "); >>>>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>>>> sender.setGender(true); >>>>> >>>>> System.out.println(sender.toString()); >>>>> } >>>>>} >>>>> >>>>>@echo off >>>>> >>>>>for %%i in (..\lib\*.*) do ( >>>>> set jarfile=%%i >>>>> >>>>> rem If we append to a variable inside the for, only the last entry will >>>>> rem be kept. So append to the variable outside the for. >>>>> rem See >>>>> http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20561701.html. >>>>> rem [Jon Aquino] >>>>> >>>>> call :setclass >>>>>) >>>>> >>>>>set PLUGINDIR=../lib/ext >>>>>set CLASSPATH=%PLUGINDIR%;%CLASSPATH% >>>>>set PATH=%PATH%;.;%PLUGINDIR% >>>>> >>>>>for %%i in (%PLUGINDIR%\*.*) do ( >>>>> set jarfile=%%i >>>>> >>>>> rem If we append to a variable inside the for, only the last entry will >>>>> rem be kept. So append to the variable outside the for. >>>>> rem See >>>>> http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20561701.html. >>>>> rem [Jon Aquino] >>>>> >>>>> call :setclass >>>>>) >>>>> >>>>>echo %CLASSPATH%; >>>>> >>>>>:start >>>>>java -Xmx128M -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser >>>>>com.vividsolutions.jump.workbench.JUMPWorkbench -properties >>>>>workbench-properties.xml -plug-in-directory %PLUGINDIR% >>>>> >>>>> >>>>>goto :eof >>>>> >>>>>:setclass >>>>>set CLASSPATH=%jarfile%;%CLASSPATH% >>>>>set jarfile= >>>>>goto :eof >>>>> >>>>>:eof >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>-- public class WhoDidIt{ // A comment. I love comments private static >>>Person sender; >>> >>> public static void main (String[] foo){ >>> >>> sender = new Person(); >>> sender.setName(new String[]{"Edgar", "Soldin"}); >>> >>> Address address = new Address(); >>> address.setStreet("Stadtweg 119"); >>> address.setZip(39116); >>> address.setCity("Magdeburg"); >>> address.setCountry("Germany"); >>> >>> sender.setAddress(address); >>> >>> sender.setMobilePhone(" +49(0)171-2782880 "); >>> sender.setWebSiteUrl(" http://www.soldin.de "); >>> sender.setEmail(" [EMAIL PROTECTED] "); >>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>> sender.setGender(true); >>> >>> System.out.println(sender.toString()); >>> } >>>} >>> >>> >> >> > > >-- public class WhoDidIt{ // A comment. I love comments private static Person >sender; > > public static void main (String[] foo){ > > sender = new Person(); > sender.setName(new String[]{"Edgar", "Soldin"}); > > Address address = new Address(); > address.setStreet("Stadtweg 119"); > address.setZip(39116); > address.setCity("Magdeburg"); > address.setCountry("Germany"); > > sender.setAddress(address); > > sender.setMobilePhone(" +49(0)171-2782880 "); > sender.setWebSiteUrl(" http://www.soldin.de "); > sender.setEmail(" [EMAIL PROTECTED] "); > sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); > sender.setGender(true); > > System.out.println(sender.toString()); > } >} >
_______________________________________________ jump-users mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jump-users
