1

On ubuntu I installed scene builder it won't launch. Also didn't give any type of exception. Icon blinks for few seconds and then stops.

Junaid
  • 11
  • 9
  • can you try running it from terminal and see if there is any output? – Itai Jun 21 '17 at 11:21
  • how to run it from the terminal. I write "scenebuilder" on terminal but the output is that "command not found". – Junaid Jun 21 '17 at 12:09
  • I believe it is installed under `/opt/SceneBuilder` by default, so you should try `/opt/SceneBuilder/SceneBuilder` – Itai Jun 21 '17 at 12:12
  • 1
    "/opt/SceneBuilder/SceneBuilder" after running this command it said "Segmentation fault (core dumped)" – Junaid Jun 21 '17 at 12:17
  • When I downloaded it, I download it into segments because it auto failed 2 times. what do you say? Is it's because of a corrupt file or something else. – Junaid Jun 21 '17 at 12:22
  • I installed the deb package on my ubuntu 16.04 a while ago and it worked until it won't start today (I haven't used it for a week or so). I removed and reinstalled the deb package, same problem. I first thought was because I changed jdk from 1.8.0_60 to 1.8.0_131. So I rolled back to _60. Same problem. Only way I can get it to work is to download the scenebuilder-all-8.3.0-all.jar and run it with "java -jar scenebuilder-all-8.3.0-all.jar". Very strange problem. – Guangliang Jun 22 '17 at 20:01
  • Also, I have JavaFXSceneBuilder 2.0 installed long time ago and it worked before. But it also gives core dump today. – Guangliang Jun 22 '17 at 20:02
  • Can you check if the Linux kernel has been recently updated? Check this [post](https://askubuntu.com/questions/927746/eclipse-crashes-with-linux-kernel-4-4-0-81-generic/927824), there is a possible workaround. – José Pereda Jun 23 '17 at 13:06

2 Answers2

3

Well, I have the same issue here. I run scene builder alongside with intelliJ IDE on my laptop(elementary os loki). I tried to googling around and finally found a workaround from this post. May it helps you!

p.s.: I still can't open it directly from intelliJ, so I open the scene builder separately.

qod
  • 63
  • 2
  • 6
  • put two lines into a script and make it executable. Point the path from IDE to the script. It will work. Note there should be a new line after #!/bin/sh, the comment won't let me have the new line, sorry. – Guangliang Jun 22 '17 at 20:12
  • #!/bin/sh java -jar /opt/SceneBuilder/app/dist.jar $* – Guangliang Jun 22 '17 at 20:13
3

@José Pereda pointed out that the problem could be a bug in kernel. He linked post that gives workaround to this problem.

export JAVA_TOOL_OPTIONS=-Xss1280k

tijetof
  • 51
  • 7