QML预览版兼容性检查失败. QML预览已禁用 [英] QML Preview compatibility check failed. QML preview is disabled

查看:128
本文介绍了QML预览版兼容性检查失败. QML预览已禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac 10.8.2上,我在计算机上同时安装了Java 1.6(启用了32/64bit)和Java 1.7,并且JAVA_HOME指向Java 1.6,但是每当我尝试在我的即时消息IDE中启用QML预览时,(用于BlackBerry®10 Native SDK的QNX®Momentics®IDE,版本:10.0.9),出现标题错误.在工作空间/.metadata/.log下查看了一下日志,并记录了以下内容:

I am on Mac 10.8.2, i have both java 1.6 (32/64bit enabled) and java 1.7 on my machine and the JAVA_HOME is pointed to java 1.6, but whenever I try to enable QML previewing in my momentics ide (QNX® Momentics® IDE for BlackBerry® 10 Native SDK, Version: 10.0.9), I get the error in the Title. looked a bit into the log under workspace/.metadata/.log, and it logged the following:

!MESSAGE QML预览版兼容性检查日志. 错误:此Java实例不支持32位JVM.

!MESSAGE QML Preview compatibility check log. Error: This Java instance does not support a 32-bit JVM.

我怎样才能使IDE指向Java 1.6?我可以在应用程序的启动脚本中的某个位置进行更改吗?

How can I get the ide to point to java 1.6? Is it somewhere in the startup script of the application that I can change?

谢谢

推荐答案

QNX Momentics基于Eclipse,因此您应该能够通过编辑IDE的.ini文件来更改所使用的JVM.如果您的Momentics安装在默认位置,请在Finder中导航至:

QNX Momentics is based on Eclipse, so you should be able to change the JVM used by editing the .ini file for the IDE. If your Momentics is installed in the default location, in Finder navigate to:

/Applications/bbndk/ide/macosx/x86/eclipse/

  1. 右键单击qde.app(如果隐藏了扩展名,则可能只是带有临时图标的qde),然后选择显示包装内容.
  2. /Contents/MacOS/下,在TextEdit中编辑qde.ini文件.
  3. 在文件顶部,在-vmargs之前添加以下内容:

  1. Right click on qde.app (if you have extension hidden it might just be qde with the momentics icon) and choose Show Package Contents.
  2. Under /Contents/MacOS/ edit the qde.ini file in TextEdit.
  3. At the top of the file, before -vmargs add the following:

-vm
/path/to/your/java/jvm/here

即.

-vm
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java

  • 保存文件并启动Momentics,它现在应该使用您指定的JVM.启动后检查您的workspace/.metadata/.log以确认这一点.

  • Save the file and launch Momentics, and it should now be using the JVM you specified. Check your workspace/.metadata/.log after the startup to confirm this.

    这篇关于QML预览版兼容性检查失败. QML预览已禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