-   Linux - Newbie (
-   -   Creating a launcher (could be java launcher) (

The_Messiah 04-05-2005 11:49 PM

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.


*  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

      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" \

    * Run your newly-created launcher to run the client.

On Unix-based systems, the semicolons in the "-cp" parameter should be replaced with colons.

I'm not sure on what it means by "Create a launcher"

Anyone know what's going on?

perfect_circle 04-06-2005 12:05 AM

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.

The_Messiah 04-06-2005 12:15 AM

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.

perfect_circle 04-06-2005 12:37 AM


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" \

This is one command, not three. When you put a \ in the end of the line it means that the command will continiue in the next line. You do that to prevent of having very long lines. its exactly the same as writting in a console:


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

perfect_circle 04-06-2005 12:38 AM

yes, this goes to the command files.

The_Messiah 04-06-2005 01:17 AM

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?

perfect_circle 04-06-2005 01:27 AM

I don't see any /wyvern/client/wyvernclient in the original command

The_Messiah 04-06-2005 01:34 AM

I figured they might have wanted me to point to a certain file, I tried it a few different ways, with the same outcome.

perfect_circle 04-06-2005 01:54 AM

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.

perfect_circle 04-06-2005 02:06 AM

try running the command in the directory of the program for a start, and read the manual carfully

The_Messiah 04-06-2005 02:11 AM

Ok...correct me if I'm wrong, but I can't make much of your last 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... :-/

perfect_circle 04-06-2005 02:23 AM

were is the program installed?
Can you find it?

The_Messiah 04-06-2005 02:36 AM

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.