<?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 Problem using &amp;quot;-V&amp;quot; in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536015#M32121</link>
    <description>Thanks both of you for your help.&lt;BR /&gt;&lt;BR /&gt;There are so many logicals involved I hoped to avoid an endless trial-and-error approach.&lt;BR /&gt;&lt;BR /&gt;I tried removing the quotes from the class name and that did not help. However, it forced me to focus on the error message itself instead of the mangled filenames. I now realize I'm getting a NoClassDefFound error. That's got to be a clue!</description>
    <pubDate>Fri, 06 May 2005 16:02:46 GMT</pubDate>
    <dc:creator>Mel Brender</dc:creator>
    <dc:date>2005-05-06T16:02:46Z</dc:date>
    <item>
      <title>Java Problem using "-V"</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536012#M32118</link>
      <description>I have the following problem using Java 1.4.2 on OpenVMS 7.3-1. I am running the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ java "com.app.cmdlin.AppCmd" lck -l -pwdfile SYS$COMMON:[HOME]PASSWORD.TXT -p user@10.20.23.20:33333/CTS/CTS/MVII FILENAME.DAT&lt;BR /&gt;&lt;BR /&gt;and this works fine.&lt;BR /&gt;&lt;BR /&gt;I will need to input much longer command lines, so I wrote the portion of the line that follows ‘java’ into a file called command.dat:&lt;BR /&gt;&lt;BR /&gt;" com.app.cmdlin.AppCmd " lck -l -pwdfile SYS$COMMON:[HOME]PASSWORD.TXT -p user@10.20.23.20:33333/CTS/CTS/MVII FILENAME.DAT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I then executed the following:&lt;BR /&gt;&lt;BR /&gt;$ java "-V" command.dat&lt;BR /&gt;&lt;BR /&gt;This time I get the following error message:&lt;BR /&gt;&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: "com/app/cmdlin/AppCmd" lck -l -pwdfile SYS$COMMON:[HOME]PASSWORD/TXT -p user@10/20/23/20:33333/CTS/CTS/MVII FILENAME.DAT&lt;BR /&gt;&lt;BR /&gt;Note that the periods in the class name, password file parameter (PASSWORD.TXT) and even the IP address have all been replaced with slashes. I read through the User Guide that came with the SDK, but none of the notes there seem to relate to this problem. Can you tell me how to succeed with the java “-V” command?&lt;BR /&gt;&lt;BR /&gt;Many th</description>
      <pubDate>Mon, 02 May 2005 13:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536012#M32118</guid>
      <dc:creator>Mel Brender</dc:creator>
      <dc:date>2005-05-02T13:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Java Problem using "-V"</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536013#M32119</link>
      <description>parhaps it could be that you have to set one of the CRTL feature logicals that affect parsing of command lines?</description>
      <pubDate>Tue, 03 May 2005 04:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536013#M32119</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-05-03T04:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Java Problem using "-V"</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536014#M32120</link>
      <description>Mell,&lt;BR /&gt;&lt;BR /&gt;Try to remove quotes from the class name:&lt;BR /&gt;&lt;BR /&gt;com.app.cmdlin.AppCmd lck -l -pwdfile SYS$COMMON:[HOME]PASSWORD.TXT -p user@10.20.23.20:33333/CTS/CTS/MVII FILENAME.DAT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The quotes are required in the command line, because DCL change all nonquoted characters in uppercase and than the C runtime (in which java is written) changes all nonquoted characters in lowercase.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 03 May 2005 04:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536014#M32120</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-05-03T04:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Java Problem using "-V"</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536015#M32121</link>
      <description>Thanks both of you for your help.&lt;BR /&gt;&lt;BR /&gt;There are so many logicals involved I hoped to avoid an endless trial-and-error approach.&lt;BR /&gt;&lt;BR /&gt;I tried removing the quotes from the class name and that did not help. However, it forced me to focus on the error message itself instead of the mangled filenames. I now realize I'm getting a NoClassDefFound error. That's got to be a clue!</description>
      <pubDate>Fri, 06 May 2005 16:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536015#M32121</guid>
      <dc:creator>Mel Brender</dc:creator>
      <dc:date>2005-05-06T16:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Java Problem using "-V"</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536016#M32122</link>
      <description>Mel,&lt;BR /&gt;replacing dot by slash sounds like filename conversion. Look at this:&lt;BR /&gt;vms filename -&amp;gt; [dir1.dir2.dir3]file.ext&lt;BR /&gt;unix filename -&amp;gt; dir1/dir2/dir3/file.ext&lt;BR /&gt;It appears parser try to convert input parameters in unix syntax.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Sun, 08 May 2005 04:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536016#M32122</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-05-08T04:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Java Problem using "-V"</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536017#M32123</link>
      <description>Just run into the manual at &lt;A href="http://h18012.www1.hp.com/java/documentation/1.4.2/ovms/docs/user_guide.html." target="_blank"&gt;http://h18012.www1.hp.com/java/documentation/1.4.2/ovms/docs/user_guide.html.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is some discussion on the subject, I think. Look for the string "Using White Space Within "-V" Data Files".&lt;BR /&gt;This document also explains a lot of the logicals.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Willem&lt;BR /&gt;</description>
      <pubDate>Tue, 10 May 2005 01:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/java-problem-using-quot-v-quot/m-p/3536017#M32123</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-05-10T01:36:38Z</dc:date>
    </item>
  </channel>
</rss>

