Download and Installation

Revision as of 15:59, 21 December 2016 by Smith (talk | contribs) (Windows (XP/Vista/7/8))

Download Instructions | License Information



This section contains instructions for downloading and installing geWorkbench.


Contents

IMPORTANT Note for Windows (and Linux)

At the time of the original release, the Windows geWorkbench_2.6.0 installers were compatible with Java 8 being installed on the machine. This was true up through Java 8 update 51. However with the release of later version of Java 8, including so far up to 111, the Windows installers will no longer work without special handling. This does not affect the generic version of geWorkbench, which can be used on any platform.

Affected versions

  • geWorkbench_v2.6.0_Windows_JRE7_x64.exe
  • geWorkbench_v2.6.0_Windows_JRE7_x86.exe
  • geWorkbench_v2.6.0_Windows_noJRE.exe

The problem

When a version of Java 8 above update 51 is installed on the machine and one of the above installers is run, the installation will fail with a "Windows error 2 occurred while loading the Java VM".

Workaround

  1. Uninstall any copies of Java 8 JDK or JRE above update 51 on the machine, perform the geWorkbench installation, and then reinstall Java 8 if desired.
    1. geWorkbench_v2.6.0_Windows_JRE7_x64.exe and geWorkbench_v2.6.0_Windows_JRE7_x86.exe do not need any version of Java installed to complete their own installation.
    2. geWorkbench_v2.6.0_Windows_noJRE.exe installation requires that a compatible version of Java be installed. It is best to install a version of Java 7 on the machine. geWorkbench 2.6.0.* has only been tested with Java 7.
  2. Alternatively, just use "geWorkbench_v2.6.0_Generic.zip" which does not rely on an installer and can be run on any machine. See installation details below.

Downloading older versions of Java

Previous Java versions can be downloaded from the Java archive site. Signing up for an Oracle web account is required.

IMPORTANT Note for Mac OS X

(Gatekeeper function, Mac OS X 10.7.3 and higher)

The following instructions appear in more detailed form, with figures, in GeWorkbench_2.6.0_Installation_MacOSX_README_FIRST.pdf.

The Mac OS X version of geWorkbench is started using command files found in the installation directory. There are individual command files for starting with a Java memory limit of 1, 2, 4, 8 or 16 GB. Requesting larger amounts of memory may be needed when you are analyzing very large datasets. These command files have the form, e.g. for requesting Java memory of 4 GB, of "launch_geworkbench_macosx_4G.command" for Mac OS X. You can make short-cuts from these files and copy them to a convenient location such as your Desktop folder. Double-clicking on the original file or its short-cut will start geWorkbench with the requested maximum Java memory limit. You should make sure your computer has sufficient physical RAM memory, e.g. on a machine with 8 GB of physical memory you might limit your request to 4 GB of memory for Java

The first time you attempt to start geWorkbench from one of the command or alias files, right-click on the file and select "Open". You will be prompted as to whether you want to open this file from an unidentified developer; answer yes. After this first time, on subsequent invocations of that particular command file you can start geWorkbench just by double-clicking on the command file or its alias.


Detailed instructions are also available below.

Download geWorkbench

geWorkbench 2.6.0.3 (released December 20, 2015)

Installation note - If you have a previous version of geWorkbench 2.6.0 installed, please uninstall it before installing this new version.


geWorkbench_v2.6.0.3.md5.txt - MD5 digest of each download file

geWorkbench_v2.6.0.3 Release Notes

geWorkbench_v2.6.0.3_ChangeLog.txt


The files for download below have all been updated to version 2.6.0.3.

Windows

Note - on Windows 8.1, Windows SmartScreen may warn you about running the downloaded program. Click "More Info" and then "Run".

geWorkbench_v2.6.0_Windows_JRE7_x64.exe (290,041 KB)

  • Includes 64-bit JRE7, default 2GB max Java heap memory. Recommended version.

geWorkbench_v2.6.0_Windows_JRE7_x86.exe (288,452 KB)

  • Includes 32-bit JRE7, default 950 MB max Java heap memory. For older 32-bit Windows systems (XP) and those with limited physical RAM.

geWorkbench_v2.6.0_Windows_noJRE.exe (248,306 KB)

Mac OS X

GeWorkbench_2.6.0_Installation_MacOSX_README_FIRST.pdf

geWorkbench_v2.6.0_MacOSX_JRE7_x64.zip (287,622 KB)

  • Includes 64-bit JRE7, max Java heap memory selectable by command file.

