By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,686 Members | 2,770 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,686 IT Pros & Developers. It's quick & easy.

JCLA Runtime error

P: n/a
Hi,

I need to convert set of Java classes exported from IBM Modeling environment
to C# for implementation.
When I invoke JCLA conversion from File->Open->Convert in Visual Studio 2005
it starts just fine parsing file after file but then it breaks on page 7 of
JCLA Wizard.

The dialog with runtime error is shown that says:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program Files\Micros...

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------------------------
OK
---------------------------

From the conversion log I can see that the parsing of java files has
completed so it seems that the error occurs in the very next step.

I've tried on another, freshly installed machine and the wizard frozen at
the same point at page 7.

Note that I don't have any Java tools on the machines.

How can I get JCLA to convert Java to C# in VS 2005?

Regards,

Aleksandar,
Pexim Solutions
Feb 3 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Aleksandar,

Without showing the code, it is impossible to tell.

It should be noted that the JCLA is not perfect, and will not give you a
direct 1-1 mapping from Java code to C# code. If you have an idea of which
file the program is having problems on, you might be able to stub out the
java code and then re-implement it by hand in the C# once the conversion
assistant is done with it.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Aleksandar" <Al********@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
Hi,

I need to convert set of Java classes exported from IBM Modeling
environment
to C# for implementation.
When I invoke JCLA conversion from File->Open->Convert in Visual Studio
2005
it starts just fine parsing file after file but then it breaks on page 7
of
JCLA Wizard.

The dialog with runtime error is shown that says:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program Files\Micros...

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
---------------------------
OK
---------------------------

From the conversion log I can see that the parsing of java files has
completed so it seems that the error occurs in the very next step.

I've tried on another, freshly installed machine and the wizard frozen at
the same point at page 7.

Note that I don't have any Java tools on the machines.

How can I get JCLA to convert Java to C# in VS 2005?

Regards,

Aleksandar,
Pexim Solutions

Feb 3 '06 #2

P: n/a
Nicholas,

Thanks for you response, but I doubt that it has anytihng to do with code.
To verify this I've created a trivial HelloWorld.java example and compiled
it using javac.
/* Listing of HelloWorld.java */
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
/* eof */

The compiled and run just fine, but JCLA converison assistant produced the
same error I've described in my original post.
Here are the contents od JCLA conversion log:

<ConversionLog>
<Settings>
<Setting
Name = "LogFile"
Value = "Java.xml"
/>
<Setting
Name = "ProjectName"
Value = "Java"
/>
<Setting
Name = "StartTime"
Value = "Sunday, February 05, 2006 10:15:59"
/>
<Setting
Name = "OutputDir"
Value = "C:\Java\Java.NET"
/>
<Setting
Name = "ProjectPath"
Value = "C:\Java"
/>
</Settings>
<Root>
<File
OldPath = "C:\Java\HelloWorld.java"
NewPath = "C:\Java\Java.NET\HelloWorld.cs"
<Issue
Type = "Compile"
Number = "0000011"
Severity = "1"Conversion process has been crashed</Issue> </File>
</Root>
</ConversionLog>

How can I get support for this issue?

Regards,
- Aleksandar.
"Nicholas Paldino [.NET/C# MVP]" wrote:
Aleksandar,

Without showing the code, it is impossible to tell.

It should be noted that the JCLA is not perfect, and will not give you a
direct 1-1 mapping from Java code to C# code. If you have an idea of which
file the program is having problems on, you might be able to stub out the
java code and then re-implement it by hand in the C# once the conversion
assistant is done with it.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Aleksandar" <Al********@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
Hi,

I need to convert set of Java classes exported from IBM Modeling
environment
to C# for implementation.
When I invoke JCLA conversion from File->Open->Convert in Visual Studio
2005
it starts just fine parsing file after file but then it breaks on page 7
of
JCLA Wizard.

The dialog with runtime error is shown that says:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program Files\Micros...

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
---------------------------
OK
---------------------------

From the conversion log I can see that the parsing of java files has
completed so it seems that the error occurs in the very next step.

I've tried on another, freshly installed machine and the wizard frozen at
the same point at page 7.

Note that I don't have any Java tools on the machines.

How can I get JCLA to convert Java to C# in VS 2005?

Regards,

Aleksandar,
Pexim Solutions


Feb 5 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.