Java-Minion on Linux
Trying to make Minion work on Linux.
> java -jar Minion-jfx.jar Error: Could not find or load main class gg.minion.Minion Is there a way to actually launch it? =-) |
What flavor of linux are you running? Its working fine on my Ubuntu VM with Java 1.8_92.
You have the libs folder in the same directory as the Minion-jfx.jar right? Minion folder | --- Minion-jfx.jar | --- lib/ |
Arch Linux.
Yeah, the same structure. Java version: openjdk version "1.8.0_92" |
I haven't tried it with openjdk, maybe that is the issue? I use the rpm from http://www.oracle.com/technetwork/ja...s-2133151.html .
When I get a few moments later tonight I'll spin up a VM with openjdk and see what happens. |
Okay, and I will try "official" Java =-)
|
So, Minion works under official Java (but not undeo openJDK). But Minion hangs at 'fetching global configuration', throwing following error in console:
Code:
ERROR 2016-07-15 13:04:21,538 [JavaFX Application Thread] gg.minion.controller.MinionController:lambda$null$48(1062): GameDetectionService failed: {} java.lang.NullPointerException |
Bump.
Prepatch is live, please help me update my addons! =-) |
Quote:
|
2 Attachment(s)
Sure!
Attaching them to this post. |
Hrm, looks like our game detection stuff is crashing, it may be permission based but not sure. I'm going to pass this on to our java dev and see what he says.
One thing you can maybe try if you're up for it is to run it as sudo? If you rather not I understand. |
No problem =-)
Nnope, it doesn't work even with sudo: ERROR 2016-07-20 17:04:17,592 [JavaFX Application Thread] gg.minion.controller.MinionController:lambda$null$48(1062): GameDetectionService failed: {} java.lang.NullPointerException at gg.minion.plugin.NameFinder.preVisitDirectory(NameFinder.java:82) at gg.minion.plugin.NameFinder.preVisitDirectory(NameFinder.java:25) at java.nio.file.Files.walkFileTree(Files.java:2677) at gg.minion.plugin.WOWPlugin.process(WOWPlugin.java:82) at gg.minion.service.GameDetectionService$1.call(GameDetectionService.java:30) at gg.minion.service.GameDetectionService$1.call(GameDetectionService.java:26) at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javafx.concurrent.Service.lambda$null$492(Service.java:725) at java.security.AccessController.doPrivileged(Native Method) at javafx.concurrent.Service.lambda$executeTask$493(Service.java:724) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) |
One more thing to try if you're up for it... bypass our auto detection for games you can edit your minion.xml.
Directly above the tag </minion> add the following: Code:
<game addon-path="L2hvbWUvb3VnaHQ=" auto-update="false" display-name="World of Warcraft" game-id="WOW" unique-game-id="WOW-1"> Try loading Minion, if it loads all the way then you'll need to go to the 'Options' tab and change the AddOn folder path to the location you currently store your AddOns. If it doesnt work, check the log and see if there is any new errors please. |
Nnope.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> Code:
ERROR 2016-07-20 17:29:50,218 [JavaFX Application Thread] gg.minion.controller.MinionController:lambda$null$48(1062): GameDetectionService failed: {} java.lang.NullPointerException |
Thanks OUGHT,
Talked to our Java dev and we found an issue that needs to be fixed in the client. Its only for those people newly installing minion where it tries to scan for games (reason it works for me atm). The new Minion is missing a directory scanning blacklist for linux (we added this so that Minion wouldn't take forever trying to find games in areas where they would never be). So this should be fixed in the next version of Minion as its something fairly simple. I hope to get a new update out early next week. |
Great! I cannot wait to try it! Thank you very much =-)
|
Same problem here
Exact same issue as described here. Same error log. Running Oracle's Java (openjdk didn't work at all), on openSUSE 42.1 (Leap).
I am also looking forward to an update as I would LOVE to be able to update my addons through this client instead of doing them all manually from time to time. :) |
The update has been held up with us trying to stomp out a bug. In the mean time you can try this development version I have compiled (the current bug won't affect you on Linux or OSX)...
https://cdn.mmoui.com/minion/v3/Mini...5-dev-java.zip Minion will prompt you that it needs to be updated when you use this version. You'll want to decline this update prompt until we fully release 3.0.5. |
I know this is a necropost, but I have some info to contribute.
Quote:
Now I only have to find out how to get Minion to do anything... /edit: Got it to run. However, there are several issues: 1. It seems to need a restart before an added game appears in the list. 2. When removing the previously added WoW, an Exception was thrown. Details in this pastebin. 3. On the next start, another Exception was thrown, seemingly related to unsynchronized access from multiple threads. Details here. 4. When a game (WoW in my case) was added, subsequent start-ups of Minion are very slow. Console output is showing that the program is working, but the interface takes quite a while to appear. 5. The systray icon sometimes doesn't appear. When it does appear, it's labeled "JavaEmbeddedFrame". The icon's right-click-menu looks awful, with heavily aliased font. |
All times are GMT -6. The time now is 01:32 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI