Ok, I've found the probable reason - in Java 7u21 the API command we use to
launch WinEdt has been changed (Oracle seems to have forgotten the meaning
of backwards compatibility in this case...):
http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html#jruntime

If I'm right about this, a workaround could be to install an older version
of Java for running JabRef. Alternatively you could do something about the
install directory of WinEdt (for instance, put it under C:\WinEdt). I'll
look at a fix for the next JabRef version.


Morten


On 1 May 2013 17:16, Mario Dzamarija <[email protected]> wrote:

> Morten,
>
> I have been using Browse button to set the WinEdt path. I have added the
> quotes around all of the spaces in the WinEdt path and the status-bar does
> not report an error any more. It says: Preferences recorded.
>
> However, no citation is added to my .tex file in WinEdt when I do the
> "Push selection to WinEdt." I do not know if the "Exception" tab might help
> again:
>
> Exception in thread "Thread-27" java.lang.IllegalArgumentException:
> Executable name has embedded quote, split the arguments
>     at java.lang.ProcessImpl.isQuoted(Unknown Source)
>     at java.lang.ProcessImpl.getExecutablePath(Unknown Source)
>
>     at java.lang.ProcessImpl.<init>(Unknown Source)
>     at java.lang.ProcessImpl.start(Unknown Source)
>      at java.lang.ProcessBuilder.start(Unknown Source)
>     at java.lang.Runtime.exec(Unknown Source)
>     at java.lang.Runtime.exec(Unknown Source)
>     at java.lang.Runtime.exec(Unknown Source)
>     at
> net.sf.jabref.external.PushToWinEdt.pushEntries(PushToWinEdt.java:70)
>     at
> net.sf.jabref.external.PushToApplicationAction.run(PushToApplicationAction.java:82)
>     at java.lang.Thread.run(Unknown Source)
>
>
>
>
>
> 2013/5/1 Morten Omholt Alver <[email protected]>
>
>> Mario,
>>
>> the error message shows that the Windows shell is interpreting C:\Program
>> as the command to run. Are you using the Browse button to set the WinEdt
>> path? If not, try it and see if that helps. If not, try to add quotes
>> around all spaces in the WinEdt path (e.g. C:\Program" "files\ ...).
>>
>> I can make a test on a Windows machine later to figure it out, but there
>> definitely is a problem with the path containing spaces which are not put
>> within quotes before being sent to the shell.
>>
>>
>> Morten
>>
>>
>> On 1 May 2013 16:54, Mario Dzamarija <[email protected]>wrote:
>>
>>> Hi Morten,
>>>
>>> Here is what appears under the "Exceptions" tab in the Show error
>>> console, on both my desktop and laptop:
>>>
>>> java.io.IOException: Cannot run program "C:\Program": CreateProcess
>>> error=2, The system cannot find the file specified
>>>     at java.lang.ProcessBuilder.start(Unknown Source)
>>>     at java.lang.Runtime.exec(Unknown Source)
>>>     at java.lang.Runtime.exec(Unknown Source)
>>>     at java.lang.Runtime.exec(Unknown Source)
>>>     at
>>> net.sf.jabref.external.PushToWinEdt.pushEntries(PushToWinEdt.java:70)
>>>     at
>>> net.sf.jabref.external.PushToApplicationAction.run(PushToApplicationAction.java:82)
>>>     at java.lang.Thread.run(Unknown Source)
>>> Caused by: java.io.IOException: CreateProcess error=2, The system cannot
>>> find the file specified
>>>     at java.lang.ProcessImpl.create(Native Method)
>>>     at java.lang.ProcessImpl.<init>(Unknown Source)
>>>     at java.lang.ProcessImpl.start(Unknown Source)
>>>     ... 7 more
>>>
>>>
>>>
>>> 2013/5/1 Morten Omholt Alver <[email protected]>
>>>
>>>> Hi, Mario,
>>>>
>>>> when this error message is shown, a stack trace is also written to the
>>>> error output stream. To find out what is wrong I'd like to see the contents
>>>> of the stack trace. You can find it, after seeing the error message, by
>>>> going to Help -> Show error console in the menu, and then opening the
>>>> "Exceptions" tab in the window that appears.
>>>>
>>>> --
>>>> Morten
>>>>
>>>>
>>>> On 30 April 2013 11:36, Mario Dzamarija 
>>>> <[email protected]>wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I get the following error, in the status-bar in JabRef, when I try to
>>>>> push the selected reference from JabRef to Winedt:
>>>>>
>>>>> Error: Could not call executable 'C:\Program Files\WinEdt Team\WinEdt
>>>>> 7\WinEdt.exe'.
>>>>>
>>>>> I made sure I selected the proper path to executable WinEdt file. I'm
>>>>> running Windows 7 64 bit, and I've tried a couple of combinations: WinEdt
>>>>> 7.0 and 7.1, both 32 bit and 64 bit, with JabRef 2.9.2 and 2.10b, all
>>>>> resulting in the same identical error. I also have the most recent Java 7
>>>>> Update 21 on my system.
>>>>>
>>>>> Would you be able to suggest what could be wrong and how to fix it?
>>>>>
>>>>> Best,
>>>>> Mario
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mario Dzamarija, MEE
>>>>> Electricity Research Centre
>>>>> University College Dublin
>>>>>
>>>>> s: mdzzg1
>>>>> m: +353 86 077 8888
>>>>> w: erc.ucd.ie/people/mario
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
>>>>> Get 100% visibility into your production application - at no cost.
>>>>> Code-level diagnostics for performance bottlenecks with <2% overhead
>>>>> Download for free and get started troubleshooting in minutes.
>>>>> http://p.sf.net/sfu/appdyn_d2d_ap1
>>>>> _______________________________________________
>>>>> Jabref-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/jabref-users
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Mario Dzamarija, MEE
>>> Electricity Research Centre
>>> University College Dublin
>>>
>>> s: mdzzg1
>>> m: +353 86 077 8888
>>> w: erc.ucd.ie/people/mario
>>>
>>> ***DISCLAIMER***
>>> The contents of this e-mail, including any attachments, are confidential
>>> and are intended for the sole use of the individual or entity to which it
>>> is addressed. Any distribution, copying or dissemination of this message is
>>> expected to conform to all legal stipulations governing the use of
>>> information.
>>>
>>> The author of this e-mail has taken every effort to ensure that the
>>> information and advice provided are accurate and up-to-date, based upon the
>>> information available at the time of writing.
>>>
>>> Although all reasonable care has been taken to ensure that this e-mail
>>> and any attachments are free of malicious software such as viruses, no such
>>> guarantee can be offered.
>>>
>>
>>
>
>
> --
> Mario Dzamarija, MEE
> Electricity Research Centre
> University College Dublin
>
> s: mdzzg1
> m: +353 86 077 8888
> w: erc.ucd.ie/people/mario
>
> ***DISCLAIMER***
> The contents of this e-mail, including any attachments, are confidential
> and are intended for the sole use of the individual or entity to which it
> is addressed. Any distribution, copying or dissemination of this message is
> expected to conform to all legal stipulations governing the use of
> information.
>
> The author of this e-mail has taken every effort to ensure that the
> information and advice provided are accurate and up-to-date, based upon the
> information available at the time of writing.
>
> Although all reasonable care has been taken to ensure that this e-mail and
> any attachments are free of malicious software such as viruses, no such
> guarantee can be offered.
>
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users

Reply via email to