Linux

geWorkbench_v2.6.0_Linux_JRE7_x64.bin (326,484 KB)

  • Includes 64-bit JRE7, default 2GB max Java heap memory. Recommended version.

geWorkbench_v2.6.0_Linux_noJRE.bin (280,596 KB)

Generic - any platform

geWorkbench_v2.6.0_Generic.zip (240,045 KB)

geWorkbench 2.6.0 - System Requirements

Java

  • geWorkbench 2.6.0 has been developed and tested using Java 7. Versions of geWorkbench which include a built in Java 7 Runtime Environment (JRE) are provided. Using a version of geWorkbench that includes the JRE7 allows you to be sure that you are running geWorkbench in its intended environment.
  • The latest versions of Java 7 installed separately on your machine will ask you to update to Java 8. For this reason, again, it is better to use a version of geWorkbench that includes its own copy of the Java 7 JRE.
  • geWorkbench has not been extensively tested using Java 8. However, at this time there are no known incompatibilities.
  • For Windows and Linux, geWorkbench is distributed in two installer forms, one with and one without the JRE7 included. To install a version of geWorkbench that does not include the JRE, Java must be installed separately on the machine.
  • On Mac OS X, the Java 7 JRE is included in the installation file.
  • The "Generic" distribution of geWorkbench does not include the JRE7. Java must be installed separately. The generic distribution can be used on any machine, including Windows, Mac, Linux and others.
  • geWorkbench can run on both 32-bit and 64-bit versions of Java on appropriate OS platforms.
  • See the Java System Requirements and Java on 64-bit Windows for further details.

Special Java Requirements for Specific Components

  • GenomeSpace - The GenomeSpace (genomespace.org) website allows geWorkbench to be launched using a Java Web-Start application. This in turn requires a Java JRE be installed separately on your machine. The latest version of the Java 8 JRE may be used and is recommended. Either 32-bit or 64-bit versions may be used.

Note - Using GenomeSpace in geWorkbench does not require the use of the web start applet. It is just a convenience to start geWorkbench directly from the GenomeSpace portal.


  • MarkUs - The MarkUs component molecular structure display in your web browser requires that a Java JRE be installed separately on your machine. The latest version of the Java 8 JRE may be used and is recommended. You must install the version matching your browser, e.g. 32-bit Java (i586) for 32-bit web browsers such as Firefox and Chrome on Windows. This is true even if you have a 64-bit version already installed for other reasons.


There are specific steps to configure Java for these two applets. See Java Runtime Special Exceptions below.

Obtaining Java

Display Driver

  • This requirement pertains only to using the PCA component 3D graph viewer.
  • When using a 64-bit JVM, the Java 3D library requires that OpenGL version 1.2 or higher be supported by your display driver.

Memory

At least 4 GB is recommended. The 64-bit JRE7 version of geWorkbench 2.6.0 by default will request up to 2 GB of memory for the Java VM.

Operating System

  • Windows XP/Vista/Windows 7/8 (32 or 64-bit):
    • 32-bit versions of Windows can only run the 32-bit JRE versions of geWorkbench.
    • 64-bit versions of Windows can run either 32-bit or 64-bit JRE versions.
  • Mac OS X: Version 10.7.3 or higher is required for compatibility with Java 7 (Intel platform only) (See special note above).
  • Linux: no special requirements.

geWorkbench, unless otherwise noted for particular components, can be run on both 32 and 64-bit operating systems and JREs.

Graphics Driver

At least one component, the PCA viewer, uses a Java 3D library. When using a 64-bit JVM, the Java 3D library requires OpenGL version 1.2 or higher to be supported by the graphics display adapter in your computer.


R server

Several components (SAM, DeMAND, and VIPER) can use a local installation of R on your desktop computer.

This has been tested with R versions 3.1.2, 3.1.1, 3.0.3, 3.0.2 and 2.15.0.

There are special considerations for installing a local copy of R on Windows computers. Please see the section on this further below.

IMPORTANT NOTICE ABOUT THE LICENSE

Use of geWorkbench is governed by the rules specified in the software license. Please make sure to read the license and understand your obligations before proceeding to download the application.


geWorkbench Installation Instructions

All three platform-specific versions of geWorkbench (Windows, Linux, and Macintosh) provide an installation wizard (generated using InstallAnywhere).

  • Using an installer version of geWorkbench that inludes the JRE7 allows you to be sure that you are running geWorkbench with the correct version of the JRE.

