Page 1 of 1

unable to start Negatron in Linux

Posted: Mon May 13, 2019 1:38 pm
by Katakis
I am trying to run Negatron under linux. On the first screen, I entered the location of MAME and pointed to "mame64", and the language was set to "English (United Kingdom)". When I started, this appears in BASH:

Code: Select all

May 13, 2019 11:22:51 PM net.babelsoft.negatron.NegatronApp start
SEVERE: Couldn't start Negatron
java.lang.IllegalStateException: Location is not set.
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2434)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
	at net.babelsoft.negatron.NegatronApp.start(NegatronApp.java:76)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
	at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$5(GtkApplication.java:139)
	at java.lang.Thread.run(Thread.java:748)

Exception in Application start method
Where is the location of the configuration file? I need to delete it so that I can run the wizard again.

Re: unable to start Negatron in Linux

Posted: Mon May 13, 2019 1:52 pm
by Katakis
I found it actually. It is in .Negatron.

Note what my log said:

Code: Select all

Location is not set
It's rejecting the MAME folder/file name for some reason.

Re: unable to start Negatron in Linux

Posted: Tue May 14, 2019 5:29 pm
by BabelSoft
You shouldn't have this kind of errors. I can see only 2 potential issues that can generate this error:
- your Negatron.jar has been tampered with and some stuff is missing in it.
- you're missing the folder "theme" and its subfolder "language".

If you installed Negatron from the RPM or DEB packages, I've been told that they are corrupted. I didn't test them well... Sorry about that. Please, just use the cross platform pack instead.

Re: unable to start Negatron in Linux

Posted: Thu May 16, 2019 5:45 am
by Katakis
The cross-platform pack works.
Many thanks!