Page 5 of 6

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Sep 26, 2018 4:26 pm
by HollandXH
Hey there! Maybe this is a really dumb question, but I've tried to download this on my mac and I can't open the program. I tried to open it, I get the pop up of Beatmeter generator, but it doesn't lead me to the actual program.

Is there something I'm doing wrong or is there another program or such I need to have?

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Sep 26, 2018 4:45 pm
by kerkersklave
If you get the splash screen, something is working. As I do not own a Mac I sadly cannot test on OS X myself.

Did you start the application from the command line using "java -jar beatmeter-generator.jar."?
If so, you at least should get some error message on the command line.

Also, which Java Runtime Environment are you running?

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Thu Sep 27, 2018 3:49 pm
by HollandXH
kerkersklave wrote: Wed Sep 26, 2018 4:45 pm Did you start the application from the command line using "java -jar beatmeter-generator.jar."?
If so, you at least should get some error message on the command line.

Also, which Java Runtime Environment are you running?
Yes I have used "java -jar beatmeter-generator.jar.", but that doesn't seem to help either. I've downloaded Java 10.0.2, even though Java 8 is recommended, because I thought 'well having the most recent version of Java wouldn't hurt'. Maybe that's the case or there's something else going on.

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Thu Sep 27, 2018 6:12 pm
by kerkersklave
Hm, you could try to downgrade to Java 8/9. I did not test Java 10 yet.
But this should not be the reason. Also, there should be at least some kind of error message.

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Thu Sep 27, 2018 8:26 pm
by HollandXH
kerkersklave wrote: Thu Sep 27, 2018 6:12 pm Hm, you could try to downgrade to Java 8/9. I did not test Java 10 yet.
But this should not be the reason. Also, there should be at least some kind of error message.
I've tried but still no succes :(
On a sidenote, I'm working on a MacBook Pro from 2011. Through all the years, I might not have updated everything, so might be something that would be fine on any other laptop, except mine. But I guess mankind will never know ;)

I also noticed I've never told you that you did a phenomenal job doing this. It might not work (right now) for me, but the fact that you're helping so many others is truly something you can be extremely proud of!

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Thu Sep 27, 2018 9:58 pm
by 3xTripleXXX
HollandXH wrote: Thu Sep 27, 2018 8:26 pm I also noticed I’ve never told you that you did a phenomenal job doing this. It might not work (right now) for me, but the fact that you’re helping so many others is truly something you can be extremely proud of!
As someone who used this for my first CH and am currently using it for my second, I totally agree. :) Unfortunately, I work on a Windows machine as well, so I can’t help much with the troubleshooting.

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Tue Oct 30, 2018 7:39 am
by 3xTripleXXX
Here’s another little feature request, should you pick up work on this again (noticed you’d committed to a branch not too long ago. ;)

It would be awesome if we could use the right/left arrows to shift the current selection right/left by a pixel at a time. The beats themselves snap nicely, but it would be super helpful when aligning the bpm bars for snapping to. When you’re just barely off the beat, it’s a pain to get it aligned with the mouse (at least I think so).

Anyway, thanks again for the awesome software. :)

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 7:51 pm
by Xity
I'm having exactly the same problem as HollandXH, also on an old MacBook Pro from around 2011. Although an older version of your beatmeter generator did work for me (at that time, there was no splash screen).

Except that for me, when I use the terminal (JDK 11.0.1), I get the following error:
Error: Unable to initialize main class io.gitlab.sklavedaniel.beatmetergenerator.editor.BeatEditor
Caused by: java.lang.NoClassDefFoundError: javafx/event/EventTarget

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 7:57 pm
by kerkersklave
I think I understand at least your problem:
The beatmeter generator needs JavaFX which is no longer included in Java 11.
Can you try to install an older JRE or JDK e.g. 8 from here: https://www.oracle.com/technetwork/java ... 33151.html
10 should also work, but 11 does not. There is currently ongoing work on a stand alone distribution of JavaFX, but I have not looked into it. I probably should bundle it with the beatmeter generator at some point.

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 8:08 pm
by Xity
Wow, that was a fast reply! I just uninstalled 11, and installed 8, and now I have the same issue of stuck hanging on the splash screen (no error in terminal).

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 8:19 pm
by kerkersklave
Hm, that is really strange. Could you try JDK 9 and 10?
Did you start it form the command line?
I really would like to track down this problem.

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 8:28 pm
by Xity
Yes, I did it from command line.

Oracle doesn't even seem to have downloads for JDK 9 or 10. I'm hesitant to use any other wierd site to try to download them.

Also, I'm running MacOs Sierra 10.12.6, for what it's worth.

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 8:33 pm
by kerkersklave
Hm, yes, Oracle only seems to supply JKD 8 for compatibility reasons.

I have one more idea: go back to JDK 11 and install JavaFX 11 manually from: https://gluonhq.com/products/javafx/
This is now the offical source for future JavaFX releases.

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 8:36 pm
by kerkersklave
You might have to add JavaFX explicitly as a module like this:
java --module-path $PATH_TO_FX --add-modules=javafx.controls HelloFX

I do not know that $PATH_TO_FX has to be though...

Re: [Announcement] Beatmeter Generator 0.2 (Now with visual beat editing)

Posted: Wed Dec 26, 2018 9:08 pm
by Xity
I did need to add it as a module, so I tried figuring out the path, and I kept getting this error:

Code: Select all

Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found
After changing directories a bunch of times and trying different paths, I ended up doing "java --module-path lib --add-modules=javafx.controls HelloFX", which was the first time I didn't get the above error, but instead got:

Code: Select all

Error: Could not find or load main class HelloFX
Caused by: java.lang.ClassNotFoundException: HelloFX
Now, I don't know what to do... :unsure: