Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The program is zipped and these are the instruccions in README file:

2) cd to the World Wind release folder.
3) chmod +x run-demo.bash
4) ./run-demo.bash gov.nasa.worldwindx.examples.ApplicationTemplate

I type step 4 and I get this terminal error

Running gov.nasa.worldwindx.examples.ApplicationTemplate
./run-demo.bash: línea [line] 16: java: orden no encontrada [command not found]

The program use .jnlp files, opened with Oracle Java Web Start, included in Java Runtime Environment. Maybe I don't have it, how I can know it? Searching on my computer I only found two files: JavaWebStartAppletTemplate.jnlp and JavaWebStartTemplate.jnlp. I tried to open the .jnlp files on this page with both files (I know it sounds stupid) and of course I didn't get anything.

Thank you for read it and I hope you can give me a hand.

share|improve this question
What happens after step 2 isn't normal. You should get a new prompt that looks something like user@computer-name:/path/to/worldwind$ – André Stannek May 8 '13 at 13:48
thank you for answering my question @stonedsquirrel then what's that symbol: > ? I type "exit" and I don't obtain anything. – ntrpris May 8 '13 at 13:54
Sorry, that one I don't know. You could try Ctrl + C – André Stannek May 8 '13 at 13:56
Which command do you use exactly that leads you to this? – André Stannek May 8 '13 at 13:57
yeah @stonedsquirrel I use: cd "/..." (that it: World Wind folder, self-made creation, not computer automatic creation, if it matters) and with quotation marks inclusive, because of the spaces. – ntrpris May 8 '13 at 14:08
up vote 3 down vote accepted

It says you don't have java installed. type java should output something like java is /usr/bin/java. The package you want to install is openjdk-7-jre.

sudo apt-get install openjdk-7-jre

Then try step 4 again.

On a side-note, if you run LANG=C first (without any spaces), the following commands in that terminal will be untranslated (which typically means messages will be in english instead of your selected language).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.