X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2FInstallAnywhere%2FREADME_IA;h=82062f9467ef6b5c249f8742742adfe327b85578;hb=f6e495e7dace3de7fd890cb9f817a99ec5fcbbcc;hp=e317dbc2643dc1f49b4f22712e23b403e360963c;hpb=9ab1001c61afa9c1ab83a6314c05f32bd4ae28d4;p=jalview.git diff --git a/utils/InstallAnywhere/README_IA b/utils/InstallAnywhere/README_IA index e317dbc..82062f9 100755 --- a/utils/InstallAnywhere/README_IA +++ b/utils/InstallAnywhere/README_IA @@ -1,24 +1,38 @@ -Jalview Readme --------------- - - -################## - -To run application: - -java -Djava.ext.dirs=JALVIEW_HOME/lib -cp JALVIEW_HOME/jalview.jar jalview.bin.Jalview - +Jalview Readme +-------------- + + +################## + +To run application: + +java -classpath "JALVIEW_HOME/lib/*" -jar JALVIEW_HOME/jalview.jar [-help ... ] + Replace JALVIEW_HOME with the full path to Jalview Installation Directory. - -################## - - - - -If you use a proxy server add - --Dhttp.proxyServer=YOUR.SERVER -Dhttp.proxyPort=YOURPORT - -If the proxy server requires authentication, add - +Use -help to see the available command line arguments. + +For best results use a Sun java run time environment (not the gcj gnu java, sorry!). + +If you want to use the java runtime bundled with Jalview, then launch jalview like this: + +in Windows: +JAVA_HOME=JALVIEW_HOME/jre JALVIEW_HOME/jre/bin/java -classpath "JALVIEW_HOME/lib/*;JALVIEW_HOME/jalview.jar" jalview.bin.Jalview + +in Linux: +JAVA_HOME=JALVIEW_HOME/jre JALVIEW_HOME/jre/bin/java -classpath "JALVIEW_HOME/lib/*:JALVIEW_HOME/jalview.jar" jalview.bin.Jalview + +in macOS: +JAVA_HOME=JALVIEW_HOME/jre/Contents/Home JALVIEW_HOME/jre/Contents/Home/bin/java -classpath "JALVIEW_HOME/lib/*:JALVIEW_HOME/jalview.jar" jalview.bin.Jalview + +Note: ensure the -classpath argument is quoted and only use a terminating wildcard (e.g. 'DIR/*') to refer to all jar files in a directory, don't use e.g. 'DIR/*.jar' + +################## + + +If you use a proxy server add + +-Dhttp.proxyServer=YOUR.SERVER -Dhttp.proxyPort=YOURPORT + +If the proxy server requires authentication, add + -Dhttp.proxyUser=USERNAME -Dhttp.proxyPassword=PASSWORD \ No newline at end of file