A generic version of geWorkbench, which does not use any installer, is also available, and should run on any machine which supports Java 7.

Further information about the InstallAnywhere requirements are found at the Flexera website.


Windows (XP/Vista/7/8/10)

Installation

New with release 2.6.0, geWorkbench will now by default install to "C:\Program Files" system directory, e.g. to C:\Program Files\geWorkbench_2.6.0.

Download one of the Windows installers and double-click the installer file to begin installation.

Running geWorkbench on Windows

You can launch geWorkbench using the default Java max heap memory size just by using the shortcut created by the installer. This is 2 GB for the 64-bit JVM and 950 MB for the 32-bit JVM.

If you wish to start the 64-bit version of geWorkbench with a different (larger) memory request, you can use the launcher .bat files found in the geWorkbench installation directory, typically "C:\Program Files\geWorkbench_2.6.0". These files are name such as "launch_geworkbench_macosx_4G.command", and are available for starting with geWorkbench with 1, 2, 4, 8 or 16 GB of Java heap memory.

To start geWorkbench with one of these batch files, you can either just double-click on it, or you can first make a shortcut to it (right-click, "Create Shortcut"). You can then move the shortcut e.g. to your Desktop for easy access. Double-clicking on the shortcut will then start geWorkbench with the requested amount of memory.

Mac OS X

Installation

  • Requires Mac OS X 10.7.3+. Recent testing has been on 10.10 only.
  • As Java 7 is not available for the PowerPC platform, regardless of OS X version, geworkbench will not run on the PowerPC platform under any version of OS X.

The MacOSX version of geWorkbench 2.6.0 is distributed as a simple zip file and includes the Java 7 update 71 JRE. No Mac installer is available for this release, instead, please follow the below steps.

Please carefully read and follow these instructions:

1. Double-click on the downloaded file "geWorkbench_v2.6.0_MacOSX_JRE7.zip" to expand it (or allow the autoexpander to expand it on download).

2. Drag the extracted "geWorkbench_2.6.0" folder to your system's Applications folder, or another convenient folder.


Running geWorkbench on Mac OS X

1. The geWorkbench_2.6.0 folder contains launcher command files (e.g. "launch_geworkbench_macosx_2G.command") which can be used to start geWorkbench with varying amounts of Java heap memory (2 GB in this example). Launcher command files are available to start geWorkbench with 1, 2, 4, 8, or 16 GB of maximum Java heap memory. Choice of the Java heap memory size is discussed elsewhere in this document. 2 GB is the recommended default value for geWorkbench 2.6.0 on 64-bit systems such as Mac OS X.

Right-click on the desired command file and select "Make Alias".

2. Drag the new alias file e.g. to your Desktop for easy access.

3. IMPORTANT (Gatekeeper function, Mac OS X 10.7.3 and higher):

The first time you attempt to start geWorkbench from one of the command files or an alias file, right-click on the file and select "Open". You will be prompted as to whether you want to open this file from an unidentified developer; answer yes.

After this first invocation, you can then start geWorkbench just by double-clicking on the alias or command file.

Linux

  • If you wish to install the no-JRE version of geWorkbench, you must make sure that an appropriate Java 7 JRE is installed on your system before installing geWorkbench.
  • You may need to configure the JRE. See section below, "Java Environment Configuration".

Installation

The Linux version of geWorkbench relies on X-Windows being installed and running. If you are running Linux on a server and e.g. you wish to view the application on a Windows desktop, you will also need to run an X-windows server on your desktop machine. See X-Windows configuration instructions below.

After downloading, cd (if needed) to the directory to which you downloaded the installer.

To begin the installation, type the command for the particular version, e.g. for the installer with JRE:

"sh geWorkbench_v2.6.0_Linux_JRE7_x64.bin".

This will extract geWorkbench into a new directory called geWorkbench_2.6.0.

If you requested that a desktop link be created, it will be called geWorkbench_2.6.0 or rungeWorkbench_2.6.0 (if you create the shortcut in the same directory as the in which you extracted geWorkbench).


Running geWorkbench (Linux)

To run geWorkbench, and assuming you are using the Linux bash shell, and that you created a shortcut link during installation, issue one of the following commands from your home directory, depending on how the alias file was named:

   sh geWorkbench_2.6.0
   or
   sh rungeWorkbench_2.6.0.
         

Alternatively, in the directory in which geWorkbench was installed, you can start geWorkbench with the command:

   sh geWorkbench

Generic

