A problem has been observed when trying to export Java 8 layers. An error message is displayed when exporting the layer, "Error opening xpf source file." After acknowledging the message, the export process either aborts or continues depending on whether the option to export user information was set.
If user information was selected for export, the export process aborts.
If user information was not selected for export, the export process continues, but produces an incomplete XPF file.
Compiling a Java 8 layer using Symantec Virtual Composer will fail to create the package.
Symantec Workspace Virtualization Admin Tool
Exporting the layer fails
Symantec Virtual Composer
Packaging wizard fails to compile the package
Clicking the Compile Package button also results in an error message, "Failed to create package"
The project log file will indicate error 3 when attempting to open a file on a path that should exist:
The system cannot find the path specified.
The more recent versions of Oracle's Java installer creates symbolic links for the java.exe, javaw.exe, and javaws.exe files. The layer export method cannot process symlinked files and throws an exception.
Symantec is aware of this issue and will update this document when a solution becomes available. It is not necessary to log a support case on this issue. Please subscribe to this article to be notified of any updates. Workaround: Delete the symlinked files and replace them with copies of the files that were being referenced.
Deactivate the Java layer
Navigate to the ALLUSERSPROFILES\Oracle\Java\javapath directory in the RO sublayer
Make note of the files referenced by the symlinks
Delete the symlinks
Copy the referenced files from the PROGRAMFILES\Java\<jre_version>\bin\ directory to the javapath directory from step 2
Export the layer (or compile the package if using Composer)
Subscribing will provide email updates when this Article is updated. Login is required.