<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JAVA and long filenames in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5378385#M36533</link>
    <description>&lt;P&gt;It would seem to have been tested locally, so I'm guessing you did test this locally, which implies you didn't like the answer you got, which implies you have different settings around your Java setup, which would lead to a question around your current Java and C set-up logical name definitions from the inevitable morass of configuration knobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So. &amp;nbsp;How are you set up? &amp;nbsp;Did you enable ODS-5 extended file specifications support? &amp;nbsp;If that statement seems cryptic or unfamiliar, have a look at JAVA$FILENAME_CONTROLS and definitely&amp;nbsp;here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h71000.www7.hp.com/doc/82final/5841/5841pro_081.html"&gt;http://h71000.www7.hp.com/doc/82final/5841/5841pro_081.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.compaq.com/java/faq/ovms.html"&gt;http://www.compaq.com/java/faq/ovms.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2011 15:34:33 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2011-11-01T15:34:33Z</dc:date>
    <item>
      <title>JAVA and long filenames</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5378303#M36532</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are filenames in JAVA 6 on OpenVMS still limited to 39.39 characters?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2011 14:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5378303#M36532</guid>
      <dc:creator>ptrskg</dc:creator>
      <dc:date>2011-11-01T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA and long filenames</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5378385#M36533</link>
      <description>&lt;P&gt;It would seem to have been tested locally, so I'm guessing you did test this locally, which implies you didn't like the answer you got, which implies you have different settings around your Java setup, which would lead to a question around your current Java and C set-up logical name definitions from the inevitable morass of configuration knobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So. &amp;nbsp;How are you set up? &amp;nbsp;Did you enable ODS-5 extended file specifications support? &amp;nbsp;If that statement seems cryptic or unfamiliar, have a look at JAVA$FILENAME_CONTROLS and definitely&amp;nbsp;here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h71000.www7.hp.com/doc/82final/5841/5841pro_081.html"&gt;http://h71000.www7.hp.com/doc/82final/5841/5841pro_081.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.compaq.com/java/faq/ovms.html"&gt;http://www.compaq.com/java/faq/ovms.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2011 15:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5378385#M36533</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-11-01T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA and long filenames</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5378607#M36534</link>
      <description>&lt;P&gt;&amp;gt; &lt;A href="http://www.compaq.com/java/faq/ovms.html" target="_blank"&gt;http://www.compaq.com/java/faq/ovms.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Yow, this stuff is lame.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Ignoring the faulty HTML title, and the fact that most of this&lt;BR /&gt;"Alpha" stuff applies only to IA64 these days, ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&amp;gt; with ODS-5, do the following:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Make sure you have the latest version of the ZIP utility for&lt;BR /&gt;&amp;gt; OpenVMS which can be found at &lt;A href="http://h71000.www7.hp.com/." target="_blank"&gt;http://h71000.www7.hp.com/.&lt;/A&gt;&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Not the first place I'd look.&amp;nbsp; ("ZIP" or UnZip?)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&amp;gt; with ODS-2, do the following:&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Extract the contents of the downloaded zip file and then repackage&lt;BR /&gt;&amp;gt; it using the jar utility. For example:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNIX&amp;gt; unzip bdkjul98.zip -d /bdk&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNIX&amp;gt; jar cvf bdk.jar bdk/*&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;I can believe that "jar" on VMS does something special when extracting&lt;BR /&gt;onto an ODS2 destination, but can anyone explain what benefit is gained&lt;BR /&gt;from using unzip+jar to repackage this kit on a UNIX (or Windows) system&lt;BR /&gt;(before hauling the result to the VMS system)?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Move the jar file to your OpenVMS system and extract it in the&lt;BR /&gt;&amp;gt; area where you want your JavaBeans development kit to be located.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOTE: It is CRITICAL that you use the SDK's jar command and not&lt;BR /&gt;&amp;gt; some variant of unzip. There will be filenames and directory names in&lt;BR /&gt;&amp;gt; the jar file that are not directly representable on an OpenVMS Alpha&lt;BR /&gt;&amp;gt; system. When these are encountered, they must be remapped into a name&lt;BR /&gt;&amp;gt; that is acceptable. Each un-archiving tool applies its own rules about&lt;BR /&gt;&amp;gt; how to do this mapping. Only jar will apply the specific mapping rules&lt;BR /&gt;&amp;gt; that will subsequently be used by the rest of the Java system.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ jar xf bdk.jar&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; If someone published these "specific mapping rules", then someone&lt;BR /&gt;else might be able to implement them in UnZip, potentially saving some&lt;BR /&gt;considerable fooling around.&amp;nbsp; (Too radical a concept, I know.)&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2011 18:28:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5378607#M36534</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-11-01T18:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA and long filenames</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5379037#M36535</link>
      <description>&lt;P&gt;Thanks Hoff,&lt;/P&gt;&lt;P&gt;I misinterpreted the logical JAVA$FILENAME_CONTROLS and I've changed it from -1 to 0.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 06:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5379037#M36535</guid>
      <dc:creator>ptrskg</dc:creator>
      <dc:date>2011-11-02T06:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA and long filenames</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5379391#M36536</link>
      <description>&lt;P&gt;While you got to a solution, I disagree with your interpretation. &amp;nbsp; This isn't something that you misinterpreted. &amp;nbsp;Rather, this is a case where the user interface designer didn't provide you with a sufficiently clear presentation. &amp;nbsp;This area of C and Java is a morass, for the poor and complex UI, and more subtlety for the non-modular and non-self-contained implementation of the settings.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 11:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5379391#M36536</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-11-02T11:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA and long filenames</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5379529#M36537</link>
      <description>&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you wish to have a look at some JAVA$FILENAME_CONTROLS effects, refer to &lt;A target="_blank" href="http://vouters.dyndns.org/tima/OpenVMS-Java-Unix-CRTL_API_decc$translate_name-Java_solution.html"&gt;http://vouters.dyndns.org/tima/OpenVMS-Java-Unix-CRTL_API_decc$translate_name-Java_solution.html&lt;/A&gt; document with all the tests which have been performed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 14:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-and-long-filenames/m-p/5379529#M36537</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-11-02T14:03:58Z</dc:date>
    </item>
  </channel>
</rss>

