I'm using Eclipse Neon with Scene Builder and cannot open fxml files since yesterday. I didn't commit any changes to my station.
When I'm trying to open an existing fxml file nothing happens.
I tried also to run the Scene Builder from the terminal but then I got segmentation fault error.
I looked at this answer, but the problem still exists.
I managed to solved the problem by returning to an old version of the Ubuntu generic kernel.
Related
I am using Apache Netbeans IDE v12.5 and want to use Scene Builder for my JavaFX programs but I am unable to find the file to import Scene Builder. tools->options->Java->JavaFX On searching in the internet I found that the file would be in /opt/scenebuilder/bin, but for me it's empty.
On actually looking in the directoy, there's a shared library named scenebuilder. Is there any other way to find the or import the scenebuilder file?
When trying to launch the latest Gluon Scene Builder release, 16.0.0, nothing happens. The process shows up in Task Manager but the window does not actually display on the screen. I have confirmed that I am able to install release 8.5.0 and it launches just fine. I have also tried running the 16.0.0 installer as Administrator but that also did not launch after installation. Am I missing a configuration step that was not there for previous versions of Scene Builder?
The scenebuilder.cfg files for the two versions look like this:
[Application]
app.classpath=$APPDIR\scenebuilder-16.0.0-all.jar
app.mainclass=com.oracle.javafx.scenebuilder.app.SceneBuilderApp
[JavaOptions]
java-options=-Djpackage.app-version=16.0.0
java-options=--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED –
[Application]
app.name=SceneBuilder
app.mainjar=dist.jar
app.version=8.5.0
app.preferences.id=com/oracle/javafx/scenebuilder/app
app.mainclass=com/oracle/javafx/scenebuilder/app/SceneBuilderApp
app.classpath=
app.runtime=$APPDIR\runtime
app.identifier=com.oracle.javafx.scenebuilder.app
[JVMOptions]
[JVMUserOptions]
[ArgOptions] –
I am running XUbuntu x64 14.04.4 LTS on my PC, with eclipse Mars.2 Release (4.5.2) and JDK 8 properly linked up to my eclipse (via ini file).
So basically, I "upgradet" to e(fx)clipse. Then I crated a new "JavaFX project". When I tried to run it, I got the error The import javafx.application cannot be resolved.
A quick google search brought up, that I need to add the jfxwt.jar from my java 1.8 directory (in my case /opt/Oracle_Java/jdk1.8.0_91/jre/lib/).
But the error didn't went away. I also tried the build options but nothing seemed to change anything.
First of all, I included the wrong jar. whoops. thanks to #DVarga for the tip.
But that wasn't the problem. So here are all the steps I took, to create a working e(fx)clipse environment:
Download the latest eclipse version and add the e(fx)clipse package.
Update to the latest JDK and reference that in the eclipse.ini file (1)
Tell ecplipse the path for the latest JDK. Although this tutorial is for MACs, it works pretty much the same in linux. There are a few differences tho:
The preferences menu is in window > preferences
The JRE type is not MacOS X VM but rather Standard VM
The JRE home path is the jdk1.8.0_VERSION folder (in my case /opt/Oracle_Java/jdk1.8.0_91)
I didn't need to add any other jar for javaFX to work properly.
(1) How to add the Java 1.8 path to eclipse
if you get the error "JavaFX was disabled because your java version is to old" (or something like this) you need to update to at least Java 1.8 and edit the eclipse.ini file in the eclipse folder.
There you have to look for the line -vm. In the next line is a path to an old Java version. Change that to the new path. It should look like this: /path/to/jdk1.8.0_VERSION/jre/bin/ in my case it is /opt/Oracle_Java/jdk1.8.0_91/jre/bin/
An error message appears when opening fxml file with SceneBuilder.
The error: "opening the file with scene builder failed. Try setting the absolute path to scenebuilder in your the preferences."
I did not see the SceneBuilder in my Program files to configure in Path.
You can find the recent builds of scenebuilder at http://gluonhq.com/products/downloads/
Edit:
Have a look at the stackoverflow post here:
Where exactly can I download the latest version of Scene Builder for Java?
There is the explanation why you cant find scenebuilder on JavaFX 8. The post of Cyäegha explains it.
In case Eclipse. Select your project, then Properties–>FXGrap–>Configure Workspace Setting–> JavaFX–>SceneBuilder executable –>Browse, and find path to SceneBuilder.exe
Qt creator crashes after choosing new project (actually, when I just click on project that is below 3rd one) without errors.
Some times there was internal Ubuntu error where was tag:
qtcreator crashed with SIGABRT in raise().
According to :
http://code.google.com/p/clementine-player/issues/detail?id=1706
Removing the qt-at-spi package solves the problems (it actually did, for me!)
sudo apt-get remove qt-at-spi