Unable to start editor on Windows 10 (SOLVED)

Hi, I apologize for the anxiety.

But I have the following problem when I download the new editor (VERSION 2) and follow the steps, after clicking on the exe, does not open the editor and does not show the splash screen.I use Windows 10 (x64 bit) also try to “Run as administrator” the .exe.

I tried it on 4 other computers the result is the same.

@markus.gustavsson, any idea what could be wrong?

I am investigating.
@tihomir.g.slavovstud Would you mind checking if you have a log file and share it here if you find one? They should be located in %HOMEDRIVE%%HOMEPATH%\AppData\Local\Defold
For me for example, the files are in C:\Users\markus.gustavsson\AppData\Local\Defold

It is empty

Ok, try this: Open up a cmd.exe command prompt and navigate to where you unzipped the Defold archive.
Then type the following command and press enter:
Defold 2> stderr.txt > stdout.txt

For example on my computer it would be something like this:
C:> cd \Users\markus.gustavsson\Desktop\Defold
C:\Users\markus.gustavsson\Desktop\Defold> Defold 2> stderr.txt > stdout.txt

This should produce two files, stderr.txt and stdout.txt in the same folder. Please post the contents of those files.

Another thing to be aware of is that the auto updater will not work fully on Windows if Defold is stored in a path that requires elevated privileges for writing, such as C:\Program Files so it is currently better to install Defold in a folder under the current users home folder.

bash: Defold: command not found

Bash? Please try with cmd.exe, not bash. Defold is a native Windows application. There is no need to run any linux subsystem or virtual machine or any other shell than cmd.exe.

Picked up JAVA_TOOL_OPTIONS:
Picked up _JAVA_OPTIONS:
Exception in thread “WindowsNativeRunloopThread” java.lang.NoSuchMethodError:
at com.sun.glass.ui.win.WinApplication.staticScreen_getScreens(Native Method)
at com.sun.glass.ui.Screen.initScreens(Screen.java:412)
at com.sun.glass.ui.Application.lambda$run$1(Application.java:152)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)
Exception in thread “WindowsNativeRunloopThread” java.lang.NoSuchMethodError:
at com.sun.glass.ui.win.WinApplication.staticScreen_getScreens(Native Method)
at com.sun.glass.ui.Screen.initScreens(Screen.java:412)
at com.sun.glass.ui.Application.lambda$run$1(Application.java:152)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)
Exception in thread “JavaFX Application Thread” java.lang.NullPointerException
at com.sun.prism.d3d.D3DPipeline.getAdapterOrdinal(D3DPipeline.java:205)
at com.sun.javafx.tk.quantum.QuantumToolkit.assignScreensAdapters(QuantumToolkit.java:738)
at com.sun.javafx.tk.quantum.QuantumToolkit.runToolkit(QuantumToolkit.java:334)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$startup$10(QuantumToolkit.java:279)
at com.sun.glass.ui.Application.lambda$run$1(Application.java:153)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)

Thank you for the information! Sadly I cannot say immediately what the issue is, I will have to investigate further.
Was the stdout.txt file empty?

Yes

Thank you for support! I fix it after update the java version.

The issue is resolved?
I was just going to ask you if you had Java 8 installed. That could perhaps have caused this. I will create an internal ticket for us to investigate this issue further so that it does not happen again.

1 Like

Yes the issue is resolved. Again thank you for support.