Board index » delphi » Delphi to Java converter

Delphi to Java converter

Hi
I have several thousand lines of Delphi code which I need to translate to
Java.  My delphi code is all pretty hardware orientated and I'm not really
interested in the forms and visual components so I think the translation
should be pretty straight forward for most of it.  I was wondering whether
anyone knows of any automatic means of doing this, i.e. like a script or a
program or something like that.  If there is nothing out there I might even
try to make a program myself, depending on whether I think it will be worth
the effort, so if anyone has any information or done something similar I
would greatly appreciate any help or pointers to relevant information

Cheers
Tobias

 

Re:Delphi to Java converter


On 10 Dec 1998 15:32:10 GMT, "Tobias Brandt" <TBra...@tellumat.com>
wrote:

Quote
>I have several thousand lines of Delphi code which I need to translate to
>Java.  My delphi code is all pretty hardware orientated and I'm not really
>interested in the forms and visual components so I think the translation
>should be pretty straight forward for most of it.  I was wondering whether
>anyone knows of any automatic means of doing this, i.e. like a script or a
>program or something like that.  If there is nothing out there I might even
>try to make a program myself, depending on whether I think it will be worth
>the effort, so if anyone has any information or done something similar I
>would greatly appreciate any help or pointers to relevant information

There's one Delphi-to-Java converter I'm aware of, but I don't have
the info here right now. You could go to http://developers.href.com/
and search for "Delphi2Java", however, that should give you some
starting points.

Also, Inprise demonstrated a dcc32j compiler (at the Inprise
Conference in Denver), a 32-bit beast taking Delphi code and
outputting Java bytecode as the compilation product. There's a review
of a fellow who attended that presentation at
http://www.undu.com/Articles/980820a.html

Marc

--------------------------------------------------------------------------
Marc Scheuner                            Berner Versicherungen, Dept. ISV
May the Source be With You               Laupenstrasse 27
marc.scheu...@berner.ch                  CH-3001 BERNE, Switzerland
--------------------------------------------------------------------------

Re:Delphi to Java converter


Quote
Tobias Brandt wrote:

> Hi
> I have several thousand lines of Delphi code which I need to translate to
> Java.  My delphi code is all pretty hardware orientated and I'm not really
> interested in the forms and visual components so I think the translation
> should be pretty straight forward for most of it.  I was wondering whether
> anyone knows of any automatic means of doing this, i.e. like a script or a
> program or something like that.  If there is nothing out there I might even
> try to make a program myself, depending on whether I think it will be worth
> the effort, so if anyone has any information or done something similar I
> would greatly appreciate any help or pointers to relevant information

> Cheers
> Tobias

What do you mean by "hardware oriented"? If it means using different
harware directly like scanners, ports etc you'll have problem
translating your code to java since java doesn't support talking to the
hardware directly (but by using native functions through JNI you can do
it).

Roger

Other Threads