Instructions for installing and running Java1.1.8 source codes of Hahn echo nutation NMR applet for powder

Home and Applets > Download Java1.1.8 Applet Source Code > Hahn Echo for Powder

We present, for WINDOWS-based computers, simplified instructions to install and to run the source codes of the Hahn echo nutation NMR applet for a powder. We should read the detailed instructions given about the source codes of the one-pulse nutation NMR applet for a single crystal before starting.

Download JDK if you don't have it already.

Step 1: Install folders

IMAGE of the Java1.1.8 nmr-applet folder

(1) We create, if not yet, a folder called nmr-applet in our hard disk C.

(2) In the nmr-applet folder, we create another folder called HahnEkoPowder. The MANIFEST.MF and HahnEkoPowderJDK118.jar files that supports the applet will be saved in the HahnEkoPowder folder.

(3) In the HahnEkoPowder folder, we create the ppmrmn folder, whose name must not be changed, because ppmrmn is involved in the Java files as a package.

Step 2: Download *.java files

We download the following eight Java files into the ppmrmn folder created in Step 1 by clicking on their links.

Step 3: Compile *.java files

(1) We open a DOS window.

(2) We set path to include JDK10's bin, which is the directory of Java compiler (javac):

C:\Users\pm@pascal-man.com> path C:\java10\bin; %path%

(3) We change the directory to that of HahnEkoPowder:

C:\Users\pm@pascal-man.com> cd C:\nmr-applet\HahnEkoPowder

(4) We compile all the *.java files contained in the ppmrmn folder:

C:\nmr-applet\HahnEkoPowder>javac ppmrmn\*.java

(5) We create a MANIFEST.MF file in the HahnEkoPowder folder:

C:\nmr-applet\HahnEkoPowder>echo Main-Class: ppmrmn.HahnEkoPowderJDK118 > MANIFEST.MF

(6) We create an executable jar file, HahnEkoPowderJDK118.jar, in the HahnEkoPowder folder:

C:\nmr-applet\HahnEkoPowder>jar cvfe HahnEkoPowderJDK118.jar ppmrmn.HahnEkoPowderJDK118 ppmrmn

(7) We execute the jar file:

C:\nmr-applet\HahnEkoPowder>java -jar HahnEkoPowderJDK118.jar

A page of our web site describes the operation of this applet.

Solid-state NMR bibliography for:

Aluminum-27
Antimony-121/123
Arsenic-75
Barium-135/137
Beryllium-9
Bismuth-209
Boron-11
Bromine-79/81
Calcium-43
Cesium-133
Chlorine-35/37
Chromium-53
Cobalt-59
Copper-63/65
Deuterium-2
Gallium-69/71
Germanium-73
Gold-197
Hafnium-177/179
Indium-113/115
Iodine-127
Iridium-191/193
Krypton-83
Lanthanum-139
Lithium-7
Magnesium-25
Manganese-55
Mercury-201
Molybdenum-95/97
Neon-21
Nickel-61
Niobium-93
Nitrogen-14
Osmium-189
Oxygen-17
Palladium-105
Potassium-39/41
Rhenium-185/187
Rubidium-85/87
Ruthenium-99/101
Scandium-45
Sodium-23
Strontium-87
Sulfur-33
Tantalum-181
Titanium-47/49
Vanadium-51
Xenon-131
Zinc-67
Zirconium-91
[Contact me] - Last updated February 25, 2020
Copyright © 2002-2024 pascal-man.com. All rights reserved.