Creating a custom Java Component - How to include Java with another App
This document (7014701) is provided subject to the disclaimer at the end of this document.
This article describes how to create an isolated Java component that can be included in a ZAV virtual application.
STEP 1: START WITH A CLEAN WINDOWS 7 32-BIT VIRTUAL MACHINE WITH SERVICE PACK 1 AND IE9 OR LATER
When using the snapshot method to virtualize an application, it is important to start with a clean system so that no components are missed during the capture and diff process.
The snapshot process can be performed on a virtual machine or a physical machine. Typically a virtual machine is used so that the system can easily be reset in case the process needs to be repeated.
There are many options for virtual machine software including VMWare Workstation, Oracle Virtual Box (free) and Microsoft Virtual PC.
STEP 2: SNAPSHOT THE INSTALLATION
- Install ZAV Studio
- Take a "Before" capture
- Save the before snapshot
- Install the required Java version
- Test the Java version by doing a Java version check via the web
- Turn off Java Updates via the Control Panel
- Stop any Java services that were started
- Take the "Capture and Diff"
STEP 3: EDIT THE CONFIGURATION
- Backup the original configuration file by saving the configuration under a new name
- Set the Project type to Component
- Set the output file to java-<version>.svm
- Go to Settings > Process Configuration > Virtual Services and uncheck "Auto Start"
- Set the following folders to Full isolation
- Windows folder\Sun
- Program Files\Java
- Program Files\Common\Java
- Current user root\Software\Classes
- Current user root\Software\Classes\CLSID
- Current user root\Software\Classes\JavaPlugin.<version>
- Local machine root\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects
- This is used to distinguish the component when importing into other projects.
STEP 4: BUILD AND TEST THE COMPONENT
The easiest way to test the component is to build a virtual version of Internet Explorer and import the Java component under the Components section.
Run the virtual Internet Explorer with the Java component included and verify the Java version via the web.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7014701
- Creation Date:05-MAR-14
- Modified Date:05-MAR-14
- NovellDesktop Containers (ZENworks Application Virtualization)
Did this document solve your problem? Provide Feedback