Essential Tips for Optimizing Your Java Environment Settings
Essential Tips for Optimizing Your Java Environment Settings
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
* JRE Bundle
* Java Product Settings
* Java Virtual Machine
* 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 Settings
Package with Bundled JRE
For Java Products , you can bundle a JRE into your installation at build time. If your installation package includes a JRE bundle, the installed Java Product will use the bundle over any JRE version installed on the target machine.
In order to bundle a JRE with your build use the [Add JRE Bundle… ] button.
For the Mac OS build, only Java Products using Oracle VM support JRE bundling. You can change the MacOS VM provider from Mac OS X settings Tab .
For the Mac OS build you can bundle only the JRE installed by the JDK. So you should first install the JDK on a Mac machine and then pick its installation folder when using the [Add JRE Bundle… ] button.
When none of the Java Products, included in the Mac OS X build, is self-contained (all of its application files are added under Product Section ) a JRE bundle cannot be included in the Mac OS X build.
Compression
Use Pack200 to compress the JAR files
Pack200 is a method to compress JAR files very efficiently. You can find more details on the Pack200 page .
Only from JRE bundle
You can use this option if you want to be packed using Pack200 only the JAR files from the JRE bundled with your application.
Verify JAR files signature before and after packing
When you are using this option, the JAR signature is verified not to be broken during packing. The files whose signature is broken will not be compressed with Pack200.
The Verify JAR signature option requires JDK installed on your development machine and the JDK installation folder to be specified in the External Tools settings.
Below there is a short video to visually discover this functionality:
Topics
- JRE Bundle
Specify the JRE version to be bundled with your application
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] 2024 Approved Innovative Enhancements Stardew Valley's Top 7 Choices
- [New] 2024 Approved No More Nausea Essential Tricks for HTC Vive
- [Updated] In 2024, Advanced Recording Strategies for Effective PPT Dissemination
- Easy Tutorial: Refresh Your Lenovo QuickSet Dock Firmware & Software
- Guide: Capturing Amazon Prime Video Streams Across Various Gadgets
- How to Change Your Vivo Y36 Location on life360 Without Anyone Knowing? | Dr.fone
- IUpdatesProject: Your Ultimate Guide to Timely Updates and Information
- The Screencast Creator's Handbook for 2024
- Troubleshooting and Fixing the Persistent Error Code 0X80072F8f in Windows 10 & 11
- Understanding Macro Viruses: Removal Strategies Explored
- Understanding the 'Properties' Feature in Application Settings
- Understanding the WAV Audio File Format: An Essential Guide
- Unstuck with a Broken Redragon Mic? Discover Proven Techniques to Get Your PC Microphone Up and Running Again
- Title: Essential Tips for Optimizing Your Java Environment Settings
- Author: Daniel
- Created at : 2024-10-07 21:00:35
- Updated at : 2024-10-10 22:39:38
- Link: https://fox-pages.techidaily.com/essential-tips-for-optimizing-your-java-environment-settings/
- License: This work is licensed under CC BY-NC-SA 4.0.