|
|
|
|||
|
Step 6: Run the ProgramNow run the Java application (theHelloWorld class) with the Java
interpreter, as follows:
java HelloWorld You should see the following output: If you see an exception like the following, then you don't have your library path set up correctly.Hello World!
The library path
is a list of directories that the Java runtime system searches when
loading libraries. Set your library path
now, and make sure that the name of the directory where the
hello library lives is in it.
| |||
|