![]() |
Creating a launcher (could be java launcher)
Hey guys, I'm in the process of installing this game "Wyvern"
I'm pretty much done except for this last part, I don't understand. Code:
* To run the Wyvern Client, create a launcher for your system that contains the following command. (Assumes you've installed it in the directory: /wyvern/client Anyone know what's going on? |
it means create a button to execute this command.
If you use KDE do a right clik in the desktop->new->file->link to application, and fill the proper fields I gnome KDE's "link to application" is called Application Laucher. |
Ok, I've found out where to put those commands.
There's four fields:: Name, description, comment, and command. Do I just put all three of those commands into the command field, or what? Sorry for the newbishness. |
Code:
java -Dwyvern.home="/wyvern/client/wyvern" \ Code:
java -Dwyvern.home="/wyvern/client/wyvern" -cp "wyvernclient.jar;jl020.jar;jogg-0.0.5.jar;jorbis-0.0.12.jar;mp3sp.1.5.jar;vorbisspi0.7.jar" wyvern.client.Client |
yes, this goes to the command files.
|
Ok, I can't figure out how to get it to work...I put this string into the command field
/root/j2re1.4.2_08/bin/java -Dwyvern.home="/wyvern/client/wyvern" -cp "wyvernclient.jar:jl020.jar:jogg-0.0.5.jar:jorbis-0.0.12.jar:mp3sp.1.5.jar:vorbisspi0.7.jar" /wyvern/client/wyvernclient and whenever I try to open it nothing happened, so I made it run in a consol. And I got this error. Exception in thread "main" java.lang.NoClassDefFoundError: /wyvern/client/wyvernclient Anyone have any ideas? |
I don't see any /wyvern/client/wyvernclient in the original command
|
I figured they might have wanted me to point to a certain file, I tried it a few different ways, with the same outcome.
|
The command is java (the java interprinter), u use it when u have to execute the class wyvern.client.Client and you specify that the value of the property "wyvern.home", is /wyvern/client/wyvern, and you specify with -cp a list of jar files wyvernclient.jar:jl020.jar:jogg-0.0.5.jar:jorbis-0.0.12.jar:mp3sp.1.5.jar:vorbisspi0.7.jar, to search for needed classes.
|
try running the command in the directory of the program for a start, and read the manual carfully
|
Ok...correct me if I'm wrong, but I can't make much of your last post...it seems to me, that youu just explained the things that I'm doing...and that doesn't help me with my problem.
You'll have to excuse me, I don't really know much about java... :-/ |
were is the program installed?
Can you find it? |
Wow... I did a ls of my wyvern dir and found a wyvernclient executable...ran that and I'm good.
Thanks for your help and sorry for all the hassel. |
All times are GMT -5. The time now is 06:40 AM. |