CTX109217 - How to Publish a .Jar File This document was published at: http://support.citrix.com/article/CTX109217 Document ID: CTX109217, Created on: May 16, 2006, Updated: May 16, 2006 Products: Citrix MetaFrame XP 1.0 for Microsoft Windows 2000, Citrix MetaFrame XP 1.0 for Microsoft Windows 2003, Citrix MetaFrame Presentation Server 3.0 for Microsoft Windows 2000, Citrix MetaFrame Presentation Server 3.0 for Microsoft Windows 2003, Citrix Presentation Server 4.0 for Microsoft Windows 2000, Citrix Presentation Server 4.0 for Microsoft Windows 2003 Summary This document describes how to publish a Java Application by its .jar file. Procedure 1. Use Javaw.exe or Java.exe and pass the required parameters to start the program. 2. Type java.exe -? for the syntax. The difference between using java.exe or javaw.exe is: Java.exe starts a DOS CMD window Javaw.exe directly starts the program 3. First, run the application from a command prompt window and then, once it works, copy the following command line into the publish application properties. Example: To publish the Management Console by its Tool.jar file: Command Line - Javaw.exe -Djava.ext.dirs=ext -jar Tool.jar Working Directory - C:\Program Files\Citrix\Administration -Or- Command Line - "C:\Program Files\Java\j2re1.4.2_06\bin\javaw.exe" -Djava.ext.dirs=ext -jar Tool.jar -plaf:java -logo:false Working Directory - C:\Program Files\Citrix\Administration More Information CTX086478 ? How to Open Specific Control Panel Icons(.cpl) and Application Files, ( .doc, .xls, .msc, .mdb, .hlp) as Published Applications CTX966450 ? How to Effectively Publish a Shortcut as a Published Application Jim Kenzig CEO The Kenzig Group http://www.kenzig.com Sponsorships Available! Blog: http://www.techblink.com Terminal Services Downloads: http://www.thinhelp.com Windows Vista: http://www.VistaPop.com Virtualization: http://www.virtualize-it.com Games: http://www.stressedpuppy.com