|
|
|
|
- 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
Java application and WINDEV
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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|