BUG: JLCA command-line utility does not convert multiple Java files in one try (819603)
The information in this article applies to:
- Microsoft Visual J++ 6.0
- Microsoft Visual C# .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual J++ 1.0
SYMPTOMSWhen you try to convert multiple Java-language files by
using the Java Language Conversion Assistant (JLCA) command line utility, JConvert.exe, all the Java-language files are not converted. The
symptoms you experience vary according to which version of JLCA is installed on
your computer:
Note: this error message is quoted verbatim and should appear as "... does not have ... and does not start." CAUSEJLCA command line utility does not support converting
multiple Java-language files in one attempt. WORKAROUNDTo work around this problem, use the inputDirectory command line option of the JConvert.exe executable. Using the inputDirectory option, you can convert all your Java-language files in the input
directory to Visual C# .NET code. To use the inputDirectory option of JConvert.exe, follow these steps:
- Locate the JConverter.exe file in the following folder: C:\Program Files\Microsoft Visual Studio .NET\JavaLanguageConversionAssistant
- Run the following command:
Microsoft Visual Studio .NET Setup Dir\JavaLanguageConversionAssistant\JConverter C:\JavaFiles\ /Verbose
To open a command prompt, click
Start, click Run, type
cmd, and then click OK.
In the C:\JavaFiles\OutDir folder, you see listed the corresponding Visual C# .NET code for
all the Java-language files in the C:\JavaFiles directory. You do not see
listed the inputDirectory command line option description for JConvert.exe when JLCA is
installed on Visual Studio .NET 2002. STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information about the Java Language Conversion
Assistant (JLCA), visit the following MSDN Web site:
Modification Type: | Minor | Last Reviewed: | 1/13/2006 |
---|
Keywords: | kbBug kbCodeGen kbCommandLine kbJava kbconvert KB819603 kbAudDeveloper |
---|
|