将旧的J ++项目迁移到Eclipse? [英] Migrate old J++ project to Eclipse?
问题描述
我已经开始使用一个旧的Microsoft J ++项目,该项目使用Microsoft Java虚拟机中的一些旧的Microsoft特定功能(现已不推荐使用,不受支持).它使用了旧的Microsoft Java开发工具包中的其他功能,而我在网络上找不到任何内容.
I've got my hands on an old Microsoft J++ project that uses some old Microsoft-specific things from the Microsoft Java Virtual Machine (now deprecated and unsupported). It uses additional things from the old Microsoft Java Development Kit, which I can't find anywhere on the web.
前进的最佳途径似乎是将该项目迁移到Java的最新版本,并将J ++ .sln解决方案文件迁移到Eclipse项目文件.
It seems the best route forward is to migrate this project to the latest version of Java, and migrate the J++ .sln solution file to an Eclipse project file.
我现在有点不知所措-是否有任何工具可以帮助简化迁移过程?有什么技巧可以进行这种转换吗?
I'm a bit overwhelmed right now -- are there any tools to help ease the migration process? Any tips for doing such a conversion?
推荐答案
我会分多个步骤进行分解.
I would break this up in multiple steps.
首先让它在Visual J ++中进行编译.您很可能需要从以下位置购买旧副本:易趣.
First get this to compile and in Visual J++. You will most likely need to buy a used copy from e.g. Ebay.
然后,当您看到它如何工作时,就可以将Microsoftism隔离和重构为通用的东西.该页面说明了如何使J ++与Sun JRE一起使用,以便在那里进行初始工作: http://java3d.j3d.org/tutorials/quick_fix/vis_jpp.html
THen when you can see how this works you can work isolating and refactoring the Microsoftisms into something generically usable. This page illustrates how to make J++ work with a Sun JRE so you can do the initial work there: http://java3d.j3d.org/tutorials/quick_fix/vis_jpp.html
那么您很可能将拥有一堆Java文件,您可以将这些文件复制粘贴到Eclipse中的新Java项目中.
Then you will most likely have a bunch of java files which you can copy-paste into a fresh Java project inside Eclipse.
这篇关于将旧的J ++项目迁移到Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!