[英]Eclipse RCP product export using a certain JDK
My Eclipse Mars 4.5.1. 我的Eclipse火星4.5.1。 uses
JDK 8 to start-up (specified in the
eclipse.ini
) 使用JDK 8进行启动(在
eclipse.ini
指定)
My RCP project uses JDK 7 .
我的RCP项目使用JDK 7 。 The entire workspace uses 7. I've also included the
JavaFX JAR until I migrate the whole project to JDK 8, where I won't need it.
整个工作区使用7。在将整个项目迁移到JDK 8之前,我还包括了JavaFX JAR。
When I try to export the RCP project using the .product
file, the exported version has some logs saying that certain classes using JavaFX have compile errors. 当我尝试使用
.product
文件导出RCP项目时,导出的版本具有一些日志,表明某些使用JavaFX的类具有编译错误。 Even though the exported version is started with JDK 7 (specified in the .ini
file), and the JavaFX JAR surely was exported too, these UI components crash. 即使导出的版本从JDK 7(在
.ini
文件中指定)开始,并且确实也导出了JavaFX JAR,这些UI组件也会崩溃。
You can try to put a JRE 7 in your product location and test if it runs, remove the entry in the .ini
file. 您可以尝试将JRE 7放在产品位置,然后测试它是否运行,请删除
.ini
文件中的条目。
If this works, your entry in the .ini
file is probably wrong. 如果这可行,则您在
.ini
文件中的输入可能是错误的。
Another thought: "I've also included the JavaFX JAR", where did you include it? 另一个想法:“我还包括JavaFX JAR”,您在哪里包括它? Maybe you need to include it in the JRE.
也许您需要将其包含在JRE中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.