Help / Developing in Java
  • Overview
  • Test a Java project in the editor
  • Compiling a Java project in WINDEV
  • Compiling a Java project
  • Compiling a WINDEV executable in Java
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
When your Java application is developed, you can run the test of the Java project and compile it before creating the archive.
Test a Java project in the editor
During the test of a project from the editor, the project is compiled and started in Windows. The project is not compiled in Java.
Reminder: To test a project, go to the "Project" tab, "Test mode" group, expand "Test mode" and select "Debug project".
Compiling a Java project in WINDEV

Compiling a Java project

A Java project is compiled to:
  • identify the programming errors found in the WLanguage code.
  • display controls, processes, WLanguage functions not available in Java.
These errors appear in purple in the "Compilation errors" pane.
For more details on WINDEV elements not available in a Java application, see Limitations of this version.
Remark: The number of WLanguage functions that can be used in a Java project is limited in this version. This number of functions will increase in forthcoming versions.
To compile a Java project, on the "Project" tab, in the "Project" group, expand "Recompile and synchronize" and select "Recompile project".

Compiling a WINDEV executable in Java

A Java application can be created from an existing WINDEV project.
To do so, a new configuration must be added to the project:
  1. On the "Project" tab, in the "Project configuration" group, click "Manage configurations".
  2. Create a new configuration ("New configuration" button). Choose the "Java" generation.
  3. Select the existing project elements that must be included in this configuration. These elements will also be included in the archive or in the applet that will be generated.
Minimum version required
  • Version 10
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help