简体   繁体   English

无法启动Eclipse RCP应用程序产品-启动器无法找到其配套共享库

[英]Unable to launch Eclipse RCP application product - The Launcher was unable to locate its companion shared library

I am using Eclipse Juno Service Release 2. 我正在使用Eclipse Juno Service Release 2。
I created a product for existing eclipse RCP application. 我为现有的Eclipse RCP应用程序创建了产品。
When I click on Launch an Eclipse application in the Overview tab of the .product file, it launches fine. 当我单击.product文件的Overview选项卡中的Launch Eclipse应用程序时,它可以正常启动。 However when I click on the launcher(.exe) in the exported eclipse RCP Product. 但是,当我单击导出的Eclipse RCP产品中的启动器(.exe)时。 I get a message - The TESTLauncher was unable to locate is companion shared library. 我收到一条消息-TESTLauncher无法找到同伴共享库。

I am using JRE-32 bit and Eclipse Juno 64 bit. 我正在使用JRE-32位和Eclipse Juno 64位。

May I know what is causing this issue and how to resolve it. 我可以知道是什么导致了此问题,以及如何解决它。

I was finally able to resolve the issue. 我终于能够解决问题。
This was because of mismatch in JRE and Eclipse versions. 这是因为JRE和Eclipse版本不匹配。
I was using Eclipse Juno 64 bit with JRE 1.6 32 bit. 我使用的是Eclipse Juno 64位和JRE 1.6 32位。
Then I used Eclipse Juno 32 bit with JRE 1.6 32 bit to export my product and was then able to launch the product successfully. 然后,我将Eclipse Juno 32位和JRE 1.6 32位用于导出我的产品,然后能够成功启动该产品。
I read somewhere the SWT libraries of Eclipse are platform dependent. 我在某处读过Eclipse的SWT库与平台有关。 So you won't be able to run, say the 64bit version on a 32bit JRE system. 因此,例如32位JRE系统上的64位版本,您将无法运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM