Menu

#996 Compiler command split into parts on Windows

None
closed-duplicate
nobody
None
v1.23.1
5
2014-08-22
2013-09-16
No

Thank you for this great software!

In version 1.23.1 I (resp. my students who use Geany on Windows) noticed a bug, which was not present in previous versions 1.22 and 0.21.

On Windows the Java compiler must be called by its full path unless this path isn't added to the system environment variables.

To compile the file "%f" I need to call

"C:\Program Files\Java\jdk1.7.0_40\bin\javac" "%f"

Now Geany 1.23.1 splits this into parts, the command "C:\Program" and consequently compilation fails.

Below I add information and messages which might be helpfull.

Thank you
Volker van Nek

Geany: Geany 1.23.1, German_Germany.1252
Geany: GTK 2.16.6, GLib 2.20.5
Geany: System data dir: C:\Program Files\Geany-1.23.1\data
Geany: User config dir: C:\Users\volker\AppData\Roaming\geany
Geany: System plugin path: C:\Program Files\Geany-1.23.1\lib
Geany: Added filetype Cython (55).
Geany: Added filetype Genie (56).
Geany: Added filetype Go (57).
Geany: Added filetype Scala (58).
Geany: unknown : None (WINDOWS-1252)

"C:\Program Files\Java\jdk1.7.0_40\bin\javac" "Test.java" (im Verzeichnis: C:\Users\volker\Documents\Java)
Der Befehl "C:\Program" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Kompilierung fehlgeschlagen.

Geany: Geany 1.22, German_Germany.1252
Geany: GTK 2.16.6, GLib 2.20.5
Geany: System data dir: C:\Program Files\Geany-1.22\data
Geany: User config dir: C:\Users\volker\AppData\Roaming\geany
Geany: System plugin path: C:\Program Files\Geany-1.22\lib
Geany: Added filetype Cython (53).
Geany: Added filetype Genie (54).
Geany: Added filetype Scala (55).
Geany: unknown : None (WINDOWS-1252)

"C:\Program Files\Java\jdk1.7.0_40\bin\javac" "Test.java" (im Verzeichnis: C:\Users\volker\Documents\Java)
Kompilierung erfolgreich beendet.

Related

Bugs: #943

Discussion

  • Anonymous

    Anonymous - 2013-09-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     Thank you for this great software!
    
     In version 1.23.1 I (resp. my students who use Geany on Windows) noticed a bug, which was not present in previous versions 1.22 and 0.21.
    
    • status: open --> closed-duplicate
     
  • Anonymous

    Anonymous - 2013-09-16

    Duplicate of [#943], will link back here from original to keep details provided relevant. Thanks for reporting!

     

    Related

    Bugs: #943


Log in to post a comment.