Gluon SceneBuilder won't open the FXML files while IntellijIDEA is open - java

I have installed both SceneBuilder 11.0.0 and 8.5.0 (not at the same time) and I encountered the problem with both versions. The first time I used the 11 version, it worked fine 1 or 2 times when I opened fxml files from intellij, then, after trying to open the files and nothing happening I closed the IDE and SceneBuilder opened up right away.
I am using Java 8 for the project, thus I downloaded the 8.5 version. I have also tried opening SceneBuilder, then Intellij and then the fxml files, but again, it worked just one time, now it won't open any files.
Also, I can't even open the app by itself while intellij is running. I have updated intellij recently so the version is not outdated, what should I do?

Related

The import Javafx cannot be resolved Eclipse JDK-11.0.1

Using eclipse on windows I've begun to get error messages on Java files containing Javafx imports. Although this was never an issue before. I've tried changing the build path and ensuring I have the latest version of Java (JDK-11.0.1). Javafx is also downloaded from the Eclipse marketplace and was previously working. It appears in the preferences window also. Any help would be much appreciated I have an exam in the morning, meaning this was an awful time for the software to stop working.

Eclipse neon hangs loading org.eclipse.ui.navigator

Researching existing answers to problems with eclipse hanging on startup, I have not found anything that seems applicable to my problem. Neither have the responses so far been helpful.
The splash screen appears and seems to be conducting a normal startup process, but when the status message reports
Loading org.eclipse.ui.navigator
all progress halts, apparently forever.
REACTIONS TO ADVICE AND DIAGNOSTICS:
A related question caused me to add -clean to the shortcut. This did not help.
The first actual answer suggested reinstalling Eclipse. This did not help.
The second response suggested that I look at Eclipse log files. The first file suggested was most recently updated May 5, long before the problems started, and the second suggested file did not exist.
Moving the old workspace to a different file name and reinstalling Eclipse again with a brand-new workspace enabled me to launch Eclipse successfully, but if I switch workspaces to the new workspace, it hangs (at the same point).
The problem appears to be loading a plugin named org.eclipse.ui.navigator. There is no such plugin in {workspace}\.metadata\.plugins, in either the old workspace or the new workspace. I don't know why Eclipse is trying to load that nonexistent plugin when it tries to run from the old workspace but not from the new workspace. As far as I can tell I need to find some way to install the navigator plugin in the old workspace (without being able to run Eclipse from that workspace), or somehow tell Eclipse not to try to load it. I have no idea how to do either.
Running Eclipse Neon, on a Win10 machine; Eclipse ran normally as of a few days earlier and only started hanging May 22.
Had the same problem today. It was resolved after removing the following folders from the [workspace]/.metadata/.plugins folder:
org.eclipse.e4.ui.workbench.swt
org.eclipse.e4.workbench

Eclipse - Scenebuilder not starting with right clicking and "Open with scenebuilder"

I have a JavaFX project with several .fxml files. I used to open those files by right-clicking on them and selecting "Open with SceneBuilder". Probably after some operating system maintenance, SceneBuilder does not start anymore. No error message appears, just nothing happens. I' working under XUbuntu 16.04, same behavior on Eclipse Neon and Eclipse Oxygen, the latter with fresh install.
SceneBuilder path is correctly set under Window -> Preferences -> JavaFX -> SceneBuilder executable.
I tried reinstalling e(fx)clipse, nothing.
Tried to reset SceneBuilder by removing ~/.scenebuilder and ~/.java/.userPrefs/com/oracle/javafx/scenebuilder/.
This happens with SceneBuilder 8.4.1 and 8.3.0 . I'm using the executable jar version of SceneBuilder (scenebuilder-8.4.1-all.jar).
Of course, launching SceneBuilder alone and opening fxml files from the filesystem works.
Does anybody have an idea on how to restore the functionality or at least a way to understand whats happening? Many thanks
Installing the packaged version of SceneBuilder solved the problem.
Downloaded scenebuilder-8.4.1.deb, installed with "sudo apt-get install ./scenebuilder-8.4.1.deb". Then configured Eclipse pointing "Window->Preferences->JavaFX->SceneBuilder executable" to "/opt/SceneBuilder/SceneBuilder".
This also solves the problems related to window maximization/minimization not working properly with SceneBuilder executable jar file.

JavaFX application intermittently shows an empty window

I just started to develop an application with JavaFX and this is the first time I am using JavaFX.
My application works fine, but sometimes (happened twice) when I start the application, it only shows an empty window, without any content. When this happens, no matter what I do, I cannot get it fixed until I restart the PC. When I restart the PC, the issue automatically gets resolved.
Following are my environment details
Windows 7 64bit.
jdk1.8.0_131 (64 bit).
Build with Maven v3.2.5
Developed in IntelliJ IDEA 2017. (When issue occurs, window is empty
when opened through IDEA, and opened through
myapp-jar-with-dependencies.jar built by maven)
What could be the cause of this issue?

Updated Java and Eclipse Neon.2 is not working properly

I updated my jre to jre1.8.0_121, and when opening my eclipse Neon.2, my Dynamic Web Projects are filled with errors. The Java classes have errors on every line, and the .xhtml files are no longer opening with normal text editing.
Under Windows>Preference>Java>Installed JREs I updated it to read the right location. Both my java and Eclipse are 64 bit.
Does anyone know why this is happening?

Categories