A non-installer-based version of geWorkbench is supplied in a Zip file which should work on any platform.

File: geWorkbench_v2.6.0_Generic.zip

Installation

Unzip the file. It will create a directory geWorkbench_2.6.0.


Running geWorkbench (generic)

You must have the Java 7+ JRE installed and the JRE must be in the path for geWorkbench (see Java Environment Configuration below).

Windows

Double-click on the file "launch_geWorkbench.bat" to launch geWorkbench with its default Java heap memory setting, or double-click on one of the batch (.bat) files for specific sizes of Java heap memory. The files can also be run from the command window.

Mac OS X

Double-click on one of the command (.command) files for specific sizes of Java heap memory. The files can also be run from the command window.

Linux/Unix

  Execute the script "launch_geworkbench.sh".
     

Any: Alternatively, if you have Apache Ant installed, you can type "ant run" in the geWorkbench directory.

R Installation for geWorkbench

Some geWorkbench components can make use of a locally installed version of R.

R installation on Windows

  • R installation directory - There are specific considerations for installing R on Windows Vista/7/8.

We have demonstrated two methods based on the links shown below.

Install R in user directory

You can install R directly into your own user directory. Packages will be placed directly into the library within the installation. You just need to set the R-script location in the geWorkbench Preferences tab (Tools->Preferences-R Location), e.g.

C:\Users\user_name\R-3.1.2\bin\Rscript.exe 

where for user_name please substitute your own Windows login name.

Install R in system directory

You can allow Windows to install R into the default system directory, e.g. C:\Program Files\R\R-3.1.2\.

Set the Rscript location in the geWorkbench Preferences tab (Tools->Preferences-R Location), e.g.

C:\Program Files\R\R-3.1.2\bin\Rscript.exe

