471,325 Members | 1,685 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

JCLA Runtime error

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
2 1789
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
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.

Similar topics

5 posts views Thread by Nathan Bloom | last post: by
reply views Thread by Nicholas Beenham | last post: by
1 post views Thread by Jon Davis | last post: by
669 posts views Thread by Xah Lee | last post: by
reply views Thread by bill gates | last post: by
7 posts views Thread by Norman Diamond | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.