General discussion


    • Application Name: Java
    • Application Version: 6 update 19
    • Company Name: Sun Microsysems
    • Sequencer Version:  4.6
    • App-V Client Version tested on:  4.6
    • Operating System sequenced on:      Windows XP SP3 x86
    • Pre-requisites: Copy any preference setting files to sequencer machine
    • Client Operating Systems successfully deployed to:  Windows XP x86 / Windows 7 x64
    • *Posted by non-Microsoft Employee: Jeffrey Crawford, Indiana University

    • Steps to sequence the application:

    (Steps 1-2 are optional and performing them will exclude Java cache files from being included inside of the bubble and one Java update service.)

    1. Navigate to directory: 
      C:\Program Files\Microsoft Application Virtualization Sequencer\
    2.  Modify the existing default.spjr using notepad so that you remove the following:
      <EXCLUSION Pattern="%CSIDL_APPDATA%\Sun\Java\Deployment\SystemCache" Context="VFS_EXC" Type="PSR_DataSystem"/>
      <EXCLUSION Pattern="%CSIDL_APPDATA%\Sun\Java\Deployment\cache" Context="VFS_EXC" Type="PSR_DataSystem"/>
      <EXCLUSION Pattern="R:\Java.000\bin\ssvagent.exe" Context="VFS_EXC" Type="PSR_DataSystem"/>
      ***Change this path to match what you intend on using.  IE: Q:\Java.000\bin\ssvagent.exe***
    3. Open up internet explorer or your browser choice.  Navigate to the web page:
    4. Click Windows 7/Xp/Vista/200/2003/2008 Offline
    5. Click on the option save
    6. Save file to desktop
    7. Start the Microsoft Application Virtualization Sequencer and create a package
    8. Fill in Package Name as you wish
    9. Click Begin Monitoring create a directory in which the app-v package will be generated and stored.  IE: R:\Java.000
    10. Double click on JRE Setup MSI and click run if a security box is presented
    11. Select Change Destination Folder (lower left hand corner)
    12. Click Intall
    13. Click on Change :: Navigate to the path of the directory you created in step 10.  Root level:  IE.  R:\Java.000
    14. Click Ok
    15. Click next
    16. (Optional:  Un-check Yes, I want Bing Toolbar for Internet Explorer)
    17. Click Next
    18. Click Close
      (Steps 18 - 22 are optional and can be skipped)
    19. Navigate to the directory C:\WINDOWS\Sun\Java\Deployment
    20. Copy or create deployment.config  (Instructs Java on what actions to perform)
      IE: deployment.system.config=file\:/C\:/WINDOWS/Sun/Java/Deployment/
      (Tells java where our deployment. Properties file is and to read and perform actions.)
    21. Copy or create (Set what options you want java to have and lock the features so they cannot be changed by end user)
    22. Add in these additional registry values or modify them:
      HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy", "EnableJavaUpdate", "REG_DWORD", "0"
      HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy", "NotifyDownload", "REG_DWORD", "0"
      HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy", "NotifyInstall", "REG_DWORD", "0"
      HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy", "UpdateSchedule", "REG_DWORD", "0"
    23. Click stop monitoring
    24. Click Next
    25. Click Next
    26. Click next
    27. Select Finish
    28. Click on Virtual Registry Tab
      (Steps 29 -33 are if you plan on running this on a system that is Windows Vista or greater because of permission changes and the way the virtual bubble work if you fail to remove these key’s an error will be produced on the client:
      Windows cannot access R:\Java.000\bin\jqsnotify.exe (Firefox)
      Windows cannot access R:\Java.000\bin\ssvagent.exe (Internet Explorer)
    29. Check for the existence of Mozilla key under:
      Delete key Mozilla
    30. Check for the existence of {C8FE2181-CAE7-49EE-9B04-DB7EB4DA544A} {key under:
      Internet Explorer
      Low Rights
      Delete key: {C8FE2181-CAE7-49EE-9B04-DB7EB4DA544A}
      If only key under ElevationPolicy safe to delete the entire structure
      Important note: This guid may change
      from version to version what you are looking for is that the value AppName: has ssvagent.exe in it.   This is the currently the only key required to be deleted.
    31. Click on Files Tab
    32. Navigate to directory Bin
    33. Validate that ssvagent.exe is not present if present delete this file
    34. Click on Virtual Registry Tab
    35. Validate that settings under Internet Explorer have proper merges in place if you plan on using this package with a “Virtual Internet Explorer shortcut” failure to do so could result in this package not allowing key’s from current system to be read in.  This includes the user area as well.
    36. Save the package and run on client system.
    • Known Issues/limitations: The service that Sun Microsystems implemented inside of java doesn’t play nicely in a virtual bubble on Windows Vista or above machines due to security enhancements.  The solution is to remove this service from the package thus allowing java to operate without errors.  Only known side effect is that java will no longer check for updates when started.
    • Approximate sequencing time: 10 minutes


    Friday, April 2, 2010 3:12 PM

All replies

  • We are getting all soughts of ssvagent.exe errors. Let me try this and post back, thinking of deleting the registry in OSD on runtime instead of opening the package.
    • Edited by Connect2Ram Tuesday, March 20, 2012 1:32 PM
    Tuesday, March 20, 2012 1:29 PM
  • Thanks a lot for this insight. I was struggling with UAC Prompt when running Java within IE using RunVirtual key AppV 5.0. Deleting the Low Rights alone didn't work but removing the ssvagent.exe file worked :)

    Honestly I was frustrated to the core with this 

    Thanks for sharing 


    Monday, June 24, 2013 11:10 PM
  • Hi,

    Your post was very helpful. I am a OCJP certified Java Professional. Your posts were very accurate. Keep it up..!!



    Saturday, July 5, 2014 8:59 AM
  • Does this recipe also come in a version for the new 5.0 SP3 sequencer? I am stuck. Am not able to get the running within the bubble.

    First of all when i am not sure what to chose when creating this Java Package? Standard, Add-on or Middelware?

    Friday, February 13, 2015 10:27 AM