ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
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 launch a project test, in the "Project" pane, in the "Test mode" group, pull down "Test mode" and select "Debug project".
Compiling a Java project in WINDEV

Compiling a Java project

A Java project is compiled to:
  • identify programming errors 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 usable 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

From a WINDEV project used to create an executable, you can also create a Java application.
To do so, a new configuration must be added to the project:
  1. Start the wizard for creating a new configuration: in the "Project Explorer" pane, display the context menu for the "Configurations" option and select "New configuration".
  2. In the wizard, select the "Java archive" generation type.
  3. Select the existing project elements that must be included in this configuration. These elements will also be included in the generated archive.
  4. Confirm. The project configuration is created.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment

Last update: 01/16/2025

Send a report | Local help