ww2dhowto

Differences between revisions 10 and 11
Revision 10 as of 2006-03-29 04:28:05
Size: 3840
Editor: S0106000d88b9f3db
Comment: proofread, formatting
Revision 11 as of 2006-03-29 04:28:39
Size: 3840
Editor: S0106000d88b9f3db
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
WW2d is an application like Google Earth. here are the instructions for installing it on Ubuntu 5.10 (Breezy Badger) on the x86 platform. WW2d is an application like Google Earth. Here are the instructions for installing it on Ubuntu 5.10 (Breezy Badger) on the x86 platform.

HowTo Install WW2d

WW2d is an application like Google Earth. Here are the instructions for installing it on Ubuntu 5.10 (Breezy Badger) on the x86 platform.

For this I will be installing everything to Desktop - you can choose where you would like to do this and change Desktop to the directory you want to use.

Installing Sun Java 1.5

Follow the Ubuntu [:https://wiki.ubuntu.com/RestrictedFormats:Java installation] instructions. Once you have Java installed you need to run this command in terminal:

sudo update-alternatives --config java

After you run that type your password than you will see a list of 3 or so, pick the one you just installed. After you do that run

java --version
  • To make sure you have right one being used. Now once that is done you need to go to the site listed above or if you are still there download the next file: JOGL-inst.jar. When the download is done you need to "cd" to where you saved it. Run this command "cd Desktop" now you should be in the directory where it is installed. Now you need to execute the .jar do this by typing

sudo java -jar JOGL-Inst-1.10.jar

It will than have a pop up asking what platform you are on - I used x86 because that is my platform.

The main file that you want to grab is on the same page. Click the link for WW2d itself it will be in zip format. After it is done downloading (you should still have terminal open and cd'd into where you have been downloading the files) Now you want to unzip the file type this in terminal:

unzip ww2d-0.99.87.zip

You will see a lot of things scrolling in the terminal this is normal those are the packages that it contains. Now you will want to test your installation. Type:

cd ww2d-0.99.87 
java -jar WW2D-0.99.87

Make sure they are capital letters just as shown here. Now it should start up fine.

Running WW2d

Follow These Instructions for easy access to running it

Now that you have the program working as you would like here is a few steps to make the program easier to run.

Take this script save it in your favorite text editor (i used anjuta for ease) and save it as ww2d you dont want to use a .sh or .anything. I will explain later. Here is the script:

#This is going to run ww2d
#I used Desktop because that is where mine is saved.
#Written by John Vivirito aka gnomefreak
#gnomefreak@gmail.com
cd Desktop
cd ww2d-0.99.87
java -jar WW2D.jar

You will want to use the path to your WW2D.jar file. If you saved the file to home instead of Desktop you would take Desktop out and put

cd /home/username

Instead of "cd Desktop". When you cd into Desktop the D has to be capitalized. Now that you saved the script into home folder (if thats where you saved it) you will want to issue these commands:

chmod +rx ww2d  

Test it by running:

./ww2d

If everything was done right you should see ww2d start up.

Close WW2d and type in the terminal:

cp /home/<username>/ww2d  /usr/local/bin

In the above please replace <username> with your username.

Now once that is done you can run it in terminal by typing the file name. In this case it's ww2d.

After you have done the above, you can add a launcher to Gnome's panel: 1. Right-click the Gnome panel (or whatever panel you use) and choose Add To Panel. 2. choose "Custom Launcher". 3. For the Name slot, put WW2d or something similar. 4. You can skip the rest if you like until you get to "Command" 5. In the Command space, put ww2d. 6. Choose an icon that you would like to use (if you want one). 7. Than click OK. Now you should see the icon on the panel. 8. Clicking the icon should now start WW2d.


CategoryCleanup CategoryDocumentation

ww2dhowto (last edited 2008-08-06 16:30:51 by localhost)