A couple of day ago, I have fought long and hard battle against JDK (Java Developer Kit) installation packages. The goal was to deploy the JDK offline to a custom path on a Windows (XP + 7) system using a PowerShell script. The problem was that the jdk.exe installer (the only one available from Sun) has trouble parsing INSTALLDIR value if it contains whitespace (e.g. “C:\Program Files”). Also, PowerShell has trouble interpreting parameters containing with escaped quotes in the middle, like /v"something".
-
Recent Posts
Recent Comments
Archives
Categories
Blogroll
Meta