X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2FInstallAnywhere%2FREADME_IA;h=82062f9467ef6b5c249f8742742adfe327b85578;hb=d5e758fa924437e30dc65b80a46cafcf4691da2f;hp=e9e51767dd488a241914aa960978759a36cd39b5;hpb=741b7ebfeacb24d5cd487a94311cf03fa698b0b0;p=jalview.git diff --git a/utils/InstallAnywhere/README_IA b/utils/InstallAnywhere/README_IA index e9e5176..82062f9 100755 --- a/utils/InstallAnywhere/README_IA +++ b/utils/InstallAnywhere/README_IA @@ -6,18 +6,26 @@ Jalview Readme To run application: -java -Djava.ext.dirs=JALVIEW_HOME/lib -jar JALVIEW_HOME/jalview.jar [-help ... ] +java -classpath "JALVIEW_HOME/lib/*" -jar JALVIEW_HOME/jalview.jar [-help ... ] Replace JALVIEW_HOME with the full path to Jalview Installation Directory. 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 the java runtime bundled with Jalview, then launch jalview like this: +If you want to use the java runtime bundled with Jalview, then launch jalview like this: -JAVA_HOME=JALVIEW_HOME/jre JALVIEW_HOME/jre/bin/java -Djava.ext.dirs=JALVIEW_HOME/lib -jar JALVIEW_HOME/jalview.jar +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' -Please Note: the -jar jalview.jar option launches the jalview.bin.Jalview class in the jalview.jar ##################