This is the output after calling the command, but I have no pale glimmer of Java
Wow, you’ve just made me dust off a really ancient hardware, and open a bottle of porter!
It seems I need a testing environment with no jdk installed. Otherwise the java.lang.NoClassDefFoundError never happens. I do need to reproduce it to fix it. That’s why I took my daughters old desktop, not in use for over 3 years.
Possibly I’ll also need to try and understand this:
for name in /usr/share/java/myprogram/*.jar ; do CP=$CP:$name done CP=$CP:/usr/share/java/dep1/dep1.jar java -cp $CP myprogram.java.MainClass
as written in Java package guidelines. I must admit I couldn’t get it so far.
Thanks for help. Would you mind doing this again when the new package is ready?
if you you provide also the PKGBUILD i will.
You’re right again. Missing files uploaded to the same place. By the way - could you tell me what’s wrong about the .desktop file? I expected it to display “Eist returns” as the name.
If it comes to the game itself, I only tested it on my main (Antergos) and secondary (Windows 10) development machines, so please find it the 1st beta. It may turn out that I overlooked some dependencies.
In case you want to play a board or two, the game should be self-explanatory. If I’m wrong, you may find more info here, but it’s slightly out of date, as it was written for the Android version. The desktop version does not use extra lives (and lives at all), and does not support the game pad. Also the menu has been redesigned.
If anyone (please!) could take a look and say if it installs well:
- download here;
sudo pacman -U eist-returns-0.0.1-1-x86_64.pkg.tar
There’s still something wrong about the desktop entry: displays the package name instead of
Name=Eist returns, and I don’t yet know how to add it to the Games category. But it’s 5:40 am…
BTW: on my dual graphics it only works fluently if I add ‘optirun’ to the activator, like
optirun java -jar /usr/share/java/eist-returns/eist-returns.jar.
A month ago I knew nothing about JavaFX, so I believe any question may be answered by just searching the web, but…
I think perhaps @psscnp142 might know
…it would be great if someone could help us take the first step.
Guys, this will be a true newbie question, sorry. I’ve been reading wiki for hours, and still have no idea where to start from.
Background: I’m not a pro, but just an after-hours coder, and so far I have some experience with Android / Android Wear apps only. However, after almost 3 years of coding for the Play Store, I find it a little bit boring and disappointing, so decided to learn something new. I took the code of a game I had written for Android (this was a clone of what I had written in 1992 for 8-bit computers), and re-wrote it in JavaFX.
Problem: I have no idea on how to distribute the working .jar file on Linux at all, and on Arch specifically. If it comes to Windows executable, I just used launch4j, and it builds the .exe to my taste in seconds. If I remember well, on Debian-based distribution it’s possible to download a .deb package (still I don’t know how to build it), and just click to install.
Question: Could anyone tell me which steps I should take to distribute the game on Arch-based distro? The .jar file has all resources bundled inside, and needs just the
java-runtime(probably only Oracle jre will do, but it seems to be included), and
I’ll appreciate any help.
@piotr may try building a relay computer to run your game on!
This will be the next step. So far I coded the Android version a year ago, and now I’m playing with the JavaFX clone. Almost ready, and the task for this weekend is to learn how to package it for Arch.
before any command inside terminal will give you english output to post
Good to know, thanks!
I did not go into the subject any longer, since my problem had been resolved. Will use the LANG param in future questions.
Grüße für ganz Berlin!
If you ever have a problem in the future, just let me know! (or ask @joekamprad, he’s a lot better at this sort of thing than I am )
Be sure I will. After a week of use it seems Antergos is the only distribution my hardware goes well with, so I’ll stick to it.