Please insert a space before '-Xmx128M' .. this is a parameter ;) Make sure that the java call after ':start' including is _one_ line only with a return after the last parameter '-plug-in-directory %PLUGINDIR%'
now? ede -- > > Dear Edgar, > I tried the step you suggested, the fallowing is the result > Regards > Aneel > > > The edited gps.bat is as below > > @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 > "c:\Program files\java\jdk1.6.0_02\bin\java.exe" > -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 > > ===============on running gps.bat========================= > > > C:\>gps.bat > ../lib/ext;; > '"c:\Program files\java\jdk1.6.0_02\bin\java.exe"-Xmx128M' is not recognized > as > an internal or external command, > operable program or batch file. > > C:\> > > ==================Error file ============================ > 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) > > > > On Fri, 30 Nov 2007 Edgar Soldin wrote : > >> Hello Aneel, >> >> edit the gps.bat .. after the line ":start" >> >> FROM--> >> :start >> java -Xmx128M -Dorg.xml.sax.driver=...SNIP >> >> TO--> >> :start >> "c:\Program files\java\jdk1.6.0_02\bin\java.exe" -Xmx128M >> -Dorg.xml.sax.driver=...SNIP >> >> leave the parameters as they are .. I snipped them to make the example >> shorter >> do NOT forget the "s .. your path contains spaces >> >> how does it work? ..ede >> -- >> >> >> >>> Dear Edgar, >>> could you kindly write the detailed steps to fallow for both the options; >>> The bin folder of java is at >>> 1)c:\Program files\java\jdk1.6.0_02\bin >>> 2)C:\Program Files\Java\jdk1.6.0_02\jre\bin >>> 3)C:\Program Files\Java\jre1.6.0_02\bin >>> all of them contain java.exe and javaw.exe >>> ========================================= >>> .. this explains a lot ;) .. finally.. >>> >>> you have 2 options here... >>> >>> 1. add the full path to java the binaries globally (c:\program >>> file\java\...\bin), replace '...' >>> or >>> 2. modify the batch command to include the full path e.g. c:\program >>> file\java\...\bin\java.exe >>> >>> I'll suggest number one. >>> Try to execute the gps.bat.. if it still doesnt find your java >>> interpreter, doublecheck the settings. Eventually your jump should start >>> when you execute the batch file. >>> >>> Good luck again.. ede >>> -- >>> >>>> Hello Edgar, >>>> I just double click the jump icon on my desktop which is linked to >>>> "C:\Program Files\OpenJUMP\bin\openjump.exe.All the extensions kept in ext >>>> folder work. >>>> >>>> Do you suggest me to try adding any items in "My >>>> Computer->RTclick->properties->Advanced->Environment variabes->user >>>> defined/system defined variables" >>>> >>>> Thanks >>>> Aneel >>>> >>>> >>>> On Wed, 07 Nov 2007 [EMAIL PROTECTED] wrote : >>>> >>>>>> hello aneel, >>>>>> >>>>> what i don't understand now is, why the batch file does not find your >>>>> java interpreter (java, or javaw) ... >>>>> >>>>> how do you usually start jump .. please describe the process in detail! >>>>> >>>>> regards ede >>>>> >>> >>> mobiles >>> <http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/[EMAIL >>> >>> PROTECTED]/1846186_1839156/1845568/1?PARTNER=3&OAS_QUERY=null%20target=new%20> >>> >>> >>> > > > ------------------------------------------------------------------------ > > _______________________________________________ > jump-users mailing list > [EMAIL PROTECTED] > http://lists.refractions.net/mailman/listinfo/jump-users > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
