JAL-3027 Avoid FlatLAF Desktop class is JalviewJS
[jalview.git] / utils / InstallAnywhere / README_IA
index e317dbc..82062f9 100755 (executable)
@@ -1,24 +1,38 @@
-Jalview Readme\r
---------------\r
-\r
-\r
-##################\r
-\r
-To run application:\r
-\r
-java -Djava.ext.dirs=JALVIEW_HOME/lib -cp JALVIEW_HOME/jalview.jar jalview.bin.Jalview\r
-\r
+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.
-\r
-##################\r
-\r
-\r
-\r
-\r
-If you use a proxy server add \r
-\r
--Dhttp.proxyServer=YOUR.SERVER -Dhttp.proxyPort=YOURPORT\r
-\r
-If the proxy server requires authentication, add\r
-\r
+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