Skip to content

Commit 488239d

Browse files
committed
Updated run demo instructions in README.md
1 parent 7127b44 commit 488239d

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,22 @@ builds have the newest, bleeding-edge World Wind Java features. Intended for dev
4747
- [World Wind Demo App](https://worldwind.arc.nasa.gov/java/latest/demos/ApplicationTemplate.jnlp) shows World Wind's basic capabilities
4848
- [Java Demos](http://goworldwind.org/demos) has a complete list of example apps
4949

50-
###### From a Development Environment
50+
###### From a Windows Development Environment
5151

5252
- Download and extract the [Latest Release](https://github.com/NASAWorldWind/WorldWindJava/releases/latest)
53-
- Launch the system terminal / command prompt
53+
- Open the Command Prompt
5454
```bash
5555
cd [World Wind release]
56-
run-demo gov.nasa.worldwindx.examples.ApplicationTemplate
56+
run-demo.bat gov.nasa.worldwindx.examples.ApplicationTemplate
57+
```
58+
59+
###### From a Linux or macOS Development Environment
60+
61+
- Download and extract the [Latest Release](https://github.com/NASAWorldWind/WorldWindJava/releases/latest)
62+
- Open the Terminal app
63+
```bash
64+
cd [World Wind release]
65+
sh run-demo.bash gov.nasa.worldwindx.examples.ApplicationTemplate
5766
```
5867

5968
###### Troubleshooting

run-demo.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
#
1212

1313
echo Running $1
14-
java -Xmx1024m -Dsun.java2d.noddraw=true -classpath ./src:./classes:./worldwind.jar:./worldwindx.jar:./jogl-all.jar:./gluegen-rt.jar:./gdal.jar $*
14+
java -Xmx1024m -classpath ./worldwind.jar:./worldwindx.jar:./gdal.jar:./jogl-all.jar:./gluegen-rt.jar $*

run-demo.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ REM All Rights Reserved.
55
REM Run a WorldWind Demo
66

77
@echo Running %1
8-
java -Xmx1024m -Dsun.java2d.noddraw=true -classpath .\src;.\classes;.\worldwind.jar;.\worldwindx.jar;.\jogl-all.jar;.\gluegen-rt.jar;.\gdal.jar %*
8+
java -Xmx1024m -Dsun.java2d.noddraw=true -classpath .\worldwind.jar;.\worldwindx.jar;.\gdal.jar;.\jogl-all.jar;.\gluegen-rt.jar %*

0 commit comments

Comments
 (0)