Jump to navigation Jump to search
Jmol on Windows
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:
- Locate the application file, Jmol.jar (you decided where to put it when you uncompressed the downloaded Jmol distribution file, jmol-10.xx.xx-binary.tar.gz or jmol-10.xx.xx-binary.zip).
- Locate the file javaw.exe in the Java installation folder (usually it will be somewhere like C:\Program files\Java\bin\).
- Open windows explorer / file manager, open menu "Tools → 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.
- 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"
"C:\Program files\Java\bin\javaw.exe" -jar "C:\Program files\Jmol\Jmol.jar" "%1"
- --- contributed by Angel Herraez