  Portability of Java jar files? 
 The Question is:
 
I am having trouble with executing a jar file on OpenVMS that I created on a
 Windows platform.  I checked and the jar file that I created in Windows and it
 executes correctly using the command:
&gt;java -jar BinaryApp.jar 32
 
However, when I try executing the same jar file on OpenVMS using the command:
$java -jar BinaryApp.jar "32"
 
I recieve this error message:
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java, Compiled Code)
        at java.util.jar.JarFile.&lt;init&gt;(JarFile.java, Compiled Code)
        at java.util.jar.JarFile.&lt;init&gt;(JarFile.java, Compiled Code)
 
The interesting thing is that I can extract the stuff from this jar file on
 OpenVMS without a hitch.  And if I rejar the stuff I extracted on OpenVMS then
 the jar file executes fine.  Also, if I create the jar file on OpenVMS and try
 to execute it on Wind
ows it works correctly after I manually delete the version suffix from the file
 name.  By the way, I transfer the jar file between my windows machine and my
 alpha machine using a binary ftp transfer. Would you please tell me what I am
 doing wrong?
Thank you.
 
 
 The Answer is :
 
  It would appear the file arriving from the Windows system is
  not configured as a Stream_LF file, and this is required.
  Various related details are included in the Java release notes.
 
  Advanced Server V7.3A and later have support for a new share
  type, STREAM_LF, which was added for this particular situation.
 
  Also available is the OpenVMS DCL command SET FILE/ATTRIBUTES.
 
 Answer written or last revised on  6-FEB-2003 
