Difference between revisions of "Support/Windows"

From Jmol
Jump to navigation Jump to search
(Initialization from JmolWiki)
 
m (Templates)
Line 9: Line 9:
 
This is how to do it:
 
This is how to do it:
  
# Locate the application file, <tt>Jmol.jar</tt> (you decided where to put it when you uncompressed the downloaded Jmol distribution file, <tt>jmol-10.00.xx-binary.tar.gz</tt>).
+
# Locate the application file, {{File|Jmol.jar}} (you decided where to put it when you uncompressed the downloaded Jmol distribution file, {{File|jmol-10.00.xx-binary.tar.gz}}).
# Locate the file <tt>javaw.exe</tt> in the Java installation folder (usually it will be somewhere like <tt>C:\Program files\Java\bin\</tt>).
+
# Locate the file {{File|javaw.exe}} in the Java installation folder (usually it will be somewhere like {{Directory|C:\Program files\Java\bin\}}).
# Open windows explorer / file manager, open menu "Tools &rarr; Folder options", "File types" tab, and scroll to PDB (or any other extension that you want associated to Jmol, like MOL or XYZ). Select its entry.
+
# Open windows explorer / file manager, open menu "{{MenuItem|Tools}} &rarr; {{MenuItem|Folder options}}", "File types" tab, and scroll to PDB (or any other extension that you want associated to Jmol, like MOL or XYZ). Select its entry.
 
# Click on "Advanced options" button and then either "Edit" the default "open" action or create a "New" action.
 
# Click on "Advanced options" button and then either "Edit" the default "open" action or create a "New" action.
 
# In the textbox under "Action" you can type "open" or whatever you want it to be called in the pop-up menu; under "Application used" type (including the quotes and the final %1):<br />'''"''put here the path and filename of javaw.exe''" -jar "''put here the path and filename of Jmol.jar''" "%1"'''<br />For example:<br />"C:\Program files\Java\bin\javaw.exe" -jar "C:\Program files\Jmol\Jmol.jar" "%1"
 
# In the textbox under "Action" you can type "open" or whatever you want it to be called in the pop-up menu; under "Application used" type (including the quotes and the final %1):<br />'''"''put here the path and filename of javaw.exe''" -jar "''put here the path and filename of Jmol.jar''" "%1"'''<br />For example:<br />"C:\Program files\Java\bin\javaw.exe" -jar "C:\Program files\Jmol\Jmol.jar" "%1"

Revision as of 18:23, 17 May 2006

Jmol on Windows

Jmol runs without problems on Windows 9x/XP machines using Sun's java virtual machines, both as Applet as well as Application.

Associating molecular files (e.g. PDB) in hard disk with Jmol application

You can configure Windows Explorer (file manager) so that double-clicking on a pdb file (or right-clicking for options in the pop-up menu) will open it with Jmol application.

This is how to do it:

  1. Locate the application file, File icon.gifJmol.jar (you decided where to put it when you uncompressed the downloaded Jmol distribution file, File icon.gifjmol-10.00.xx-binary.tar.gz).
  2. Locate the file File icon.gifjavaw.exe in the Java installation folder (usually it will be somewhere like C:\Program files\Java\bin\).
  3. Open windows explorer / file manager, open menu "ToolsFolder options", "File types" tab, and scroll to PDB (or any other extension that you want associated to Jmol, like MOL or XYZ). Select its entry.
  4. Click on "Advanced options" button and then either "Edit" the default "open" action or create a "New" action.
  5. In the textbox under "Action" you can type "open" or whatever you want it to be called in the pop-up menu; under "Application used" type (including the quotes and the final %1):
    "put here the path and filename of javaw.exe" -jar "put here the path and filename of Jmol.jar" "%1"
    For example:
    "C:\Program files\Java\bin\javaw.exe" -jar "C:\Program files\Jmol\Jmol.jar" "%1"
--- contributed by Angel Herraez

Comments/Discussion