X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=README;h=817206698ca9393100e589e08fc7fe1e240b8645;hb=d5888333a51923fe86a35262e11be07c22e2798b;hp=76814d124c8ec5f44ef56921dcfc3e630519cb73;hpb=0f56a75191c95a02b5f5ee90d9a6a57f72b0433b;p=jalview.git diff --git a/README b/README index 76814d1..8172066 100755 --- a/README +++ b/README @@ -1,15 +1,16 @@ Jalview Readme -For Jims Branch! -------------- The source is available as a tar file and comes complete with the GNU General Public License. -To build the application you will need a J2SDK 1.5+. +To build the application you will need a J2SDK 1.7+. An Ant build file (build.xml) is provided, you will need to install Apache Ant first. Run ant to view usage which will display a list of useful build targets. +Jalview is primarily developed with eclipse, and a .project file is provided to simplify importing the source into your own eclipse workspace. A NetBeans nbbuild.xml file is also provided for developing Jalview with NetBeans - but this is not officially supported. + You may also be able to use Borland JBuilder to build Jalview. A JBuilder project file (JalviewX.jpx, JalviewApplet.jpx) for both application and applet is provided, but the library dependencies are almost certainly out of date. See the build.xml @@ -20,11 +21,19 @@ For more help, read the file doc/building.html ################## -To run application: +To run application... +[ NOTE: when using the -classpath option with the '*' wildcard, the argument must be quoted to avoid shell expansion of the wildcard, + ALSO, the wildcard MUST be as DIR/* and not DIR/*.jar etc or it will not be interpreted correctly ] + +on Windows use: + java -classpath "JALVIEW_HOME/lib/*;JALVIEW_HOME/jalview.jar" jalview.bin.Jalview +and on MacOS or Linux: + java -classpath "JALVIEW_HOME/lib/*:JALVIEW_HOME/jalview.jar" jalview.bin.Jalview + +Replace JALVIEW_HOME with the full path to Jalview Installation Directory. If building from source: -java -Djava.ext.dirs=JALVIEW_HOME/lib -cp JALVIEW_HOME/jalview.jar jalview.bin.Jalview + java -classpath "JALVIEW_BUILD/dist/*" jalview.bin.Jalview -Replace JALVIEW_HOME with the full path to Jalview Installation Directory. ##################