[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
I keep intending to upload the source code. Its a netbeans project so I'm fine if you change things as long as what you do doesnt f*ck up netbeans GUI editor, so if you modify the java source of the pregenerated file all I have todo is open netbeans and save the file and netbeans will undo your changes by generating the code from scratch again.
btw the change to the uploader means if I had uploaded alpha 15 you'd all be complaining about malformedinput exceptions in the JUpdateChecker class.
btw the change to the uploader means if I had uploaded alpha 15 you'd all be complaining about malformedinput exceptions in the JUpdateChecker class.
http://www.colina.demon.co.uk/linux.htmlIf you don't have root authority, (and even if you do, you may prefer to do it this way), you should ensure that the LD_LIBRARY_PATH environment variable contains . (the current directory). To check, issue the command:
echo $LD_LIBRARY_PATH
If it does not, then place the following command in your .profile, .bashrc, or whatever, file:
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
An alternative is to set the library path when you invoke java, thus:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH java Chu &
from what i can tell, java looks in the library path environment variable for unitsync. Under windows it also looks in the current workign directory but not udner linux, and linux users ened to take actions accordingly. Environment variables are read onyl in java and no java side fix is possible.
I'll release a new alpha soon with more information and revert to the old laodlibrary function which will need a libunitsync.so rather than a unitsync.so
I'll release a new alpha soon with more information and revert to the old laodlibrary function which will need a libunitsync.so rather than a unitsync.so
Shouldn't there be some kind of a command line switch for this? I don't know about the libraries, but I think there is a switch -cp for class files. Maybe there's something similar for libraries...
I've tried
but no luck.
Maybe I'm just talking nonsense.
I've tried
Code: Select all
java -cp . -jar AFLobby.jar
Maybe I'm just talking nonsense.
K. This time there is a new message.
I tried moving libunitsync.so to the first spot specified under library path, but no luck.
Also, I get a message that I should update to alpha 17 when I launch alpha 17.
Code: Select all
Unsatisfied link error, make sure you have a JNI aware unitsync library in the same folder as AFLobby, path: /home/username/Desktop library path:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/client/:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386:/usrl/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/../lib/i386
Also, I get a message that I should update to alpha 17 when I launch alpha 17.
oooh, ignroe that me forgettign to update a version string again.
And is that when running via java -jar aflobby.jar or aflobby.sh? "/home/username/Desktop" should appear in the second string following library path: if the script worked as intended.
also:
And is that when running via java -jar aflobby.jar or aflobby.sh? "/home/username/Desktop" should appear in the second string following library path: if the script worked as intended.
also:
If it does not, then place the following command in your .profile, .bashrc, or whatever, file:
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH