La LCO fue actualizada por última vez el 20/nov./2025
Chapter contents
SF:ERP Client in Console Mode
It is possible to run the software for generating electronic invoices (or other CFDI) from the command line. This modality is used in systems that do not run a graphical interface, such as servers or other low-resource machines.
Pre requirements
- The essential requirement is to have java 1.6 (or higher) installed on the system.(download here)
- You must have read permissions on the directory as the software will be monitoring for new files.
- You must have write permissions to the directory as the software will store the downloaded files.
- Have a properly configured config.xml configuration file.
Console mode
This application has the option of starting through the command line in a terminal, this in order to be able to run on operating systems that do not have a graphical interface.
To run the application from its console mode, once the application has been downloaded and installed (unzip the Zip), go to the "bin" folder, and inside it, run halcon.exe for Windows and halcon for Linux and OSX, plus the instruction " -c".
Example (considering that the application is on the desktop):
- For Windows
- For Linux
start C:\Documents and Settings\user\Desktop\aplicacion\bin\halcon.exe -c
/home/user/Desktop/aplicacion/bin/halcon -c
Commands for console mode
Command.
Description.
-c, --console
Start the application in console mode.
-cf <path>
Starts the application by loading the configuration file from a specified path.
-J-Dhttps.proxyHost=<Host>
Specifies the proxy host that the application will use.
-J-Dhttps.proxyPort=<Port>
Specifies the proxy port that the application will use.
-J-Dplugin.manager.check.new.plugins=true
Check updates
-J-Dplugin.manager.install.global=true
Install updates