Scene Builder 2.0无法启动 [英] Scene Builder 2.0 not launching

查看:475
本文介绍了Scene Builder 2.0无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以前似乎有人遇到过类似问题.

在全新安装的Windows 8.1上,我安装了Netbeans,最新的JDK和JavaFX Scene Builder,但是Scene Builder没有运行.

On a fresh install of Windows 8.1 I've installed Netbeans, the lastest JDK, and the JavaFX Scene Builder, but the Scene Builder isn't running.

通常,问题是场景生成器"窗口没有出现/没有打开文件,但是现在我无法让它第一次运行打开.没有错误消息,并且从命令行运行它不会返回任何内容.该程序似乎没有出现在任务管理器中,并且任务栏上没有显示图标.

Usually the issue is with the Scene Builder window not appearing/opening files, but right now I can't get it to open for a first run. No error messages, and running it from the command line doesn't return anything. The program doesn't seem to appear in the Task Manager, and there's no icon showing on the task bar.

我还安装了BitDefender(就像另一个问题的人一样),但是禁用它似乎没有帮助.

I also have BitDefender installed (like the person in the other question), but disabling it doesn't seem to help.

推荐答案

我卸载了Scene Builder 2.0并安装了Scene Builder 1.1.它也不会启动,但似乎更冗长,因为它的错误.这次我遇到两个错误:"Failed to create JVM""Failed to Launch JVM".

I uninstalled Scene Builder 2.0 and installed Scene Builder 1.1. It wouldn't start either, but it seems it's more verbose in it's errors. I got two errors this time: "Failed to create JVM" and "Failed to Launch JVM".

搜索这两个错误导致我

Searching those two errors led me to this post outlining a fix that worked for me. Even though I had loads of free memory the default settings attempt to set the max amount of memory for the heap to 999MBs, and it seems the JVM was failing to launch because of that.

我不确定该值是什么问题,而是查看-Xmx参数的文档:此值必须是1024的倍数且大于1 MB".但是我以前使用的值不是1024的倍数(在以前的安装中,我从未遇到过此问题,并且大概是999),而1024本身似乎不起作用,所以我仍然不完全确定问题的确切根源是

I'm not sure what the issue with that value is but looking at the docs for the -Xmx argument: "This value must be a multiple of 1024 and greater than 1 MB". But I've used values that weren't multiples of 1024 before (On my previous installs I never had this issue, and presumably the value was 999), and 1024 itself doesn't seem to work, so I'm still not completely sure on the exact source of the issue is.

帖子中提到的修复程序之所以可能起作用,仅仅是因为它碰巧将值设置为1024的倍数:

The fix mentioned in the post might have worked simply because it happened to set the value to a multiple of 1024:

  • 转到HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\oracle\javafx\scenebuilder\/J/V/M/User/Options in regedit
  • -/Xmx的值从999m更改为512m
  • Go to HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\oracle\javafx\scenebuilder\/J/V/M/User/Options in regedit
  • Change the value for -/Xmx from 999m to 512m

这篇关于Scene Builder 2.0无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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