Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
added button to runtime
  • Loading branch information
mjpost committed Nov 6, 2015
1 parent 33eedd8 commit 025c8f35038745fcafc51539c83c41a4d1cbe9ad
Showing 4 changed files with 26 additions and 20 deletions.
@@ -12,46 +12,46 @@ See the instructions below.
1. Set up some basic environment variables.
You need to define `$JAVA_HOME`

export JAVA_HOME=/path/to/java
export JAVA_HOME=/path/to/java

# JAVA_HOME is not very standardized. Here are some places to look:
# OS X: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home
# Linux: export JAVA_HOME=/usr/java/default
# JAVA_HOME is not very standardized. Here are some places to look:
# OS X: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home
# Linux: export JAVA_HOME=/usr/java/default

1. If you are installing the full version of Joshua, you also need to define `$HADOOP` to point to your Hadoop installation.
(Joshua looks for the Hadoop executuble in `$HADOOP/bin/hadoop`)

export HADOOP=/usr
export HADOOP=/usr

If you don't have a Hadoop installation, [Joshua's pipeline](pipeline.html) can install a standalone version for you.

1. To install just the runtime version of Joshua, type

wget -q http://cs.jhu.edu/~post/files/joshua-runtime-{{ site.data.joshua.release_version }}.tgz
wget -q http://cs.jhu.edu/~post/files/joshua-runtime-{{ site.data.joshua.release_version }}.tgz

Then build everything

tar xzf joshua-runtime-{{ site.data.joshua.release_version }}.tgz
cd joshua-runtime-{{ site.data.joshua.release_version }}
tar xzf joshua-runtime-{{ site.data.joshua.release_version }}.tgz
cd joshua-runtime-{{ site.data.joshua.release_version }}

# Add this to your init files
export JOSHUA=$(pwd)
# Add this to your init files
export JOSHUA=$(pwd)

# build everything
ant
# build everything
ant

1. To instead install the full version, type

wget -q http://cs.jhu.edu/~post/files/joshua-{{ site.data.joshua.release_version }}.tgz
wget -q http://cs.jhu.edu/~post/files/joshua-{{ site.data.joshua.release_version }}.tgz

tar xzf joshua-{{ site.data.joshua.release_version }}.tgz
cd joshua-{{ site.data.joshua.release_version }}
tar xzf joshua-{{ site.data.joshua.release_version }}.tgz
cd joshua-{{ site.data.joshua.release_version }}

# Add this to your init files
export JOSHUA=$(pwd)
# Add this to your init files
export JOSHUA=$(pwd)

# build everything
ant
# build everything
ant

### Building new models

@@ -48,6 +48,8 @@
<hr>
<center>
<a href="/releases/current/" target="_blank"><button class="button">Download Joshua {{ site.data.joshua.release_version }}</button></a>
<br />
<a href="/releases/runtime/" target="_blank"><button class="button">Download Joshua (runtime only) {{ site.data.joshua.release_version }}</button></a>
<p>Released {{ site.data.joshua.release_date }}</p>
</center>
<hr>
@@ -23,7 +23,7 @@ The default release version of Joshua includes hundreds of megabytes of dependen
for building models from your own language pairs. If you only wish to run language packs
(effectively using Joshua as a black-box translation engine), you can install a "light" version
of Joshua that includes only dependencies needed to run the translation piece. See the notes
on [the installation page](../6/install.html).
on [the installation page](../6.0/install.html).

## Available language packs

@@ -0,0 +1,4 @@
---
redirect_to:
- http://cs.jhu.edu/~post/files/joshua-runtime-{{ site.data.joshua.release_version }}.tgz
---

0 comments on commit 025c8f3

Please sign in to comment.