Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1721 console on windows fails to redirect output of commands

None
closed-fixed
Damien
5
2014-07-10
2013-06-24
ned
No

I just installed java 7 SE Update 25 and after doing so running this command in jEdit console:

mysqldump --opt -u root -p databasename > databasename.dump.sql

fails with the error:

mysqldump: Couldn't find table: ">"

I am able to run the command successfully from window command prompt.

I'm running windows 7 and I've just updated jEdit to 5.0 and the console plugin to 5.1.2 to see if this would alleviate the issue but it did not.

I tried rolling back to Java 7 update 21 with no success, however rolling back to Java 7 Update 17 fixed the issue.

Discussion

  • ned
    ned
    2013-06-24

    • summary: mysqldump console comman fails after java 7 update --> mysqldump console command fails after java 7 update
     
  • Alan Ezust
    Alan Ezust
    2013-06-24

    This has nothing to do with the mysqldump command.
    This is a windows-only issue. On linux redirection of commands works fine.

    This also doesn't seem to be related to what version of java you are using.
    I can see that Console in Java 7 version 21 and 25 behave the same way.

    Did redirection of commands in Console on Windows work at one time before? If so, what version of Console did it work with?

     
  • Alan Ezust
    Alan Ezust
    2013-06-24

    • summary: mysqldump console command fails after java 7 update --> console on windows fails to redirect output of commands
     
  • ned
    ned
    2013-06-24

    Prior to installing the java update I was running jEdit 4.5.1 with console 4.5.

    I use jEdit every day and I've never had this issue until I installed the java 7 update 25. I assumed this was not an issue with mysqldump because I could still run the command via windows cmd prompt so I assumed the java update to be the most likely cause. Nothing else has changed on my system other than java since I last ran the mysqldump command.

     
  • Alan Ezust
    Alan Ezust
    2013-06-24

    Workaround: run the command without the > redirectfile.txt and just hit ctrl-ENTER so its output goes to a new buffer. Then you can save-as from there.

     
  • Alan Ezust
    Alan Ezust
    2014-07-03

    • labels: --> Windows Specific
    • Group: -->
     
  • Alan Ezust
    Alan Ezust
    2014-07-03

    • assigned_to: Damien
     
  • Alan Ezust
    Alan Ezust
    2014-07-10

    • status: open --> closed-fixed
     
  • Alan Ezust
    Alan Ezust
    2014-07-10

    [ezust@cerberus] /home/ezust/workspace/jedit/plugins/Console> svn commit
    Sending console/ProcessRunner.java
    Transmitting file data .
    Committed revision 23614.
    You can try a fixed version here : http://lazarus.oddiofile.com/jars/Console.jar