Exploring the Features of the JVM Configuration Tabs
Exploring the Features of the JVM Configuration Tabs
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
* Product Information
* Resources
* Files and Folders
* Tiles
* Java Products
* Java Settings
* Java Product Settings
* Java Virtual Machine
* JVM Parameters Dialog
* Mac OS X settings
* Java Product Localization
* Registry
* File Associations
* Assemblies
* Drivers
* Services
* Package Definition
* Requirements
* User Interface
* System Changes
* Server
* Custom Behavior - Patch Project
- Merge Module Project
- Updates Configuration Project
- Windows Store App Project
- Modification Package Project
- Optional Package Project
- Windows Mobile CAB Projects
- Visual Studio Extension Project
- Software Installer Wizards - Advanced Installer
- Visual Studio integration
- Alternative to AdminStudio/Wise
- Replace Wise
- Migrating from Visual Studio Installer
- Keyboard Shortcuts
- Shell Integration
- Command Line
- Advanced Installer PowerShell Automation Interfaces
- Features and Functionality
- Tutorials
- Samples
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- Table of Contents
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
Java Virtual Machine Tab
In this page you can set the parameters for the Java Virtual Machine.
All the latest Java Distributions (e.g. OpenJDK, AdoptOpenJDK, etc.) are supported. Our Java Product Launcher supports the AdoptOpenJDK Java distributions only when AdoptOpenJDK is installed withFeatureOracleJavaSoft feature (e.g. usingADDLOCAL=FeatureEnvironment,FeatureJarFileRunWith,FeatureOracleJavaSoft command line switch).
Settings
JRE version
You can specify the minimum and maximum allowed Java Version. Advanced Installer only supports Java 2, which means a minimum JRE version 1.2. Additionally, in the Preferred JRE Version Dialog , you can edit a list of preferred versions that will be selected if found on the target computer.
JVM path is searched in the registry and in JAVA_HOME environment variable.
JVM parameters
This is an optional field. You can easily specify the JVM parameters. Click on the [… ] button in order to go to the JVM Parameters Dialog .
Command line
Here you can specify arguments that yourmain method will always receive. These arguments will be appended to the other arguments that may be receive from the system.
Virtual Machine Type
There are two types of virtual machines: client and server. You can choose one of the following combinations:
- Favor client - Advanced Installer looks for client or server Java Virtual Machine in the JDK or JRE installed on your computer. It returns the Java Virtual Machine with the highest version (client or server). The client version is favored in the sense that the client Java Virtual Machine is looked up first, and if it is found, the search stops. This is the default option for Java Virtual Machine type.
- Favor server - Advanced Installer looks for server or client Java Virtual Machine and returns the server Java Virtual Machine with the highest version (if it is found). The server version is favored in the sense that the server Java Virtual Machine is looked up first, and if it is found, the search stops, otherwise the client Java Virtual Machine is looked up.
- Server only - Advanced Installer looks only for the server Java Virtual Machine. If it is not found then the user is prompted to browse a JRE with a valid server Java Virtual Machine.
Virtual Machine Source
Specify the Java Virtual Machine’s source.
- JRE or JDK - either the JRE or JDK will be used.
- favor JRE - the JRE will be preferred. It will be looked up first.
- favor JDK - the JDK will be preferred. It will be looked up first.
- only JRE - the JRE will be used.
- only JDK - the JDK will be used.
Provider
Specifies the Java Virtual Machine’s provider.
- Sun JVM - The application will only run on a Virtual Machine developed by Sun Microsystems.
- JRockit VM - The application will only run on the JRockit Virtual Machine developed by Oracle.
- IBM VM - The application will only run on the IBM Virtual Machine developed by IBM.
- Preferred Sun JVM - This is the preferred Virtual Machine. If found, the application will use it. If not, it will try to use the available Virtual Machine.
- Preferred JRockit VM - If a JRockit Virtual Machine is found, the application will use it. In any other cases the available Virtual Machine will be used.
- Preferred IBM VM - If an IBM Virtual Machine is found, the application will use it. In any other cases the available Virtual Machine will be used.
- Any - The application will run using any Virtual Machine found.
Stream redirection
Output Stream
Specify the location of the file that will contain Java Products ‘s output stream. This field is of Formatted Type . Use the [… ] button to display the Edit Formatted Type Dialog that will allow you to insert a reference to folders, properties and installtime or runtime environment variables.
Error Stream
Specify the location of the file that will contain Java Products ‘s error stream. This field is of Formatted Type . Use the [… ] button to display the Edit Formatted Type Dialog that will allow you to insert a reference to folders, properties and installtime or runtime environment variables.
Append Error Stream to File
By enabling this option, the errors will be written at the end of the file rather than deleting the errors from previous sessions.
Append Output Stream to File
By enabling this option, the ouput will be written at the end of the existing file rather than deleting the output from previous sessions.
Including the application startup time into the file name
To include the application startup time into the file name you need to enclose the Date and Time format specifiers between%. The format specifiers you can use are regular Date and Time specifiers like: y,M, d,h, m, s and also L for milliseconds.
Sample specitied file path:
[APPDIR]output-%yyyy-MMM-dd HH-mm-ss-L%.log
Copy
Sample resulting filename:
C:\Your Company\Your Application\output-2014-Mar-06 14-43-38-373.log
Copy
Java Library Path
You can modify the Java Library Path (java.library.path) system property by adding values to this list.
By default Advanced Installer includes the following items in the Library Path property:
- the current directory
- the “Path” environment variable
- the loaded JRE \ lib directory
If you need to load a library from a different location you have to include it in this list. All values you specify will be placed at the above list’s beginning. Use the [Folder… ],[Property… ] or [Env Var… ] button to add a path.
System Library Path
By adding values to this list, you can add paths to the system’s Path environment variable default value when this Java product is launched. This is useful when a library that you are using is trying to link to other libraries. These are searched using the values in the Path system variable. The locations that you add to the Path variable will have the biggest priority. So, if a library is present in more locations then the search algorithm will prefer the location specified in that list. Use the [Folder… ], [Property… ] or[Env Var… ] button to add a path.
The Path system variable’s default value will not be changed for other applications.
Topics
- JVM Parameters Dialog
The “Edit Java Virtual Machine Parameters” dialog in Advanced Installer.
Did you find this page useful?
Please give it a rating:
Thanks!
Report a problem on this page
Information is incorrect or missing
Information is unclear or confusing
Something else
Can you tell us what’s wrong?
Send message
Also read:
- [New] Photo to Film Adding Melodies for Emotion
- [New] Photoshop's Powerful Tool Image Curving Techniques
- [Updated] Action-Packed Snapshots of X-Snow 2022
- [Updated] Windows HDRI Tools for Editors
- A Detailed Walkthrough for Crafting and Changing Your Videos' Covers on Facebook
- Comprehensive Tutorial on How to Descend From iTunes 12.1 to Older Software Editions
- Effortless Guide: Mastering Edit Options in XML Configuration Interface
- Effortless Song Creation with Mixcraft: Edit & Manage Music Tracks on Your Mac
- How To Identify & Revoke Admin Rights of Unseen Devices on Android: A Guide by MalwareFox
- How To Unlink Your iPhone 13 Pro From Your Apple ID
- In 2024, Chic and Stylish Beauty Videos
- Maximizing Digital Footprint: Effective Techniques for Increasing Webpage Sizes and Additional Content Options
- Most Effective Software Options for Adding Onyx Backdrops to Images in 2^13
- Social Media Forecasting Through Data Visualization for 2024
- Superior PSD Design Transformations
- The Endless Cycle Unveiled: Insights Into 'Black Survival Crash'
- Top Three Techniques for Extracting Audio From Your DVD Collection
- Ultimate Guide on Converting CDs to High-Quality MP3 Format Using Top Ripping Tools
- Ultimate Guide to Top-Ranking Automated Background Eliminators: Why Everyone Needs One
- Title: Exploring the Features of the JVM Configuration Tabs
- Author: Joseph
- Created at : 2024-10-04 06:40:37
- Updated at : 2024-10-10 16:54:44
- Link: https://fox-tls.techidaily.com/exploring-the-features-of-the-jvm-configuration-tabs/
- License: This work is licensed under CC BY-NC-SA 4.0.