AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar en Java
  • Overview
  • What is a Java application?
  • Developing a Java application with WINDEV
  • Why develop a Java application with WINDEV?
  • Generating a Java application with WINDEV
  • The different steps for creating a Java application
  • Limitations
  • Java and the management of memory
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Overview

What is a Java application?

A Java application is entirely compiled in Java. If this application handles a database, it must have a JDBC driver (MySQL, Oracle, etc.).. This driver is specific to each database (it can be downloaded from the Internet site of the database publisher).
The access to an HFSQL database is performed natively (in Windows and Linux only). No additional driver is required in this case.
A Java application corresponds to a ".jar" file. It requires the Java Runtime to be executed.
Developing a Java application with WINDEV

Why develop a Java application with WINDEV?

You have developed a WINDEV application for Windows and you want to make this application accessible independently of the operating system? Generate a Java application so that the users working with Mac OS for example will also be able to use your application.
This allows you to share your network applications.
Remark: Mac OS X 10.9 minimum.

Generating a Java application with WINDEV

WINDEV allows you to generate a Java application without even knowing the Java language. The method for developing the application is identical to the method for developing any other WINDEV application.
When the WINDEV project is compiled, the windows and the WLanguage functions are automatically converted into Java.
The different steps for creating a Java application
The steps for creating a Java application with WINDEV are as follows:
  1. Creating the Java project.
  2. Developing the application.
  3. Using databases.
  4. Test and compilation.
  5. Creating the Java archive:
    • Standard archive,
    • Archive for Java Web Start.
  6. Deploying the archive.

Limitations

The limitations of a JAVA application created with WINDEV affect:
  • the supported controls and features,
  • the available functions,
  • the programming modifications,
For more details, see Available functions and limitations and Available properties.

Java and the management of memory

By default, the amount of memory allocated to the virtual Java machine (JVM) for running applications is set to 64 MB.
This amount may not be sufficient if the application requires a large amount of memory (to handle images for example). Errors ("OutOfMemoryException" or "Java Heap Space") may occur if the amount of memory is exceeded when running a Java application.
To increase the amount of memory allocated to the JVM, specify "-Xmx<size>" when the application is started. For example, to allocate 256 MB of memory to an application, specify the following command line when starting the application:
java -jar -Xmx256m MonArchive.jar
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 04/04/2024

Señalar un error o enviar una sugerencia | Ayuda local