However, in this case, geWorkbench will not be able to install needed R packages into the default location because it cannot write to the system directory. (The R Console version of R, in this case, would suggest creating a personal library in a user directory such as (C:\Users\username\Documents\R\win-library\3.1, but this is not automatically implemented in geWorkbench).

There are two ways to circumvent this:

1. Use the geWorkbench Tools-Preferences->R Package directory setting. Enter a path to an alternate location for R packages. You must create any needed directories yourself. This has the advantage that you can have a separate location for use just by geWorkbench.

2. Alternatively, set the Windows environment variable R_LIBS_USER to an appropriate user directory, e.g C:\Users\user_name\R\win-library\3.1 for the current release of R, where for user_name please substitute your own Windows login name. (The proper number to use is x.y, for R version x.y.z). Or you could use the same path as suggested above, "C:\Users\username\Documents\R\win-library\3.1".

  • You can create the environment variable R_LIBS_USER by e.g.
    • right-clicking on "Computer" in Windows Explorer,
    • then clicking "Properties", Advanced system settings",
    • then under "User variables" for "your_user_name", click "New...".
    • Enter the new variable name R_LIBS_USER and the location C:\Users\user_name\R\win-library\3.1.
  • You must create the corresponding directory structure yourself before running geWorkbench, e.g.
    • in your home directory C:\Users\user_name, create the new folder R,
    • then within it create win-library,
    • then within win-library create the appropriate directory e.g. 3.1 for version 3.1.* of R.

Links to information on installing R on Windows

  • R packages directory - You can set the R packages directory to one in your own user space in order to gain write permission. Please see the R FAQ on library directory.

R installation on Mac OS X

R can be installed to the default system location.

  • If you are running as an administrator, R will be installed to a directory such as /Library/Frameworks/R.framework/Versions/3.1/Resources/bin/Rscript.
  • In addition, R package files will be installed to a directory such as /Library/Frameworks/R.framework/Versions/3.1/Resources/Library.


Java Environment Configuration

To run a version of geWorkbench that does not include the Java 7 Runtime Environment (JRE7), the JRE7 must be installed and, depending on the platform configured separately.

Two environment variables may need to be properly configured. These are the JAVA_HOME and the PATH variables. They should be configured to point to your own installation of the JRE7.

Linux/Generic

Here is an example of setting the two environment variables for a JRE installed in the directory /opt:

PATH=/opt/jre1.7.0_71/bin:$PATH

JAVA_HOME=/opt/jre1.7.0_71 (for use with Ant)

Macintosh OS X

The Mac OS X version of geWorkbench includes the Java 7 JRE.

Switching between different installed JREs on Windows

The no-JRE installer versions of geWorkbench on Windows will use a system-specified version of Java, typically the highest version installed. They will ignore the JAVA_HOME environment variable.

If you have multiple versions of Java installed, you can set JAVA_HOME to the desired version, and if you start geWorkbench simply by double-clicking on launch_geworkbench.bat, it will use the version of Java specified there.

Java Runtime Special Exceptions

The GenomeSpace webstart (jnlp) launcher application and the MarkUs molecular structure visualizer are unsigned Java applets. To use either, special steps must be taken, as described below.

Note - Using GenomeSpace in geWorkbench does not require the use of the web start applet. It is just a convenience to start geWorkbench directly from the GenomeSpace portal.

In the Java control panel (found in Control Panel in Windows or in Settings on the Mac), in the Security tab, add the following to the Exception Site List:

The first is for GenomeSpace, and the second and third for MarkUs.

In addition, you may be prompted to allow popups from these sites when you attempt to run one of these, and you may also need to grant specific permission to run the applet.

On the Macintosh, the first time you try to run the GenomeSpace launcher applet, you will be prevented by Gatekeeper from launching it.

  • If using Firefox, go to Downloads and right-click on the downloaded jnlp file. Choose "Open".
  • If using Chrome, you may see an option pulldown to Open the downloaded file. This should allow it to run.

Once this has been done once, you will not be asked again.

Typical steps in running X-windows

Here are some typical steps to configure a remote Linux host and a local desktop X-server. Under Windows, a local X-server can be provided for example by the Cygwin package.

On the remote Linux host (assuming you are using the bash shell), issue the command

  • "export DISPLAY=(your IP):0"

where (your IP) should be substituted with the IP address of your local desktop machine.

On your local desktop machine, you may need to

  1. start the X-windows server with a command such as "startx". You may need to cd to the X11 bin directory to find this command.
  2. allow remote connections with a command such as "xhost +".

Quick Start

A Quick Start guide to geWorkbench is being developed.

Community Support Forums

geWorkbench community forums are operated by the caBIG Molecular Analysis Tools Knowledge Center. There are separate user and developer forums. Anyone can browse through existing postings, but to start a new topic one must first register.

The forums can be viewed at https://cabig-kc.nci.nih.gov/Molecular/forums/


Tutorial data

Tutorial data is further described on the Tutorial_Data page.

tutorial_data.zip (3.586 MB) - data files in several different formats useful for the tutorials or just trying out geWorkbench.

Bcell-100.zip (5.256 MB) - A large (100 array) microarray dataset in the geWorkbench matrix format. Data is from the lab of Riccardo Dalla-Favera, Columbia University, and is provided only for use in learning and testing geWorkbench. It was obtained from experiments using Affymetrix HG-U95Av2 chips.

Download the geWorkbench Source Code

geWorkbench 2.5.0 and later on Github

Following release 2.5.0 of geWorkbench, the source code was migrated to a Github repository. geWorkbench 2.5.0 and all following releases can be obtained from there.

On Github, geWorkbench is now divided into three parts: the core, the components, and the supplemnetal files. Each project can be downloaded from the web interface by entering the particular project and pushing the button "Download ZIP".

The main project page on Github is https://github.com/geworkbench-group.

To create the fully functional geWorkbench source tree,

  1. First download and extract geworkbench-core.
  2. Then download and extract geWorkbench-components.
  3. From within geworkbench-components, move the extracted "components" directory into the core.
  4. Finally, download the two files from the geworkbench_supplemental_files project.
    1. Cytoscape - copy the file cytoscape.jar into the directory components/cytoscape/lib.
    2. VIPER - copy the file viper.tar.gz into the directory components/viper/viperScripts. You do not need to unzip it.

geWorkbench 2.4.1 and earlier on SVN

Public access to the NCI Subversion repository is no longer available.

Compiling the geWorkbench Source Code

  • you must have the Java JDK 7 installed on your machine - see http://java.oracle.com, under the "Java SE" link.
  • you must make sure that the value of the environment variable JAVA_HOME is the directory where the JDK is installed, e.g.
C:\Program Files\Java\jdk1.7.0_71

If you have Ant installed on your machine, you can just type "ant run" in the geWorkbench root directory and the program will be built and run. Ant can be downloaded from http://ant.apache.org/. Note that installing Ant involves manually adding the Ant bin directory to the PATH variable, setting the ANT_HOME directory.

'Special Note for Mac Users - Ant has been removed from release 10.9 of OS X. However, you can reinstall it, either from the Apache distribution or using "brew" and "xcode".